Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5497

Re: Import on case insensitive filesystem

From "Gabriel Genellina" <gagsl-py2@yahoo.com.ar>
Subject Re: Import on case insensitive filesystem
Date 2011-05-16 04:50 -0300
References <BANLkTikn6cs4Jo7GPrkVBz-_yAp2Tg2ORw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1632.1305531717.9059.python-list@python.org> (permalink)

Show all headers | View raw


En Fri, 13 May 2011 15:43:23 -0300, Mitchell Hashimoto  
<mitchell.hashimoto@gmail.com> 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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Import on case insensitive filesystem "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> - 2011-05-16 04:50 -0300

csiph-web