]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-104996: Defer joining of `pathlib.PurePath()` arguments. (GH-104999) (GH...
authorBarney Gale <barney.gale@gmail.com>
Wed, 7 Jun 2023 23:25:45 +0000 (00:25 +0100)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2023 23:25:45 +0000 (00:25 +0100)
commitae25f1c8e5522dee4131a3b48490cdb199e9ae22
tree1f145d624fa05b5880be8feb071d29ec7c596dbc
parent4b2263e4bf4952cf9671298f5cde2bc92333223b
[3.12] GH-104996: Defer joining of `pathlib.PurePath()` arguments. (GH-104999) (GH-105483)

Joining of arguments is moved to `_load_parts`, which is called when a
normalized path is needed.

(cherry picked from commit ffeaec7e60c88d585deacb10264ba7a96e5e52df)
Lib/pathlib.py
Misc/NEWS.d/next/Library/2023-05-26-21-24-06.gh-issue-104996.aaW78g.rst [new file with mode: 0644]