summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-06-07 09:21:42 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-06-07 09:21:42 (GMT)
commitdddf4849ec1750ca02d03b9772eff7141ba626f3 (patch)
tree1add3bb9de96020956ebf0327c163df13af1bb25 /Misc/NEWS
parent6827fd867b9609c405cd25568aa91df1b0d011b4 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index da2dc3e..918f8c8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.