Author pitrou
Recipients pitrou, vstinner
Date 2019-07-26.15:56:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564156564.69.0.23140154802.issue37689@roundup.psfhosted.org>
In-reply-to
Content
Right now, to know whether a Path is relative to another one, you have to call Path.relative_to(), catch ValueError, and act in consequence.

It would be nice to have a Path.is_relative_to() that does the equivalent for you and returns True/False.

This is probably a good easy issue for a beginner contributor.
History
Date User Action Args
2019-07-26 15:56:04pitrousetrecipients: + pitrou, vstinner
2019-07-26 15:56:04pitrousetmessageid: <1564156564.69.0.23140154802.issue37689@roundup.psfhosted.org>
2019-07-26 15:56:04pitroulinkissue37689 messages
2019-07-26 15:56:04pitroucreate