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

Raymond Hettinger report at bugs.python.org
Mon Jul 14 02:49:09 CEST 2014


Raymond Hettinger added the comment:

This patch looks reasonable except for the doc change to os.path.commonprefix().   Remember, that function IS working as documented and that our policy is to document in an affirmative manner (here is what the function does and how to use it versus being preachy about "broken-by-design" etc.)

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list