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

2014-08-20 Thread Samuel Charron
Samuel Charron added the comment: For an example of a serious bug caused by this, see http://bugs.python.org/issue22233 -- ___ Python tracker ___ ___

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

2014-08-20 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2014-08-20 Thread Samuel Charron
New submission from Samuel Charron: According to the documentation, str.splitlines uses the universal newlines to split lines. The documentation says it's all about \r, \n, and \r\n (https://docs.python.org/3.5/glossary.html#term-universal-newlines) However, it's also splitting on other charac