Serhiy Storchaka added the comment: May be add a parameter to str.splitlines() which will switch behavior to split on '\n', '\r' and '\r\n' only?
---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com