Uh oh!
There was an error while loading. Please reload this page.
bpo-32493: Fix uuid.uuid1() on FreeBSD. - #7098
Conversation
vstinner
commented
May 24, 2018
On FreeBSD, there are uuid_enc_le() and uuid_enc_be() functions to encode a uuid_t type into an octet stream in little-endian and big-endian byte-order, respectively. I don't think if it would help, these functions don't seem to be portable. |
serhiy-storchaka
commented
May 24, 2018
Good point Victor! These functions are supported on all three open BSD systems, and it would be more convenient to just use them. But it is not part of the DCE RPC API and is not supported on AIX. Actually I don't know whether on AIX |
ned-deily
commented
May 24, 2018
Can we just correctly fix the *BSDs while leaving the existing AIX code as is for 3.7.0? We consider FreeBSD to be a atable platform whereas AIX is more in the "best effort" category. |
serhiy-storchaka
commented
May 24, 2018
See an alternate solution in #7099. |
vstinner
commented
May 24, 2018
I prefer to handle endianness in _uuid, so I chose to merge the alternative PR #7099. |
https://bugs.python.org/issue32493