Roundup Robot added the comment:
New changeset af8089217cc6 by Serhiy Storchaka in branch '2.7':
Issue #23215: Multibyte codecs with custom error handlers that ignores errors
https://hg.python.org/cpython/rev/af8089217cc6
New changeset 4dc8b7ed8973 by Serhiy Storchaka in branch '3.4':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23215
___
Serhiy Storchaka added the comment:
Thank you for your patch Aleksi. It LGTM in general. Updated patch just moves
the test to Lib/test/test_multibytecodec.py where it can reuse ALL_CJKENCODINGS
and fixes few other minor bugs in multibyte codecs.
--
Added file:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23215
___
___
Roundup Robot added the comment:
New changeset 3a9b1e5fe179 by R David Murray in branch '3.4':
#23215: reflow paragraph.
https://hg.python.org/cpython/rev/3a9b1e5fe179
New changeset 52a06812d5da by R David Murray in branch 'default':
Merge: #23215: note that time.sleep affects the current
R. David Murray added the comment:
Oops, typoed the issue number. That should have been 23251.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23215
___
Changes by Aleksi Torhamo alexerion+pythonb...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file37660/python_codec_crash_fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23215
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +haypo, lemburg, loewis, serhiy.storchaka
stage: - patch review
versions: -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23215
New submission from Aleksi Torhamo:
Using a multibyte codec and a custom error handler that ignores errors to
encode a string that contains characters not representable in said encoding
causes exponential growth of the output buffer, raising MemoryError.
The problem is in