{{ message }}
gh-146205: Check the errno with != 0 in close impls in select module#146206
Merged
vstinner merged 2 commits intoMar 20, 2026
Merged
gh-146205: Check the errno with != 0 in close impls in select module#146206vstinner merged 2 commits into
vstinner merged 2 commits into
Conversation
vstinner
approved these changes
Mar 20, 2026
vstinner
left a comment
Member
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Hide details
View details
vstinner
merged commit
9f9faa2
into
python:main
Mar 20, 2026
54 checks passed
Member
|
PR merged, thanks for the fix. I'm not sure about backporting this change to 3.13 and 3.14. This change can cause applications to start failing since errors were ignored silently previously. I prefer to only introduce the change in Python 3.15. |
Sorry, something went wrong.
ljfp
pushed a commit
to ljfp/cpython
that referenced
this pull request
Apr 25, 2026
…odule (python#146206) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
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
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Also changed to set the
errnotoerronly iferr != 0.