diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-06-07 11:21:42 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-06-07 11:21:42 +0200 |
commit | dddf4849ec1750ca02d03b9772eff7141ba626f3 (patch) | |
tree | 1add3bb9de96020956ebf0327c163df13af1bb25 /Python/pythonrun.c | |
parent | 6827fd867b9609c405cd25568aa91df1b0d011b4 (diff) | |
download | cpython-git-dddf4849ec1750ca02d03b9772eff7141ba626f3.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions