[issue3139] bytearrays are not thread safe
Martin v. Löwis
report at bugs.python.org
Fri Aug 1 16:29:08 CEST 2008
Martin v. Löwis <martin at v.loewis.de> added the comment:
Amaury, I think the issue of thread-safety of the io library should be
decoupled from this issue. I don't think it is release-critical that the
io library is thread-safe (and even if it is release-critical, the
problem should be tracked in a different issue, as it requires a
completely independent patch).
The original issue (bytearrays are not thread-safe) will not be
completely resolved (for a certain definition of "thread-safe"): it will
always be possible that one thread observes a locked byte object - this
is by design of the buffer interface, and it is a good design.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3139>
_______________________________________
More information about the Python-bugs-list
mailing list