Message189785
The patch goes in the right direction: consistently reject non-8bit encodings which the current implementation does not support.
- please add a unit test
- remove usage of PyUnicodeObject and the "Stupid to access directly" comment, they are outdated.
Real support for GBK is more work, http://wang.yuxuan.org/blog/?itemid=63 shows how to set a conversion callback. It will difficult to implement in the general case, see my older comment. |
|
Date |
User |
Action |
Args |
2013-05-21 20:59:41 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, terry.reedy, vstinner, ezio.melotti, eli.bendersky, flox, dongying, serhiy.storchaka |
2013-05-21 20:59:41 | amaury.forgeotdarc | set | messageid: <1369169981.17.0.399010172165.issue13612@psf.upfronthosting.co.za> |
2013-05-21 20:59:41 | amaury.forgeotdarc | link | issue13612 messages |
2013-05-21 20:59:40 | amaury.forgeotdarc | create | |
|