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

GH-124985: Document that `pathlib.Path.copy()` uses copy-on-write. by barneygale · Pull Request #125861 · python/cpython · GitHub

/ cpython Public

GH-124985: Document that pathlib.Path.copy() uses copy-on-write. - #125861

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-124985
Nov 5, 2024
Merged

GH-124985: Document that pathlib.Path.copy() uses copy-on-write.#125861
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-124985

Conversation

barneygale commented Oct 22, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor Author

@opk12 how does this look?

opk12 commented Oct 23, 2024

Copy link
Copy Markdown

Thank you! Note for the future myself, the call chain is Path.copy() -> Path._copy_file() -> _os.copyfileobj() which does EAFP around FICLONE.

barneygale requested a review from AA-Turner October 27, 2024 18:36
barneygale requested a review from hugovk November 4, 2024 20:38

Copy link
Copy Markdown
Contributor Author

Thanks for the reviews, all!

barneygale merged commit ff83499 into python:main Nov 5, 2024
picnixz pushed a commit to picnixz/cpython that referenced this pull request Dec 8, 2024
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
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

Labels

docs Documentation in the Doc dir skip news topic-pathlib

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL