[issue25414] Bypass unnecessary size limit test from deques on builds with 64-bit numbers

Serhiy Storchaka report at bugs.python.org
Thu Oct 15 14:07:35 EDT 2015


Serhiy Storchaka added the comment:

We can remove this test at all, it can never succeed on 32-bit platform. deque takes at least 4 bytes (PyObject*) per element. In 32-bit address space the maximal deque size is less than 2**32/4 = 2**30 that is much less than MAX_DEQUE_LEN = 2**31-1-3*64.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25414>
_______________________________________


More information about the Python-bugs-list mailing list