Gunnar Aastrand Grimnes added the comment:

Agreed that a doc-fix is the first step. 

Shall I make another issue for the fix in fileinput?

 I also wonder if the comment in codecs is not too negative - it is not easy to 
get it 100% right, but the method just above readlines is readline, which does 
somehow manage to read a single line. To me it seems like it would be better to 
makes readlines repeatedly call readline. It would also be inefficient, but 
still better than reading the whole (possibly infinite) stream in ...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20501>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to