Martin Panter added the comment:
I think this is a duplicate of Issue 29256. Issue 25680 also discusses platform
differences with no file descriptors.
--
nosy: +martin.panter
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Windows select() errors o
New submission from Ralph Loader :
The following one liner gives an error on windows but not on linux:
```
import selectors ; selectors.DefaultSelector().select(timeout=1)
```
It appears that the windows select() function with no FDs set gives an error
but on Linux it is equivalent to a sleep