[issue5415] uuid module generates incorrect values for uuid3 (and possibly uuid5)

DSM report at bugs.python.org
Sat Mar 7 23:39:41 CET 2009


DSM <dsm001 at users.sourceforge.net> added the comment:

Hmm.  I quickly wrote my own implementation and I agree with the uuid
module and disagree with the RFC value.  

Further searching suggests that this may be an error in the RFC.  See
http://www.rfc-editor.org/errata_search.php?rfc=4122 ; see also 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5064537 for a
specific explanation of what probably caused the bug in the reference code.

I can reproduce the RFC value by (IMO incorrectly) flipping the
namespace endianness.

(It may be worth noting, though, that one of the links above points to
the python implementation for support-- so there could be a vicious
circle here. :^)

----------
nosy: +dsm001

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


More information about the Python-bugs-list mailing list