SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 9 Python

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.
V
Victor Stinner committed
dddf4849ec1750ca02d03b9772eff7141ba626f3
Parent: 6827fd8