[issue3139] bytearrays are not thread safe
Antoine Pitrou
report at bugs.python.org
Sun Jul 6 00:39:00 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Le samedi 05 juillet 2008 à 22:20 +0000, Martin v. Löwis a écrit :
> Martin v. Löwis <martin at v.loewis.de> added the comment:
>
> I believe the 2.6 s# processing works correctly; the error is in the
> bytearray object. This either shouldn't support the buffer interface, or
> it shouldn't reallocate the buffer after having returned a pointer to it.
getbuffer and releasebuffer exist in both 2.6 and 3.0, and bytearray
supports those methods in both.
As for array.array, it only implements old buffer API.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3139>
_______________________________________
More information about the Python-bugs-list
mailing list