[issue3581] failures in test_uuid

Stefan Krah report at bugs.python.org
Fri Apr 9 14:59:59 CEST 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

I do not understand the semantics of uuid.getnode(). Per the docs
it's supposed to return a hardware address. This would reasonably
make it a UUID version 1.

But then the random fallback should be a 47 bit number as per
http://www.ietf.org/rfc/rfc4122.txt section 4.5.

The docs for UuidCreateSequential don't say if the random fallback
is a random version 1 UUID.

----------

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


More information about the Python-bugs-list mailing list