[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X
Ronald Oussoren
report at bugs.python.org
Wed Jul 7 13:57:43 CEST 2010
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
Note that this does not just affect MacOSX, this even affects Linux (although the behaviour on the default filesystems is different).
On Linux the default is case-sensitive filesystems, but you can use network filesystems that have case-insensitive behavior, for example by using a CIFS share.
This means that /mnt/myserver-share/foo/bar and /mnt/myserver-share/FOO/BAR may or may not refer to the same "object": there aren't the same if /mnt/myserver-share is a regular Linux filesystem but will be when /mnt/myserver-share is a mount from a CIFS server.
In short: os.path.normcase is hopelessly naive in its assumptions about system behavior.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3485>
_______________________________________
More information about the Python-bugs-list
mailing list