[Python-Dev] CRLF line endings (original) (raw)

Chris Angelico rosuav at gmail.com
Thu May 3 16:41:18 CEST 2012


On Thu, May 3, 2012 at 10:50 PM, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:

Although these are text files, the CRLF line endings are needed because otherwise, the files won't be presented correctly on Windows, e.g. in Notepad.

Not all Windows editors choke on \n line endings; when I'm on Windows and run into one, I open it in Wordpad (or, if I have one, a dedicated programming editor like SciTE or the Open Watcom editor). AFAIK only Notepad (of standard Windows utilities) has trouble.

Not sure if that makes a difference or not.

Chris Angelico



More information about the Python-Dev mailing list