[issue22042] signal.set_wakeup_fd(fd): raise an exception if the fd is in blocking mode

STINNER Victor report at bugs.python.org
Wed Jul 30 00:08:15 CEST 2014


STINNER Victor added the comment:

On Windows, it looks like it's not possible to test if a socket handle (int, not a socket object) is blocking or not. The WSAIsBlocking() function was removed, it's only possible to set the flag using ioctlsocket().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22042>
_______________________________________


More information about the Python-bugs-list mailing list