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 brett.cannon
Recipients brett.cannon, ethan.furman
Date 2016-07-29.20:04:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469822680.75.0.0434922582006.issue27524@psf.upfronthosting.co.za>
In-reply-to
Content
Ran into the first nasty snag: people are abusing os.path.commonprefix() and it's extremely generic approach. Instead of passing in a list of file paths they are passing a list of lists of file path *parts*, e.g. instead of ["a/b", "a/c"] they are passing in [["a", "b"], ["a", "c"]]. I have special-cased when the list contains another list or tuple, but I still feel dirty doing it.
History
Date User Action Args
2016-07-29 20:04:40brett.cannonsetrecipients: + brett.cannon, ethan.furman
2016-07-29 20:04:40brett.cannonsetmessageid: <1469822680.75.0.0434922582006.issue27524@psf.upfronthosting.co.za>
2016-07-29 20:04:40brett.cannonlinkissue27524 messages
2016-07-29 20:04:40brett.cannoncreate