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

2015-10-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2015-10-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1733b3bd46db by Raymond Hettinger in branch 'default': Issue #25414: Remove unnecessary tests that can never succeed. https://hg.python.org/cpython/rev/1733b3bd46db -- nosy: +python-dev ___ Python tracker

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

2015-10-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file40793/deque_limit_remove.diff ___ Python tracker ___ ___ Python-bugs-lis

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

2015-10-15 Thread Serhiy Storchaka
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. -

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

2015-10-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : Removed file: http://bugs.python.org/file40789/deque_limit_test.diff ___ Python tracker ___ ___ Python-bugs-lis

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

2015-10-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file40790/deque_limit_test.diff ___ Python tracker ___ ___ Python-bugs-list

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

2015-10-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- components: +Extension Modules keywords: +patch stage: -> patch review title: Drop unnecessary size limit test from deques on builds with 64-bit numbers -> Bypass unnecessary size limit test from deques on builds with 64-bit numbers type: -> performa