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

victor.stinner python-checkins at python.org
Tue Jun 14 10:36:27 EDT 2016


https://hg.python.org/cpython/rev/be21d5b29cdc
changeset:   102036:be21d5b29cdc
parent:      102034:0d39bd9028e8
parent:      102035:de2df41ebf97
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Jun 14 16:36:00 2016 +0200
summary:
  Merge 3.5

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


diff --git a/Python/random.c b/Python/random.c
--- a/Python/random.c
+++ b/Python/random.c
@@ -254,7 +254,7 @@
             break;
         }
         buffer += n;
-        size -= (Py_ssize_t)n;
+        size -= n;
     }
     close(fd);
 }

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


More information about the Python-checkins mailing list