
Neil Schemenauer <nas-python@arctrix.com> added the comment: I too would prefer a new method name rather than overloading splitlines() with more keyword args (passed as hardcoded constants, usually). Again, I think we want: list(open(..).read().<splitmethod>()) == list(open(..)) readlines() returns a list but I think this method should return an iterator (seems more Python 3 like to me, call list if you want a list). In that case, iterlines() seems like the right name to me. I think it should take a 'newline' keyword that behaves the same as the open() version of the keyword. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue22232> _______________________________________