[issue12986] Using getrandbits() in uuid.uuid4() is faster and more readable
Christian Heimes
report at bugs.python.org
Sun Oct 7 00:59:00 CEST 2012
Christian Heimes added the comment:
If somebody is going to implement uuid based on the random module that somebody must take care of fork. Currently the PRGN in random isn't reseeded during fork(). This would lead to 100% collisions. The tempfile module contains a workaround for the issue.
I'm -1, see #15206.
----------
nosy: +christian.heimes
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12986>
_______________________________________
More information about the Python-bugs-list
mailing list