FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-125413: Fix stale metadata from `pathlib.Path.copy()` and `move()` by barneygale · Pull Request #130424 · python/cpython · GitHub

/ cpython Public

GH-125413: Fix stale metadata from pathlib.Path.copy() and move() - #130424

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-125413-return-fresh-info
Feb 24, 2025
Merged

GH-125413: Fix stale metadata from pathlib.Path.copy() and move()#130424
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-125413-return-fresh-info

Conversation

barneygale commented Feb 21, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL