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 Antony.Lee
Recipients Antony.Lee, aukbten, javawizard, pitrou
Date 2016-03-23.20:29:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458764970.98.0.856831007555.issue20012@psf.upfronthosting.co.za>
In-reply-to
Content
Kindly bumping the issue.
I'd suggest overriding `PurePath.relative_to` in the `Path` class, to something like `PurePath.relative_to(self, other, *, allow_ancestor=False): ...`, which would resolve each ancestor of `self` successively to check whether it is also an ancestor of `other`, so that symlinks would be handled correctly.
History
Date User Action Args
2016-03-23 20:29:31Antony.Leesetrecipients: + Antony.Lee, pitrou, javawizard, aukbten
2016-03-23 20:29:30Antony.Leesetmessageid: <1458764970.98.0.856831007555.issue20012@psf.upfronthosting.co.za>
2016-03-23 20:29:30Antony.Leelinkissue20012 messages
2016-03-23 20:29:30Antony.Leecreate