[I18n-sig] codecs module, readlines and xreadlines

Guido van Rossum guido@python.org
Thu, 16 Jan 2003 16:57:09 -0500


> To summarize briefly, after being hopelessly long-winded, Apple
> non-raw should probably convert \r to \n, Microsoft non-raw
> should similarly convert \r\n to \n.  What should be done in
> non-binary mode for the other line terminators in UniCode (I
> _think_ some exist) might be a source of hopelessly long-winded
> debate.

That's exactly what Universal newlines does.  Have I missed something?

--Guido van Rossum (home page: http://www.python.org/~guido/)