STINNER Victor added the comment: > Does you have an idea if set_wakeup_fd() is used on Windows? It's not > possible to use it with select.select() because on Windows this function only > accepts sockets. I don't know if it's possible to watch a pipe using IOCP. Is > set_wakeup_fd() used by Twisted, Tornado or another project on Windows?
I checked Twisted: signal.set_wakeup_fd() is only used on POSIX, as expected (since it doesn't work with select on Windows). But Twisted sets a signal handler for SIGINT, SIGTERM and SIGBREAK. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22018> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com