Note that SIGINT is done through a special Python mechanism that raises an exception on the main python thread. I'm not sure what can be done from pure Python, or even from a C extension.
Note that SIGINT is done through a special Python mechanism that raises an exception on the main python thread. I'm not sure what can be done from pure Python, or even from a C extension.