[Python-3000] io library/PEP 3116 bits

Guido van Rossum guido at python.org
Mon Jul 30 20:07:50 CEST 2007


On 7/30/07, Tony Lownds <tony at pagedna.com> wrote:
> On Jul 30, 2007, at 10:20 AM, Guido van Rossum wrote:
> > I don't think \r needs to be supported -- OSX uses \n; Python 3.0
> > isn't going to be ported to MacOS 9. We discussed this before; I
> > promised I'd add \r support if anyone can find a current use case for
> > it. So far none have been reported.
>
> I routinely work with OS X created files that use \r newlines. The most
> common ones are Excel (when exporting to text) and Adobe Illustrator
> EPS files.

fair enough. We'll have to support \r then. I'll update the PEP; a
patch for the code would be most welcome.

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


More information about the Python-3000 mailing list