STINNER Victor added the comment: signal_check_nonblocking.patch: signal.set_wakeup_fd() now raises a ValueError if the file descriptor is in blocking mode.
The patch depends on the patch of the issue #22054. I didn't test the patch on Windows, but all calls to signal.set_wakeup_fd() must fail with ValueError since it's not possible to set a file in non-blocking mode. See the issue #22018 which proposes to support sockets for signal.set_wakeup_fd(). ---------- Added file: http://bugs.python.org/file36131/signal_check_nonblocking.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22042> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com