Serhiy Storchaka added the comment: > "\n \r\n \r \u2028".split() should have been "\n \r\n \r \u2028".split(" "), > i.e. a list of different line ends.
Yes, this is obvious fix, but explicit tuple of line ends looks more clear and error-proof to me. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20520> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com