Author larry
Recipients Theodore Tso, dstufft, larry, ncoghlan, vstinner
Date 2016-06-08.23:59:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Wait a minute.  If I read the code correctly, currently os.urandom() is implemented strictly using getrandom() *on all platforms*.  And if block=false, it... returns an empty buffer?  Am I reading that right?

And what does it do on platforms that don't have a getrandom() call?  Does os.urandom() literally always raise an exception on OS X or FreeBSD?

This is so crazy.  Surely I'm misunderstanding the code.  What am I missing?
Date User Action Args
2016-06-08 23:59:23larrysetrecipients: + larry, ncoghlan, vstinner, dstufft, Theodore Tso
2016-06-08 23:59:22larrysetmessageid: <>
2016-06-08 23:59:22larrylinkissue27266 messages
2016-06-08 23:59:22larrycreate