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--143486.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 22a99ca into python:3.14 Jan 6, 2026
35 of 36 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jan 6, 2026
@miss-islington miss-islington deleted the backport-e79c9b7-3.14 branch January 6, 2026 17:14
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