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 ronaldoussoren
Recipients ezio.melotti, ijmorlan, loewis, ned.deily, ronaldoussoren
Date 2010-06-27.14:40:49
SpamBayes Score 4.758654e-06
Marked as misclassified No
Message-id <1277649653.56.0.26969412544.issue3485@psf.upfronthosting.co.za>
In-reply-to
Content
The comment is wrong, os.path.normcase should not return s.lower(), as the other issue notes the case sensitivity is filesystem dependent.  

Returning s.lower() will break code when dealing with paths that refer to an NFS share on a Linux server, or to a path on a local case sensitive file system.

IMHO The comment in posixpath should be changed to something like this:

# On MacOS X most but not all filesystems are case sensitive, which
# means that using normcase(p1) != normcase(p2) doesn't necessarily mean
# that the paths refer to different files.

The current comment gives the impression that a trivial should be applied, which isn't true.
History
Date User Action Args
2010-06-27 14:40:54ronaldoussorensetrecipients: + ronaldoussoren, loewis, ijmorlan, ned.deily, ezio.melotti
2010-06-27 14:40:53ronaldoussorensetmessageid: <1277649653.56.0.26969412544.issue3485@psf.upfronthosting.co.za>
2010-06-27 14:40:52ronaldoussorenlinkissue3485 messages
2010-06-27 14:40:50ronaldoussorencreate