Message340862
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.
The error on windows:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python37\lib\selectors.py", line 323, in select
r, w, _ = self._select(self._readers, self._writers, [], timeout)
File "C:\Program Files\Python37\lib\selectors.py", line 314, in _select
r, w, x = select.select(r, w, w, timeout)
OSError: [WinError 10022] An invalid argument was supplied
``` |
|
Date |
User |
Action |
Args |
2019-04-25 21:01:32 | Ralph Loader | set | recipients:
+ Ralph Loader, paul.moore, tim.golden, zach.ware, steve.dower |
2019-04-25 21:01:32 | Ralph Loader | set | messageid: <1556226092.9.0.288691315085.issue36726@roundup.psfhosted.org> |
2019-04-25 21:01:32 | Ralph Loader | link | issue36726 messages |
2019-04-25 21:01:32 | Ralph Loader | create | |
|