]> granicus.if.org Git - python/commit
Issue #29157: dev_urandom() now calls py_getentropy()
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 6 Jan 2017 10:16:20 +0000 (11:16 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 6 Jan 2017 10:16:20 +0000 (11:16 +0100)
commitdcdb60e4b3ad529fb2acd8d36f6ce9c7370b6c6f
tree08e03dc4bc5072f3e9f75dbde9682e5c0435c865
parent1459ca64fc5731b57f66f0834db9a2465970c182
Issue #29157: dev_urandom() now calls py_getentropy()

Prepare the fallback to support getentropy() failure and falls back on reading
from /dev/urandom.
Python/random.c