[docs] [issue15068] fileinput requires two EOF when reading stdin
report at bugs.python.org
Fri Jun 15 16:59:07 CEST 2012
Joey Geralnik <jgeralnik at gmail.com> added the comment:
But this is calling the readlines function, which continually reads from the file until more bytes have been read than the specified argument.
"size can be specified to control the number of lines read: no further lines will be read once the total size of the lines read so far equals or exceeds size."
Do other file-like objects interpret this parameter differently?
Python tracker <report at bugs.python.org>
More information about the docs