[docs] [issue15068] fileinput requires two EOF when reading stdin

R. David Murray report at bugs.python.org
Fri Jun 15 17:29:25 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

So the real question is: does readlines block until the byte count is satisified?  It might, but the docs for io.IOBase.readlines leave open the possibility that fewer lines will be read, and do not limit that to the EOF case.  It's not clear, however, if that is because the non-EOF-short-read case is specifically being allowed for, or if the documenter just didn't consider that case.

----------

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


More information about the docs mailing list