[issue3476] BufferedWriter not thread-safe

Antoine Pitrou report at bugs.python.org
Thu Jul 31 16:20:46 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is a sample implementation (using a fixed-size bytearray) with test.
Amaury, would you like to take a look?

I'm a bit puzzled by the shady BufferedRandom semantics: though the
tests do pass, it's hard to say why e.g. BufferedRandom.tell() was
implemented like that.

----------
keywords: +patch
Added file: http://bugs.python.org/file11012/bufferedwriter.patch

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


More information about the Python-bugs-list mailing list