[issue27272] random.Random should not read 2500 bytes from urandom

STINNER Victor report at bugs.python.org
Wed Jun 8 18:16:57 EDT 2016


STINNER Victor added the comment:

Donald Stufft proposed the patch no-urandom-by-default.diff in the issue #26839 which replaces os.urandom() with int(time.time()*256) in random.Random constructor.

I dislike this change because it becomes more likely that two Python processes produce the same random number sequence:
https://bugs.python.org/issue26839#msg267819

----------
nosy: +dstufft

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


More information about the Python-bugs-list mailing list