[issue1621] Do not assume signed integer overflow behavior

Xiang Zhang report at bugs.python.org
Sat Jul 23 11:06:50 EDT 2016


Xiang Zhang added the comment:

Change tuple_and_list.patch with empty curly braces. I don't add the test for __length_hint__. According to the comment, when overflow happens, it is either ignored or a MemoryError will finally be raised. I am not willing to test a MemoryError in this case.

BTW, how do you get the error?

----------
Added file: http://bugs.python.org/file43842/tuple_and_list_v2.patch

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


More information about the Python-bugs-list mailing list