[issue10395] new os.path function to extract common prefix based on path components
R. David Murray
report at bugs.python.org
Sat Nov 13 04:12:41 CET 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
Indeed, as I remember it there are people using commonprefix as a string function in situations having nothing to do with os paths.
I'm changing the title to reflect the fact that this is really a feature request for a new function. IMO it is a reasonable feature request. Finding a name for it ought to be an interesting exercise.
I think that this should only be accepted if there is also a windows implementation.
----------
nosy: +r.david.murray
stage: -> needs patch
title: os.path.commonprefix broken by design -> new os.path function to extract common prefix based on path components
type: -> feature request
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10395>
_______________________________________
More information about the Python-bugs-list
mailing list