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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to