You're not supposed to do that. I guess the PEP is unclear about that,
but the effect would (as you understand) depend intricately on the
internal state of the BufferedIO object, and while on the one hand I
want the BufferedIO object to be more transparent than a C stdio
object, on the other hand I
I've looked at the most recent version at
http://python.org/dev/peps/pep-3116/
and I see nothing in there about the interaction between a BufferedIO
object and its underlying RawIO object. That is, what happens if you do
this:
f = open('foo', buffering=200)
f.read(150)
f.raw.read(20