Skip to content

bpo-40280: select: Use NULL for empty fdset (GH-31865)#31865

Merged
tiran merged 1 commit intopython:mainfrom
tiran:bpo-40280-select
Mar 14, 2022
Merged

bpo-40280: select: Use NULL for empty fdset (GH-31865)#31865
tiran merged 1 commit intopython:mainfrom
tiran:bpo-40280-select

Conversation

@tiran
Copy link
Member

@tiran tiran commented Mar 14, 2022

wasm32-emscripten does not support exceptfds and requires NULL. Python
now passes NULL instead of a fdset pointer when the input list is empty.
This works fine on all platforms and might even be a tiny bit faster.

Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue40280

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants