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

Christian Heimes report at bugs.python.org
Thu Jun 9 03:32:45 EDT 2016


Christian Heimes added the comment:

Tim,

you are saying that some methods (e.g. randint) of the MT don't fail security properties as bad as other. I'm sorry, that argument is not good enough for me. The seed() method of the MT is causing real-world problems, e.g. #25420 where 'import random' in a VM blocks forever because the Kernel's RNG state hasn't been seeded yet.

I'm in favor of changing the default seed for the default random instance.

----------

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


More information about the Python-bugs-list mailing list