• Victor Stinner's avatar
    os.urandom() doesn't block on Linux anymore · 49c40bc6
    Victor Stinner authored
    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.
    49c40bc6
random.c 11.9 KB