Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb2bdfe + 61d5aab commit f716e74Copy full SHA for f716e74
1 file changed
Python/random.c
@@ -142,7 +142,6 @@ py_getrandom(void *buffer, Py_ssize_t size, int raise)
142
}
143
144
if (errno == EINTR) {
145
- /* Note: EINTR should not occur with flags=0 */
146
if (PyErr_CheckSignals()) {
147
if (!raise)
148
Py_FatalError("getrandom() interrupted by a signal");
0 commit comments