STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> You should not use BufferedRWPair with the same underlying stream (that's the 
> whole point of BufferedRWPair).

It might be documented. Something like "Warning: don't use the same 
stream as reader and writer, or the BufferedRWPair becomes inconsistent 
on interlaced read-write" ?

----------
status: pending -> open
title: BufferedRandom: issues with interlaced read-write -> BufferedRandom,     
BufferedRWPair: issues with interlaced read-write

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12213>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to