R. David Murray <rdmur...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10395>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to