[Python-ideas] PEP 428 - object-oriented filesystem paths
Ronald Oussoren
ronaldoussoren at mac.com
Wed Oct 10 10:16:27 CEST 2012
On 9 Oct, 2012, at 0:23, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Ronald Oussoren wrote:
>> neither statvs, statvfs, nor pathconf seem to be able to tell if a filesystem is case insensitive.
>
> Even if they could, you wouldn't be entirely out of the woods,
> because different parts of the same path can be on different
> file systems...
>
> But how important is all this anyway? I'm trying to think of
> occasions when I've wanted to compare two entire paths for
> equality, and I can't think of *any*.
AFAIK the only place I care about case sensitivity in my code is when I'm basicly using glob or fnmatch.
Ronald
>
> --
> Greg
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
More information about the Python-ideas
mailing list