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/089521.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?Andrew Bennetts andrew at bemusement.org
Fri May 8 02:24:05 CEST 2009
Antoine Pitrou wrote:
> Robert Kern <robert.kern <at> gmail.com> writes:
> > 
> > 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.
> 
> Or you can just be practical and test for it. Create a file "foobar" and see if
> you can open "FOOBAR" in read mode...

Agreed.  That is how Bazaar's test suite detects this, and it works well.

-Andrew.

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