This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2013-07-19.22:00:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374271247.45.0.0168623931287.issue18509@psf.upfronthosting.co.za>
In-reply-to
Content
I modified CJK codecs to reuse the new PyUnicodeWriter API (to use the PEP 393 instead of Py_UNICODE*). The problem is that PyUnicodeWriter error is not handled correctly: the decoder should return MBERR_EXCEPTION, whereas the error is not handled at all currently.

I found this issue while working on issue #18408, using the pyfailmalloc tool to inject faults (memory allocation error).
History
Date User Action Args
2013-07-19 22:00:47vstinnersetrecipients: + vstinner
2013-07-19 22:00:47vstinnersetmessageid: <1374271247.45.0.0168623931287.issue18509@psf.upfronthosting.co.za>
2013-07-19 22:00:47vstinnerlinkissue18509 messages
2013-07-19 22:00:47vstinnercreate