Larry Hastings added the comment: > Hi. I created the issue #27266 "Add block keyword-only optional parameter > to os.urandom()" which is compromise between all proposed solutions and > should fix *all* urandom issues ;-) > > * os.urandom() remains secure by default, as asked by our security experts > * Python startup (hash secret) and "import random" don't block anymore > > Happy?
Probably not. What is the default value of the "block" parameter? If called with block=False on FreeBSD, where /dev/urandom may block sometimes, what does the function do? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com