[Python-checkins] cpython (merge 2.7 -> 2.7): merge 2.7.10 release branch

benjamin.peterson python-checkins at python.org
Fri May 15 18:19:46 CEST 2015


https://hg.python.org/cpython/rev/81c3a75e0307
changeset:   96063:81c3a75e0307
branch:      2.7
parent:      96055:3fa58e779308
parent:      96062:7adfc99103d2
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri May 15 12:19:41 2015 -0400
summary:
  merge 2.7.10 release branch

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


diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -708,7 +708,7 @@
     PyObject *item;
     int rv;
 
-    assert (i >= 0 && i < Py_SIZE(deque));
+    assert (i >= 0 && i < deque->len);
     if (_deque_rotate(deque, -i))
         return -1;
     item = deque_popleft(deque, NULL);

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


More information about the Python-checkins mailing list