[issue18291] codecs.open interprets FS, RS, GS as line ends

Neil Schemenauer report at bugs.python.org
Fri Oct 5 00:44:44 EDT 2018


Neil Schemenauer <nas-python at arctrix.com> added the comment:

New patch that changes str.splitlines to work like Python 2 str.splitlines and like Python 3 bytes.splitlines.  Surprisingly, only a few cases in the unit test suite fail.  I've fixed them in my patch.

----------
Added file: https://bugs.python.org/file47852/str_splitlines.txt

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


More information about the Python-bugs-list mailing list