Author vstinner
Recipients Arfrever, Keith.Dart, Michael.Felt, aixtools@gmail.com, christian.heimes, eric.araujo, hynek, inada.naoki, kdart, knny-myer, martin.panter, nailor, nvetoshkin, orsenthil, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2017-09-28.13:29:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506605396.32.0.466225441844.issue11063@psf.upfronthosting.co.za>
In-reply-to
Content
I marked bpo-20519 as a duplicate of this issue, even if it's not exactly the same. The main purpose of this issue was to use uuid_generate_time() using a C extension:

+static PyObject *
+_uuid_generate_random(void)
+{
+    uuid_t out;
+    uuid_generate_random(out);
+    return PyBytes_FromStringAndSize((const char *) out, sizeof(out));
+}

+static PyObject *
+_uuid_generate_time(void)
+{
+    uuid_t out;
+    uuid_generate_time(out);
+    return PyBytes_FromStringAndSize((const char *) out, sizeof(out));
+}
History
Date User Action Args
2017-09-28 13:29:56vstinnersetrecipients: + vstinner, orsenthil, kdart, pitrou, christian.heimes, eric.araujo, Arfrever, r.david.murray, inada.naoki, nvetoshkin, knny-myer, nailor, Keith.Dart, hynek, martin.panter, serhiy.storchaka, Michael.Felt, aixtools@gmail.com
2017-09-28 13:29:56vstinnersetmessageid: <1506605396.32.0.466225441844.issue11063@psf.upfronthosting.co.za>
2017-09-28 13:29:56vstinnerlinkissue11063 messages
2017-09-28 13:29:56vstinnercreate