bpo-32493: Fix uuid.uuid1() on FreeBSD.#7098
bpo-32493: Fix uuid.uuid1() on FreeBSD.#7098serhiy-storchaka wants to merge 1 commit intopython:masterfrom
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. |
|
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 |
|
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. |
|
See an alternate solution in #7099. |
|
I prefer to handle endianness in _uuid, so I chose to merge the alternative PR #7099. |
https://bugs.python.org/issue32493