[issue1294] Management of KeyboardInterrupt in cmd.py

Raghuram Devarakonda report at bugs.python.org
Tue Dec 4 04:55:29 CET 2007

Raghuram Devarakonda added the comment:

My patch adds very sensible default behaviour when Ctrl-C or Ctrl-D
are entered. It follows the tradition of many unix programs such as
bash and bc which exit on Ctrl-D and ignore Ctrl-c in one way or
another. Most importantly, a user can always override the behaviour
but I expect the added functionality would suffice in most if not all
cases. Do you mind opening the issue in the hope that we can have more

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list