[Python-Dev] os.path.normcase rationale? (original) (raw)

Chris Withers chris at simplistix.co.uk
Sat Sep 18 23:39:51 CEST 2010


Hi All,

I'm curious as to why, with a file called "Foo.txt" on a case descriminating but case insensitive filesystem, os.path.normcase('FoO.txt') will return "foo.txt" rather than "Foo.txt"?

Yes, I know the behaviour is documented, but I'm wondering if anyone can remember the rationale for that behaviour?

cheers,

Chris

-- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk



More information about the Python-Dev mailing list