Skip Montanaro <s...@pobox.com> added the comment: I think we need to recognize the inherent limitations of what we can expect to do. It is perfectly reasonable for a user on Windows to import posixpath and call posixpath.commonpathprefix. The function won't have access to the actual filesystems being manipulated. Same for Unix folks importing ntpath and manipulating Windows paths. While we can make it handle case-insensitivity, I'm no sure we can do much, if anything, about shortened filenames.
Also, as long as we are considering case sensitivity, what about HFS on Mac OS X? Skip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4755> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com