[Python-Dev] os.path.normcase() in site.py

Just van Rossum just@letterror.com
Mon, 25 Jun 2001 16:05:43 +0200

Guido van Rossum wrote:

> I can't think of any function besides the attempt to avoid duplicates.
> I think that even on Windows, retaining case makes sense.
> I think that there's a way to avoid duplicates without case-folding
> everything.  (E.g. use a case-folding comparison instead.)
> I wonder if maybe path entries should be normpath'd though?

They are already, they already go through abspath(), which calls normpath().

> I'll leave it to Fred, Jack or Just to fix this.

If it were up to me, I'd simply remove the normcase() call from makepath().