[docs] [issue22232] str.splitlines splitting on non-\r\n characters

Marc-Andre Lemburg report at bugs.python.org
Fri Oct 5 11:23:49 EDT 2018


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Why not simply add a new parameter, to make people who want
ASCII linebreaks continue to use .splitlines() ?

It think it would be less than ideal to have one method break on
all Unicode line breaks and another only on ASCII ones.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22232>
_______________________________________


More information about the docs mailing list