[issue27266] Always use getrandom() in os.random() on Linux and add block=False parameter to os.urandom()
STINNER Victor
report at bugs.python.org
Thu Jun 9 05:23:54 EDT 2016
STINNER Victor added the comment:
Christian Heimes:
> For os.urandom() let's define it as non-blocking and raise an exception
> when it would blocks.
There is a lot of discussion around random in the bug tracker, it's
really hard to follow :-( Please use specific issues for each idea.
Making os.urandom() non-blocking and always raise an exception is not
the goal of this issue. This idea explicitly makes os.urandom()
blocking on Linux. I suggest you to open a new issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27266>
_______________________________________
More information about the Python-bugs-list
mailing list