> On Jun 10, 2016, at 5:21 PM, Tim Peters <tim.pet...@gmail.com> wrote: > > Isn't that precisely the purpose of the GRND_NONBLOCK flag?
It doesn’t behave exactly the same as /dev/urandom. If the pool hasn’t been initialized yet /dev/urandom will return possibly predictable data whereas getrandom(GRND_NONBLOCK) will EAGAIN. — Donald Stufft _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com