This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, vstinner
Date 2016-06-08.21:58:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Reading more than 256 bytes from os.urandom() is different than reading 256 bytes or less. For example, see getrandom() and getentropy() manual pages for more details.

random.Random doesn't need a very high quality entropy. The glib library only reads 128 bits from /dev/urandom to initialize the Mersenne Twister RNG for example.
Date User Action Args
2016-06-08 21:58:16vstinnersetrecipients: + vstinner, christian.heimes
2016-06-08 21:58:16vstinnersetmessageid: <>
2016-06-08 21:58:16vstinnerlinkissue27272 messages
2016-06-08 21:58:16vstinnercreate