You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are hardcoding what happens when cysignals catches a signal. For SIGINT for example, a KeyboardInterrupt is raised. Instead, we could install a Python-level signal handler and then call that.
We could then also monkey-patch signal.signal to set only the Python-level handler and not the OS handler. Then users could use signal.signal as usual and everything would magically work (despite cysignals handling the signal).
The text was updated successfully, but these errors were encountered:
Currently, we are hardcoding what happens when cysignals catches a signal. For
SIGINT
for example, aKeyboardInterrupt
is raised. Instead, we could install a Python-level signal handler and then call that.We could then also monkey-patch
signal.signal
to set only the Python-level handler and not the OS handler. Then users could usesignal.signal
as usual and everything would magically work (despite cysignals handling the signal).The text was updated successfully, but these errors were encountered: