Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f716e74

Browse files
committed
Merge 3.5 (os.urandom)
2 parents eb2bdfe + 61d5aab commit f716e74

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Python/random.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ py_getrandom(void *buffer, Py_ssize_t size, int raise)
142142
}
143143

144144
if (errno == EINTR) {
145-
/* Note: EINTR should not occur with flags=0 */
146145
if (PyErr_CheckSignals()) {
147146
if (!raise)
148147
Py_FatalError("getrandom() interrupted by a signal");

0 commit comments

Comments
 (0)