[issue1152248] Enhance file.readlines by making line separator selectable

Antoine Pitrou report at bugs.python.org
Thu Jul 22 19:54:15 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Personally, I think that this functionality should be built into
> Python's readlines. That's where a typical person would expect it to
> be, and this is something that is supported by most other scripting
> language I've used.

Adding it to readline() and/or readlines() would modify the standard IO
Abstract Base Classes, and would therefore probably need discussion on
python-dev.

----------

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


More information about the Python-bugs-list mailing list