Skip to content

Conversation

@Yashp002
Copy link
Contributor

@Yashp002 Yashp002 commented Jan 16, 2026

Docs claim atomic overwrite when dst exists. Wrong—Unix leaves old contents readable briefly (new dst appears first, old unlinked after). Matches POSIX but needs explicit warning.

Replaces vague "atomic" block with namespace vs content distinction. No behavior change.

Fixes #143909. CC @pablogsal @a12k1


📚 Documentation preview 📚: https://cpython-previews--143937.org.readthedocs.build/

@picnixz
Copy link
Member

picnixz commented Jan 17, 2026

Please. Stop creating PRs before a triager or a core dev triaged the issue. The change here is too verbose. And stop using LLMs.

@picnixz picnixz closed this Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

os.rename documentation about atomic replace misleading

2 participants