diff options
author | Christian Heimes <christian@python.org> | 2022-03-14 13:40:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 13:40:28 (GMT) |
commit | f00ced8396f2d7683e58b9d5ebbf5797992bf477 (patch) | |
tree | e1c82c567bab35043f594f54f756a0b0432ddd89 /Misc | |
parent | 23abae621f579014eb29d5c6621f031c8a1a4057 (diff) | |
download | cpython-f00ced8396f2d7683e58b9d5ebbf5797992bf477.zip cpython-f00ced8396f2d7683e58b9d5ebbf5797992bf477.tar.gz cpython-f00ced8396f2d7683e58b9d5ebbf5797992bf477.tar.bz2 |
bpo-40280: select: Use NULL for empty fdset (GH-31865)
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-03-14-09-26-42.bpo-40280.2-k8TV.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-03-14-09-26-42.bpo-40280.2-k8TV.rst b/Misc/NEWS.d/next/Library/2022-03-14-09-26-42.bpo-40280.2-k8TV.rst new file mode 100644 index 0000000..f27c968 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-03-14-09-26-42.bpo-40280.2-k8TV.rst @@ -0,0 +1 @@ +:func:`select.select` now passes ``NULL`` to ``select`` for each empty fdset. |