[Python-ideas] BufferedIO and detach
greg.ewing at canterbury.ac.nz
Mon Mar 4 22:14:08 CET 2013
Guido van Rossum wrote:
> Personally, I'm not sure that your proposed API (a buffered_only flag
> to read()) is the best way to go about it. Maybe detach() should
> return the remaining buffered data?
Maybe you could be allowed to read() from the buffered
stream after detatching the underlying source, which
would then return any data remaining in the buffer.
More information about the Python-ideas