Author pitrou
Recipients amaury.forgeotdarc, barry, benjamin.peterson, donmez, gpolo, lemburg, loewis, pitrou, teoliphant
Date 2008-08-02.14:49:52
SpamBayes Score 3.9206e-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)
History
Date User Action Args
2008-08-02 14:49:54pitrousetrecipients: + pitrou, lemburg, loewis, barry, teoliphant, amaury.forgeotdarc, donmez, benjamin.peterson, gpolo
2008-08-02 14:49:54pitrousetmessageid: <1217688594.31.0.975553653454.issue3139@psf.upfronthosting.co.za>
2008-08-02 14:49:53pitroulinkissue3139 messages
2008-08-02 14:49:52pitroucreate