◐ Shell
clean mode source ↗

Message 262305 - Python tracker

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.