Skip to content

gh-146139: Disable socketpair authentication on WASI#146140

Open
dicej wants to merge 1 commit intopython:mainfrom
dicej:disable-sockepair-auth-on-wasi
Open

gh-146139: Disable socketpair authentication on WASI#146140
dicej wants to merge 1 commit intopython:mainfrom
dicej:disable-sockepair-auth-on-wasi

Conversation

@dicej
Copy link

@dicej dicej commented Mar 18, 2026

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.

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.
@bedevere-app
Copy link

bedevere-app bot commented Mar 18, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

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.

1 participant