[issue10395] new os.path function to extract common prefix based on path components

Paddy McCarthy report at bugs.python.org
Sat Mar 21 06:42:33 CET 2015


Paddy McCarthy added the comment:

Can we now:
 1. Move os.path.commonprefix to str.commonprefix or string.commonprefix
 2. Deprecate the use of os.path.commonprefix
 3. Add os.path.commonpath
 4. Update the documentation.

This seems to have lingered for too long and yet people have been willing to do the work it seems (from 1999).

----------
nosy: +Paddy McCarthy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10395>
_______________________________________


More information about the Python-bugs-list mailing list