]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
os.urandom() doesn't block on Linux anymore
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 7 Jun 2016 09:21:42 +0000 (11:21 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 7 Jun 2016 09:21:42 +0000 (11:21 +0200)
commitdddf4849ec1750ca02d03b9772eff7141ba626f3
tree1add3bb9de96020956ebf0327c163df13af1bb25
parent6827fd867b9609c405cd25568aa91df1b0d011b4
os.urandom() doesn't block on Linux anymore

Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
Doc/library/os.rst
Misc/ACKS
Misc/NEWS
Python/random.c
configure
configure.ac
pyconfig.h.in