Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Windows': 0.09; 'python': 0.09; 'thread,': 0.09; 'cc:addr:python-list': 0.10; 'editor,': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'happily': 0.16; 'unix-style': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'strip': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'in.': 0.27; "doesn't": 0.28; 'fine': 0.28; 'run': 0.28; 'file': 0.32; "can't": 0.34; 'subject:?': 0.35; 'received:org': 0.36; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'test': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; "you'll": 0.62; 'back': 0.62; 'to:none': 0.93 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Mon, 25 Feb 2013 11:33:53 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: Shebang line on Windows? References: <512B63BC.6090600@davea.name> <512B9CF4.3070604@gmail.com> <20130225122958.08dbf549@imp> In-Reply-To: <20130225122958.08dbf549@imp> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361817241 news.xs4all.nl 6936 [2001:888:2000:d::a6]:48827 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39904 On 02/25/2013 10:29 AM, D'Arcy J.M. Cain wrote: > I don't run Windows myself so I can't test it but doesn't Python on > Windows work fine with Unix style EOL? So why not strip out the CR and > run the same file everywhere? As has been said on this thread, python is perfectly happy on windows with the Unix-style EOL. And if you use a good programmer's editor, it will happily keep unix-style line endings. Use a crappier, windows-centric editor, and you'll see the CR's creeping back in.