gh-117584: Raise TypeError for non-paths in posixpath.relpath()#117585
gh-117584: Raise TypeError for non-paths in posixpath.relpath()#117585serhiy-storchaka merged 5 commits intopython:mainfrom
posixpath.relpath()#117585Conversation
Misc/NEWS.d/next/Core and Builtins/2024-04-06-16-42-34.gh-issue-117584.hqk9Hn.rst
Outdated
Show resolved
Hide resolved
…e-117584.hqk9Hn.rst Co-authored-by: AN Long <aisk@users.noreply.github.com>
|
If the |
….gh-issue-117584.hqk9Hn.rst" This reverts commit 27d0c70.
…e-117584.hqk9Hn.rst Co-authored-by: AN Long <aisk@users.noreply.github.com>
|
No we can not, that doesn't work for Pathlike objects nor bytes. |
|
@serhiy-storchaka can we back port this to 3.12? It's a pure bug fix. |
|
GH-119388 is a backport of this pull request to the 3.12 branch. |
|
I do not think this is a bug fix. Normally you should not pass |
|
Thanks, closed the pull request. |
posixpath.relpath()#117584