Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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; 'python': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'url:dev': 0.09; 'url:peps': 0.09; 'filesystem': 0.16; 'from:addr:yahoo.com.ar': 0.16; 'mitchell': 0.16; 'subject:case': 0.16; 'subject:insensitive': 0.16; 'x),': 0.16; 'tree': 0.20; 'variable': 0.21; 'runs': 0.24; 'value.': 0.25; 'creating': 0.26; 'environment': 0.26; "i'm": 0.26; 'developing': 0.28; 'remote': 0.28; 'fri,': 0.29; 'charset:iso-8859-15': 0.31; 'import': 0.32; 'to:addr:python-list': 0.32; 'another': 0.32; 'copying': 0.34; 'header:X-Complaints-To:1': 0.34; 'there': 0.35; 'header:User- Agent:1': 0.35; 'accessing': 0.35; 'flag': 0.35; 'case': 0.37; 'url:python': 0.37; 'but': 0.38; 'url:org': 0.38; 'received:org': 0.38; 'anything': 0.38; 'though': 0.38; 'app': 0.39; 'errors': 0.39; 'to:addr:python.org': 0.39; 'header:Mime-Version:1': 0.39; 'header:Received:5': 0.40; 'act': 0.61; '2011': 0.62; 'details.': 0.67; '-0300,': 0.84; 'genellina': 0.84; 'subject:Import': 0.84; 'gabriel': 0.91; 'received:186': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: "Gabriel Genellina" Subject: Re: Import on case insensitive filesystem Date: Mon, 16 May 2011 04:50:11 -0300 References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 186.19.171.200 User-Agent: Opera Mail/11.01 (Win32) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 19 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305531717 news.xs4all.nl 81476 [::ffff:82.94.164.166]:51315 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5497 En Fri, 13 May 2011 15:43:23 -0300, Mitchell Hashimoto escribió: > I'm developing an app which runs Python on a filesystem which is not case > sensitive (Mac OS X), but is mounted as an NFS drive on a remote machine. > This causes errors because of the import being case sensitive but > accessing > an FS which is case insensitive. Short of copying the entire directory > tree > over to another filesystem, is there anything I can do to flag Python to > act > as though it were on a case sensitive FS? Try creating an environment variable PYTHONCASEOK with any value. See http://www.python.org/dev/peps/pep-0235/ for details. -- Gabriel Genellina