[Python-Dev] os.path.normcase rationale?

Paul Moore p.f.moore at gmail.com
Sun Sep 26 10:01:32 CEST 2010


On 25 September 2010 23:57, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Paul Moore wrote:
>
>> Windows has (I believe) user definable filesystems, too, but the OS
>> has "get me the real filename" style calls,
>
> Does it really, though? The suggestions I've seen for doing
> this involve abusing the short/long filename translation
> machinery, and I'm not sure they're guaranteed to return the
> actual case rather than something that happens to work.

There's another call available. I've been too lazy to go and look it
up, but I'll do so sometime today.
Paul.


More information about the Python-Dev mailing list