Message193381
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). |
|
| Date |
User |
Action |
Args |
| 2013-07-19 22:00:47 | vstinner | set | recipients:
+ vstinner |
| 2013-07-19 22:00:47 | vstinner | set | messageid: <1374271247.45.0.0168623931287.issue18509@psf.upfronthosting.co.za> |
| 2013-07-19 22:00:47 | vstinner | link | issue18509 messages |
| 2013-07-19 22:00:47 | vstinner | create | |
|