diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-01 08:01:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-01 08:01:31 (GMT) |
commit | 0e25a8f225023cdefd516c5eaccde2c9527d1510 (patch) | |
tree | 01679ce94a2b19c4d3e8e1330485517566755dbb /Python | |
parent | 4d45be776c4af14537244305a0218075cbad8648 (diff) | |
parent | 861f0672014067dc1cd5bf239ae188140f79b07d (diff) | |
download | cpython-0e25a8f225023cdefd516c5eaccde2c9527d1510.zip cpython-0e25a8f225023cdefd516c5eaccde2c9527d1510.tar.gz cpython-0e25a8f225023cdefd516c5eaccde2c9527d1510.tar.bz2 |
Merge 3.5
Diffstat (limited to 'Python')
-rw-r--r-- | Python/random.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/random.c b/Python/random.c index 1d57b1b..772bfef 100644 --- a/Python/random.c +++ b/Python/random.c @@ -111,6 +111,8 @@ py_getentropy(unsigned char *buffer, Py_ssize_t size, int fatal) #else +/* Issue #25003: Don' use getentropy() on Solaris (available since + * Solaris 11.3), it is blocking whereas os.urandom() should not block. */ #if defined(HAVE_GETRANDOM) || defined(HAVE_GETRANDOM_SYSCALL) #define PY_GETRANDOM 1 |