I ran into a situation where an application (with a ton of open FDs) was calling my application in a popen and did not use close_fd. So the single fd passed into select.select in connection.py had a int value that was too large and select.select throws a ValueError.
Using some other poller may be wise.
Take a look at asyncio.selectors.DefaultSelector for a really nice solution to different poller support on different OS's
I ran into a situation where an application (with a ton of open FDs) was calling my application in a popen and did not use close_fd. So the single fd passed into select.select in connection.py had a int value that was too large and select.select throws a ValueError.
Using some other poller may be wise.
Take a look at asyncio.selectors.DefaultSelector for a really nice solution to different poller support on different OS's