> On Nov 11, 2015, at 10:50 PM, Benjamin Peterson <benja...@python.org> wrote:
> 
>> +    if (Py_SIZE(deque) == 0)
>> +        return;
>> +
> 
> dequeue is not varsized in Python 2.7, so using Py_SIZE() is incorrect.

Fixed in a2a518b6ded4.

-    if (Py_SIZE(deque) == 0)
+    if (deque->len == 0)


Raymond
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to