ID EN
OS

GRND_NONBLOCK

Python 3.11

By default, when reading from /dev/random, getrandom() blocks if no random bytes are available, and when reading from /dev/urandom, it blocks if the entropy pool has not yet been initialized.

Syntax

PYTHON
os.GRND_NONBLOCK

See Also

getrandom() GRND_NONBLOCK getrandom() BlockingIOError