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

Serhiy Storchaka report at bugs.python.org
Fri Oct 5 07:26:00 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 9711 splits lines using regular expressions. This fixes this issue without changing str.splitlines(). After adding a new option in str.splitlines() the code in master can be simplified.

----------
resolution: wont fix -> 
stage: resolved -> patch review
status: closed -> open
versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8

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


More information about the Python-bugs-list mailing list