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
{{ message }}
Repository navigation
Interrupt on swallowed KeyboardInterrupt exceptions (SIGINT) when pressing twice (within 5 seconds) #1550
Consider
It is impossible to interrupt. But it does not have to be! With Python 3.12 we now have
sys.monitoringand could instead show:Current behaviour:
Screencast.From.2026-08-25.14-31-13.mp4
Proposed behaviour:
Screencast.From.2026-08-25.14-37-28.mp4
This would be similar to what jupyter-server does for interrupts with Ctrl + C (pressing it twice forces shutdown).