[issue4755] Common path prefix

Skip Montanaro report at bugs.python.org
Tue Dec 30 14:51:27 CET 2008


Skip Montanaro <skip at 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 <report at bugs.python.org>
<http://bugs.python.org/issue4755>
_______________________________________


More information about the Python-bugs-list mailing list