summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-07-30 10:14:52 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-07-30 10:14:52 +0200
commitf716e74d5a60885a6649579be262c85502095ae2 (patch)
tree55d4787dbf4512b99f45b75f1124266815527601 /Python/random.c
parenteb2bdfe72c96fd8aa715806319777678b675825d (diff)
parent61d5aab9b9fc81ca8801d94af8032414f745b8c2 (diff)
downloadcpython-git-f716e74d5a60885a6649579be262c85502095ae2.tar.gz
Merge 3.5 (os.urandom)
Diffstat (limited to 'Python/random.c')
-rw-r--r--Python/random.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c
index 9c9d5057c9..ea09e84a7b 100644
--- a/Python/random.c
+++ b/Python/random.c
@@ -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");