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 vstinner
Recipients Valentin.Lorentz, nedbat, vstinner
Date 2017-05-04.16:07:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493914026.48.0.387333647705.issue30267@psf.upfronthosting.co.za>
In-reply-to
Content
Ned Batchelder wrote an article about this function in 2010 :-)

https://nedbatchelder.com/blog/201003/whats_the_point_of_ospathcommonprefix.html

"""
The docs helpfully include the warning:

    Note that this may return invalid paths because it works a character at a time.

But it should say:

    This function is in the wrong place, and has nothing to do with paths, don't use it if you are interested in file paths!
"""
History
Date User Action Args
2017-05-04 16:07:06vstinnersetrecipients: + vstinner, nedbat, Valentin.Lorentz
2017-05-04 16:07:06vstinnersetmessageid: <1493914026.48.0.387333647705.issue30267@psf.upfronthosting.co.za>
2017-05-04 16:07:06vstinnerlinkissue30267 messages
2017-05-04 16:07:06vstinnercreate