[issue7650] test_uuid is invalid

Austin English report at bugs.python.org
Thu Jan 7 18:36:02 CET 2010


Austin English <austinenglish+python at gmail.com> added the comment:

More info from the wine bug:
Whoops, I didn't notice that Python uses UuidCreateSequential.  From MSDN:

  For security reasons, UuidCreate was modified so that it no longer uses a machine's MAC address to generate UUIDs. UuidCreateSequential was
introduced to allow creation of UUIDs using the MAC address of a machine's Ethernet card.

I'm reopening this, as Wine's implementation of UuidCreateSequential calls UuidCreate, whereas it should use the MAC address-based method.  Setting component to rpcrt4, too.

My comment about the multicast bit occasionally being set (when the machine on which UuidCreateSequential is called has no MAC address) still stands, so there's still a Python bug.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7650>
_______________________________________


More information about the Python-bugs-list mailing list