Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Oct 22, 2024

@barneygale
Copy link
Contributor Author

@opk12 how does this look?

@opk12
Copy link

opk12 commented Oct 23, 2024

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

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.

3 participants