Merge 3.5 (os.urandom)

This commit is contained in:
Victor Stinner 2015-07-30 10:14:52 +02:00
commit f716e74d5a
1 changed files with 0 additions and 1 deletions

View File

@ -142,7 +142,6 @@ py_getrandom(void *buffer, Py_ssize_t size, int raise)
}
if (errno == EINTR) {
/* Note: EINTR should not occur with flags=0 */
if (PyErr_CheckSignals()) {
if (!raise)
Py_FatalError("getrandom() interrupted by a signal");