[Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits? (original) (raw)

Tim Peters tim.peters at gmail.com
Fri Jun 10 17:21:38 EDT 2016


[Random832]

So, I have a question. If this "weakness" in /dev/urandom is so unimportant to 99% of situations... why isn't there a flag that can be passed to getrandom() to allow the same behavior?

Isn't that precisely the purpose of the GRND_NONBLOCK flag?

http://man7.org/linux/man-pages/man2/getrandom.2.html



More information about the Python-Dev mailing list