FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-146139: Disable `socketpair` authentication on WASI (GH-146140) by miss-islington · Pull Request #148526 · python/cpython · GitHub

Repository navigation

[3.14] gh-146139: Disable socketpair authentication on WASI (GH-146140) - #148526

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-a5b76d5-3.14
Apr 13, 2026
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-a5b76d5-3.14

Conversation

miss-islington commented Apr 13, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Calling connect(2) on a non-blocking socket on WASI may leave the socket in a
"connecting" but not yet "connected" state. In the former case, calling
getpeername(2) on it will fail, leading to an unhandled exception in Python.
(cherry picked from commit a5b76d5)

Co-authored-by: Joel Dice joel.dice@akamai.com
Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Brett Cannon brett@python.org

…H-146140)

Calling `connect(2)` on a non-blocking socket on WASI may leave the socket in a
"connecting" but not yet "connected" state.  In the former case, calling
`getpeername(2)` on it will fail, leading to an unhandled exception in Python.
(cherry picked from commit a5b76d5)

Co-authored-by: Joel Dice <joel.dice@akamai.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
vstinner enabled auto-merge (squash) April 13, 2026 21:15
vstinner merged commit 592c68c into python:3.14 Apr 13, 2026
50 checks passed
miss-islington deleted the backport-a5b76d5-3.14 branch April 13, 2026 21:34
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL