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

Here is a new patch which simply wraps the current BufferedWriter
methods with a lock. It has a test case, and Amaury's example works fine
too.

Martin, do you think it's fine?

(as for BufferedReader, I don't see the use cases for multithreaded reading)

----------
assignee:  -> pitrou
Added file: http://bugs.python.org/file11115/bufferedwriter3.patch

_______________________________________
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