SIGN IN SIGN UP

gh-146139: Disable `socketpair` authentication on WASI (#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.

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
J
Joel Dice committed
a5b76d53bb29afd864243f44ef22968f6385dfa0
Parent: d22922c
Committed by GitHub <noreply@github.com> on 4/13/2026, 9:06:36 PM