Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 6, 2026

The documentation incorrectly stated that the file descriptor is not
inherited by child processes. In reality, the close-on-exec flag (when
available) only prevents inheritance across exec() calls, not fork().
(cherry picked from commit e79c9b7)

Co-authored-by: ADITYA RAI adi.hack1234@gmail.com
Co-authored-by: Victor Stinner vstinner@python.org


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

… inheritance behavior (pythonGH-142338)

The documentation incorrectly stated that the file descriptor is not
inherited by child processes. In reality, the close-on-exec flag (when
available) only prevents inheritance across exec() calls, not fork().
(cherry picked from commit e79c9b7)

Co-authored-by: ADITYA RAI <adi.hack1234@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Jan 6, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jan 6, 2026
@vstinner vstinner enabled auto-merge (squash) January 6, 2026 17:10
@vstinner vstinner merged commit e57cf1c into python:3.13 Jan 6, 2026
29 of 30 checks passed
@miss-islington miss-islington deleted the backport-e79c9b7-3.13 branch January 6, 2026 17:14
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jan 6, 2026
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants