Message70634
You've missed the preceding line that says:
+ consumed = pbuf.len;
If final is NULL, consumed isn't updated by the call to
PyUnicode_DecodeMBCSStateful and keeps its original value of pbuf.len.
(in all honesty, I didn't test under Windows so this particular function
wasn't enabled when I compiled and ran the test suite) |
|
Date |
User |
Action |
Args |
2008-08-02 14:49:54 | pitrou | set | recipients:
+ pitrou, lemburg, loewis, barry, teoliphant, amaury.forgeotdarc, donmez, benjamin.peterson, gpolo |
2008-08-02 14:49:54 | pitrou | set | messageid: <1217688594.31.0.975553653454.issue3139@psf.upfronthosting.co.za> |
2008-08-02 14:49:53 | pitrou | link | issue3139 messages |
2008-08-02 14:49:52 | pitrou | create | |
|