Antony Lee added the comment:

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.

----------
nosy: +Antony.Lee

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20012>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to