[issue3139] bytearrays are not thread safe
Marc-Andre Lemburg
report at bugs.python.org
Sat Aug 2 22:13:13 CEST 2008
Marc-Andre Lemburg <mal at egenix.com> added the comment:
On 2008-08-02 16:49, Antoine Pitrou wrote:
> Antoine Pitrou <pitrou at free.fr> 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 <report at bugs.python.org>
<http://bugs.python.org/issue3139>
_______________________________________
More information about the Python-bugs-list
mailing list