[Python-3000] Universal newlines support in Python 3.0

Tony Lownds tony at PageDNA.com
Fri Aug 10 21:27:46 CEST 2007


On Aug 10, 2007, at 11:23 AM, Guido van Rossum wrote:

> Python 3.0 currently has limited universal newlines support: by
> default, \r\n is translated into \n for text files, but this can be
> controlled by the newline= keyword parameter. For details on how, see
> PEP 3116. The PEP prescribes that a lone \r must also be translated,
> though this hasn't been implemented yet (any volunteers?).

I'll give it a shot!

-Tony


More information about the Python-3000 mailing list