[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2021-03-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2021-03-12 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-07-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch type: -> behavior ___ Python tracker ___

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-07-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-02-07 Thread Nathaniel Smith
Nathaniel Smith added the comment: > Please don't do that. In Python, we have a long tradition of trying to > provide thin wrappers to OS functions: os and select modules are good example. I don't find this argument terribly convincing... Python also has a long history of papering over small

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-02-07 Thread STINNER Victor
STINNER Victor added the comment: > 2) Modify the select.select() wrapper so that it behaves consistently on all > operating systems, by special-casing this situation on Windows. Please don't do that. In Python, we have a long tradition of trying to provide thin wrappers to OS functions: os

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-02-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-02-07 Thread Berker Peksag
Berker Peksag added the comment: See http://bugs.python.org/issue25680#msg255116 for Guido's comment on platform differences. -- nosy: +berker.peksag ___ Python tracker

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-01-14 Thread Eryk Sun
Eryk Sun added the comment: Some WinSock functions are just dispatchers that call a provider function. The dispatch table is set up when WinSock (i.e. ws2_32.dll) calls the WSPStartup function [1] of a provider DLL (e.g. mswsock.dll). In the case of select(), it calls the socket provider's

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-01-12 Thread Nathaniel Smith
New submission from Nathaniel Smith: If SelectSelector.select() is called when there are no fds registered, then it ends up calling select.select([], [], [], timeout). On sensible operating systems, this is equivalent to time.sleep(timeout). On Windows, it raises an error. Asyncio manages to