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 SilentGhost
Recipients SilentGhost, cool-RR, pitrou
Date 2016-10-30.08:32:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477816356.1.0.78324864971.issue28560@psf.upfronthosting.co.za>
In-reply-to
Content
Do you mean that /foo was just an arbitrary string, rather than one of the parent directories? Because in that case it seems a perfectly correct way to go about comparison. If /foo was one of the parents, there are plenty of options: .parts, .parents, .relative_to.

It seems like a fairly rare usecase to extend the api.
History
Date User Action Args
2016-10-30 08:32:36SilentGhostsetrecipients: + SilentGhost, pitrou, cool-RR
2016-10-30 08:32:36SilentGhostsetmessageid: <1477816356.1.0.78324864971.issue28560@psf.upfronthosting.co.za>
2016-10-30 08:32:36SilentGhostlinkissue28560 messages
2016-10-30 08:32:35SilentGhostcreate