A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-May/089518.html below:

[Python-Dev] Easy way to detect filesystem case-sensitivity?

[Python-Dev] Easy way to detect filesystem case-sensitivity? [Python-Dev] Easy way to detect filesystem case-sensitivity?Robert Kern robert.kern at gmail.com
Fri May 8 01:39:41 CEST 2009
On 2009-05-07 18:29, Brett Cannon wrote:
> [my python-dev sabbatical is still in effect, so make sure I am at least
> cc'ed on any replies to this email]
>
> I cannot be the only person who has a need to run tests conditionally
> based on whether the file system is case-sensitive or not, so I feel
> like I am re-inventing the wheel for issue 5442 to handle OS X with a
> case-sensitive filesystem. Is there a boolean somewhere that I can
> simply check or get to know whether the filesystem is case-sensitive?

Since one may have more than one filesystem side-by-side, this can't be just be 
a system-wide boolean somewhere. One would have to query the target directory 
for this information. I am not aware of the existence of code that does such a 
query, though.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4