Message193381
| 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: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 |
|