消息 [193381]
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). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2013-07-19 22:00:47 | vstinner | 修改 | recipients:
+ vstinner |
| 2013-07-19 22:00:47 | vstinner | 修改 | messageid: <1374271247.45.0.0168623931287.issue18509@psf.upfronthosting.co.za> |
| 2013-07-19 22:00:47 | vstinner | 链接 | issue18509 messages |
| 2013-07-19 22:00:47 | vstinner | 创建 | |
|