Inada Naoki <songofaca...@gmail.com> added the comment:

> It would be better to name it keepends and set it True by default.

.readline() returns only one line.  Should we use plural form for consistency?

> It is also not good for file-like classes which do not inherit IOBase, but 
> implement a part of methods. You can't start to use new arguments in your 
> code if you accepted arbitrary file-like objects that have methods read() and 
> readline().

OK.  It should be added to only concrete types.

----------

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

Reply via email to