[issue3139] bytearrays are not thread safe

Martin v. Löwis report at bugs.python.org
Tue Aug 12 16:51:57 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

I have now committed the patch to 2.6 as r65654, adding changes for the
bz2module.

I also decided to make the Py_buffer structure own its reference, as I
was running out of arguments why not to. In the process, I removed
PyObject_ReleaseBuffer, as it is redundant and would have an unclear
sematics (what if the object passed directly and the object passed
indirectly were different?).

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3139>
_______________________________________


More information about the Python-bugs-list mailing list