[Python-checkins] cpython (merge 3.5 -> default): Merge 3.5 (os.urandom)

victor.stinner python-checkins at python.org
Thu Jul 30 10:16:16 CEST 2015


https://hg.python.org/cpython/rev/89d34aea8d7e
changeset:   97141:89d34aea8d7e
parent:      97138:aa2517e9f9ce
parent:      97140:25403a40feb2
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Jul 30 10:14:52 2015 +0200
summary:
  Merge 3.5 (os.urandom)

files:
  Python/random.c |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Python/random.c b/Python/random.c
--- a/Python/random.c
+++ b/Python/random.c
@@ -142,7 +142,6 @@
             }
 
             if (errno == EINTR) {
-                /* Note: EINTR should not occur with flags=0 */
                 if (PyErr_CheckSignals()) {
                     if (!raise)
                         Py_FatalError("getrandom() interrupted by a signal");

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list