This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author valhallasw
Recipients dawidjoubert, ezio.melotti, valhallasw
Date 2012-05-21.20:37:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337632664.17.0.445261697879.issue4198@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-21 20:37:44valhallaswsetrecipients: + valhallasw, ezio.melotti, dawidjoubert
2012-05-21 20:37:44valhallaswsetmessageid: <1337632664.17.0.445261697879.issue4198@psf.upfronthosting.co.za>
2012-05-21 20:37:43valhallaswlinkissue4198 messages
2012-05-21 20:37:43valhallaswcreate