[issue44078] Output relative path when using PurePath.relative_to

2022-02-22 Thread Socob
Change by Socob <206a8...@opayq.com>: -- nosy: +Socob ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue44078] Output relative path when using PurePath.relative_to

2021-05-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> pathlib's relative_to should behave like os.path.relpath ___ Python tracker _

[issue44078] Output relative path when using PurePath.relative_to

2021-05-08 Thread Andrei Kulakov
Andrei Kulakov added the comment: duplicate of https://bugs.python.org/issue40358 , which has an open patch. -- nosy: +andrei.avk ___ Python tracker ___ __

[issue44078] Output relative path when using PurePath.relative_to

2021-05-08 Thread Mark Hammond
New submission from Mark Hammond : Comparing two paths, PurePath.relative_to fails with ValueError if the second path is not in the first. >>> Path('/a/b').relative_to('/a/b/c') Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.9/pathlib.py", line 928, in relat