Skip to content

GH-125413: pathlib.Path.copy(): get common metadata keys only once - #125990

Closed
barneygale wants to merge 1 commit into
python:mainfrom
barneygale:gh-125413-improve-copy
Closed

GH-125413: pathlib.Path.copy(): get common metadata keys only once#125990
barneygale wants to merge 1 commit into
python:mainfrom
barneygale:gh-125413-improve-copy

Conversation

@barneygale

@barneygalebarneygale commented Oct 25, 2024

Copy link
Copy Markdown
Contributor

Improve pathlib._abc.PathBase.copy() (which provides Path.copy()) by fetching operands' supported metadata keys up-front, rather than once for each path in the tree.

This prepares the way for using os.DirEntry objects in copy().

… once
Improve `pathlib._abc.PathBase.copy()` (which provides `Path.copy()`) by
fetching operands' supported metadata keys up-front, rather than once for
each path in the tree.
This prepares the way for using `os.DirEntry` objects in `copy()`.
@barneygale

Copy link
Copy Markdown
ContributorAuthor

Superseded by #126263

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale