STINNER Victor added the comment: Attached interrupt_main.patch fixes for _thread.interrupt_main(): raise an exception if the SIGINT signal is ignored (SIG_IGN) or not handled by Python (SIG_DFL).
My patch updates the documentation and addds unit tests. issue23395.2.patch looks wrong: it's not the right place to handle the error. ---------- Added file: http://bugs.python.org/file43560/interrupt_main.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23395> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com