diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-06-07 09:21:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-06-07 09:21:42 (GMT) |
commit | dddf4849ec1750ca02d03b9772eff7141ba626f3 (patch) | |
tree | 1add3bb9de96020956ebf0327c163df13af1bb25 /Misc/NEWS | |
parent | 6827fd867b9609c405cd25568aa91df1b0d011b4 (diff) | |
download | cpython-dddf4849ec1750ca02d03b9772eff7141ba626f3.zip cpython-dddf4849ec1750ca02d03b9772eff7141ba626f3.tar.gz cpython-dddf4849ec1750ca02d03b9772eff7141ba626f3.tar.bz2 |
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 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -131,6 +131,10 @@ Core and Builtins Library ------- +- Issue #26839: On Linux, :func:`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. + - Issue #27164: In the zlib module, allow decompressing raw Deflate streams with a predefined zdict. Based on patch by Xiang Zhang. |