Rafik Draoui added the comment:

Here is a patch with an implementation of os.path.commonpath, along with tests 
and documentation. At the moment, this is only implemented for POSIX, as I 
don't feel like I know enough about Windows to tackle drive letters and UNC in 
paths without spending some more time on it.

This probably needs more tests for corner cases.

nosy: +rafik
Added file: http://bugs.python.org/file27883/patch10395

Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to