[Pythonmac-SIG] Mac and Unix newlines
Adam Eijdenberg
adam@switchedonsoftware.com
Tue, 22 Jan 2002 10:26:53 +1100
> I've done a patch for this, the "universal newlines patch", that allows
> Python to use files with any newline on any platform. A PEP is
> forthcoming, I've submitted it to the PEPmaster but he hasn't replied
> yet (but he's cc'd on this message:-).
Damn, I was having all sorts of fun looking through all that code. :)
Your patch does a lot more than I was originally looking for. I just
wanted something to stop the parser spewing every time I moved
development machines. It's not really that hard to write a fgets that
takes anything and converts it to a given convention (such as \n), so
I'm not really sure why this wasn't done by anyone earlier.
Keep up the good work, and let me know if there's anything I can do to
help.
Kind regards,
Adam Eijdenberg
Switched on Software
adam@switchedonsoftware.com
http://www.switchedonsoftware.com/
Phone: +61 3 6231 3467
Fax: +61 3 6231 3476
Mobile: +61 4 0704 6857
47 Molle Street
Hobart TAS 7000
Australia