This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rafik
Recipients Roman.Evstifeev, eric.araujo, eric.smith, eric.snow, ezio.melotti, loewis, r.david.murray, rafik, ronaldoussoren, santoso.wijaya
Date 2012-11-04.16:10:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352045438.09.0.529117214642.issue10395@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-11-04 16:10:38rafiksetrecipients: + rafik, loewis, ronaldoussoren, eric.smith, ezio.melotti, eric.araujo, r.david.murray, santoso.wijaya, eric.snow, Roman.Evstifeev
2012-11-04 16:10:38rafiksetmessageid: <1352045438.09.0.529117214642.issue10395@psf.upfronthosting.co.za>
2012-11-04 16:10:38rafiklinkissue10395 messages
2012-11-04 16:10:37rafikcreate