[Python-Dev] [Python-checkins] cpython (3.5): Fix os.urandom() using getrandom() on Linux

Victor Stinner victor.stinner at gmail.com
Tue Jun 14 11:40:33 EDT 2016

Le 14 juin 2016 5:28 PM, "Jelle Zijlstra" <jelle.zijlstra at gmail.com> a
écrit :
>The problem isn't that os.urandom() uses getrandom(), it's that it calls
it in a mode that may block.

Except if it changed very recently, os.urandom() doesn't block anymore
thanks to my previous change ;-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/7b40705a/attachment-0001.html>

More information about the Python-Dev mailing list