bpo-32493: Fix uuid.uuid1() on FreeBSD.#7098
Conversation
|
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. |
Sorry, something went wrong.
|
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 |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
|
I prefer to handle endianness in _uuid, so I chose to merge the alternative PR #7099. |
Sorry, something went wrong.
https://bugs.python.org/issue32493