[issue14111] IDLE Debugger should handle interrupts

Terry J. Reedy report at bugs.python.org
Sat May 7 18:56:25 EDT 2016


Terry J. Reedy added the comment:

'raise KeyboardInterrupt' in code causes shell to hang until Restart Shell Cntl-F6 in invoked.

>>> 
[DEBUG ON]
>>> raise KeyboardInterrupt
<debug window activates.  Hit [step].  Window deactivates.  No prompt, even in response to Enter.  Shell unresponsive.>
<Restart Shell>
=============================== RESTART: Shell ===============================
[DEBUG ON]
>>> 

The behavior was noted by pperry on #26949, which is about SystemExit behavior.  I currently think it part of this issue.

----------
stage:  -> patch review
type: enhancement -> behavior
versions: +Python 3.6 -Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14111>
_______________________________________


More information about the Python-bugs-list mailing list