[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

STINNER Victor report at bugs.python.org
Mon Jul 18 09:38:47 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

@pitrou: Antoine, do you think that the following commit should be backported from 3.3 to 3.2?

New changeset 3c7792ec4547 by Victor Stinner in branch 'default':
Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available.
http://hg.python.org/cpython/rev/3c7792ec4547

It changes BufferedReader.read() behaviour a *little* bit. Only a little because FileIO.read(-1) calls FileIO.readall() internally for example.

----------

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


More information about the Python-bugs-list mailing list