Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

Hi,

Selon "Martin v. Löwis" <[EMAIL PROTECTED]>:
>
> I don't think the proposed patch (file11012) makes it thread-safe, and I
> believe you cannot get it thread-safe without using thread synchronization.

I should have precised that in the context of this issue, "thread-safe" does not
mean "produces perfectly correct output" but simply "does not raise exceptions
when using the same buffered object from two different threads". The former
would be preferable but is not required, IMHO, for a buffered IO library; the
latter is much more critical because as Amaury points out, you otherwise get
exceptions when printing e.g. debut output from multiple threads.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3476>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to