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 steve.dower
Recipients Arfrever, chris.jerdonek, pitrou, steve.dower, xtreak
Date 2020-04-14.19:23:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586892206.88.0.822716007078.issue23082@roundup.psfhosted.org>
In-reply-to
Content
I agree it's worth improving the error message (and probably the docs too).

It's never made clear that relative_to only looks deeper (won't ever generate leading ".." parts) - the closest hint in the docs is that os.path.relpath is different (and that isn't even in the relative_to() section).


Tagging this easy/newcomer friendly. If you'd like to work on it, just post here - I'm happy to help get it merged.
History
Date User Action Args
2020-04-14 19:23:26steve.dowersetrecipients: + steve.dower, pitrou, Arfrever, chris.jerdonek, xtreak
2020-04-14 19:23:26steve.dowersetmessageid: <1586892206.88.0.822716007078.issue23082@roundup.psfhosted.org>
2020-04-14 19:23:26steve.dowerlinkissue23082 messages
2020-04-14 19:23:26steve.dowercreate