Skip to content

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Feb 21, 2025

In pathlib.Path.copy() and move(), return a fresh Path object with an unpopulated info attribute, rather than a Path object with information recorded prior to the path's creation.

…ove()`

In `pathlib.Path.copy()` and `move()`, return a fresh `Path` object with an
unpopulated `info` attribute, rather than a `Path` object with information
recorded *prior* to the path's creation.
@barneygale barneygale merged commit 78e09a4 into python:main Feb 24, 2025
43 checks passed
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…ove()` (python#130424)

In `pathlib.Path.copy()` and `move()`, return a fresh `Path` object with an
unpopulated `info` attribute, rather than a `Path` object with information
recorded *prior* to the path's creation.
Sign up for free to 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