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.
C
Christian Heimes committed
f00ced8396f2d7683e58b9d5ebbf5797992bf477
Parent: 23abae6
Committed by GitHub <noreply@github.com>
on 3/14/2022, 1:40:28 PM