• Victor Stinner's avatar
    Don't use getentropy() on Linux · 01bdbad3
    Victor Stinner yazdı
    Issue #29188: Support glibc 2.24 on Linux: don't use getentropy() function but
    read from /dev/urandom to get random bytes, for example in os.urandom().  On
    Linux, getentropy() is implemented which getrandom() is blocking mode, whereas
    os.urandom() should not block.
    01bdbad3
random.c 11.7 KB