[issue1294] Management of KeyboardInterrupt in cmd.py
Ilya Sandler
report at bugs.python.org
Fri Nov 13 08:00:07 CET 2009
Ilya Sandler <ilya.sandler at gmail.com> added the comment:
> But currently, CTRL-C terminates the session instead of propagating
upstream
I am not sure I understand: currently Ctrl-C generates a
KeyboardInterrupt, which can be caught by the application which can
then decide how to proceed (in particular it can start another command
loop or exit with a meaningful message or anything else).
This patch would suppress KeyboardInterrupt and thus interfere with such
applications. Or am I missing something?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1294>
_______________________________________
More information about the Python-bugs-list
mailing list