[issue2629] _Py_ForgetReference crash when called from _PyUnicode_New on MemoryError

Gregory P. Smith report at bugs.python.org
Tue Aug 19 22:12:12 CEST 2008


Gregory P. Smith <greg at krypto.org> added the comment:

Verified fixed.

Python 2.6b2+ (trunk:65871, Aug 19 2008, 13:10:07)
>>> msg = 'A'*2000111222
[12389 refs]
>>> x = msg.decode('utf8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/google/home/gps/python/trunk/Lib/encodings/utf_8.py",
line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
MemoryError
[12431 refs]

----------
assignee:  -> gregory.p.smith
priority:  -> normal
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list