Merlijn van Deen <valhall...@gmail.com> added the comment:

To confirm this behaviour is still current:

Python 3.3.0a1+ (default:958a98bf924e+, May 21 2012, 22:18:16)
[GCC 4.5.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ntpath
>>> ntpath.normcase(r"c:\mixedCASE")
'c:\\mixedcase'

In general, I'm not so sure of the use case of the function /at all/ - possibly 
something like
  
if normcase(path1) == normcase(path2):
    ...

however, this can give the false impression that two files are the same - I 
think, given a Samba share with two files 'A' and 'a', it's possible to access 
both files from windows.

----------
nosy: +valhallasw
versions: +Python 3.3, Python 3.4 -Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4198>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to