Message70634
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, barry, benjamin.peterson, donmez, gpolo, lemburg, loewis, pitrou, teoliphant |
| Date |
2008年08月02日.14:49:52 |
| SpamBayes Score |
3.9206014e-05 |
| Marked as misclassified |
No |
| Message-id |
<1217688594.31.0.975553653454.issue3139@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|