Message366958
Can we improve pathlib.relative_to(other) so that it handles the case of a path not being a direct child of other, like os.path.relpath?
For example:
Path('/some/thing').relative_to('/foo') -> Path('../some/thing')
At the moment it just raises an exception. |
|
Date |
User |
Action |
Args |
2020-04-22 00:03:03 | d.ragusa | set | recipients:
+ d.ragusa |
2020-04-22 00:03:03 | d.ragusa | set | messageid: <1587513783.17.0.6950267733.issue40358@roundup.psfhosted.org> |
2020-04-22 00:03:03 | d.ragusa | link | issue40358 messages |
2020-04-22 00:03:02 | d.ragusa | create | |
|