[issue26059] Integer Overflow in strop.replace()
Terry J. Reedy
report at bugs.python.org
Sat Jan 16 04:25:03 EST 2016
Terry J. Reedy added the comment:
Win 10, 2.7.11, from IDLE editor: 1.py take several seconds, nothing printed. Add 'print' in front of call and
Traceback (most recent call last):
File "F:\Python\mypy\tem.py", line 3, in <module>
print strop.replace("\x100"*0xEAAA,"\x100","AA"*0xAAAA)
File "C:\Programs\Python27\lib\idlelib\PyShell.py", line 1356, in write
return self.shell.write(s, self.tags)
MemoryError
strop gone in 3.5.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26059>
_______________________________________
More information about the Python-bugs-list
mailing list