]> granicus.if.org Git - python/commit
os.urandom() now blocks on Linux
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 6 Sep 2016 23:33:52 +0000 (16:33 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 6 Sep 2016 23:33:52 +0000 (16:33 -0700)
commite66987e626cfce8292c39d5b1394665e8aa6840b
treeec94354a9ccb2f09e77e3a2381b52142544d0ee2
parente256accd46af74d2695117e62361fe7ae9dfdfe3
os.urandom() now blocks on Linux

Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer
until the system urandom entropy pool is initialized to increase the security.

This change is part of the PEP 524.
Doc/library/os.rst
Doc/whatsnew/3.6.rst
Include/pylifecycle.h
Lib/random.py
Misc/NEWS
Modules/_randommodule.c
Modules/posixmodule.c
Python/random.c