Joey Geralnik <jgeral...@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.

>From bz2.readlines:
"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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to