[Python-Dev] [Python-3000] Universal newlines support in Python 3.0

skip at pobox.com skip at pobox.com
Mon Aug 13 18:55:26 CEST 2007


    Paul> ...  that files can have *either* bare \n, *or* the combination
    Paul> \r\n, to delimit lines.

As someone else pointed out, \r needs to be supported as well.  Many Mac
applications (Excel comes to mind) still emit text files with \r as the line
terminator.

Skip


More information about the Python-Dev mailing list