Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-08-02 16:49, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > > 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)
Thanks for clarifying this. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3139> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com