[issue22018] signal: accept socket for signal.set_wakeup_fd()

STINNER Victor report at bugs.python.org
Sun Jul 20 23:34:54 CEST 2014


STINNER Victor added the comment:

> Perhaps the API should take a socket object on Windows to avoid any confusion?

I don't know if the feature is useful, but signal.set_wakeup_fd() works on Windows since at least Python 2.7 and accepts files. Only supporting sockets would be a regression.

----------

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


More information about the Python-bugs-list mailing list