]> granicus.if.org Git - python/commit
Issue #22181: The availability of the getrandom() is now checked in configure,
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Mar 2015 21:21:49 +0000 (22:21 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Mar 2015 21:21:49 +0000 (22:21 +0100)
commit9eb57c5fa50ed2f57d9320bb575371868316b5f2
tree8b3efac8aade853f1d94105eced8313e4bb11e23
parent79d68f929d8def878766965f513b628023f809b5
Issue #22181: The availability of the getrandom() is now checked in configure,
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.

Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
Lib/test/test_os.py
Python/random.c
configure
configure.ac
pyconfig.h.in