[issue1294] Management of KeyboardInterrupt in cmd.py

Philip Zerull report at bugs.python.org
Sat Oct 27 22:15:32 CEST 2012


Philip Zerull added the comment:

Hello,

Being of a similar mindset to draghuram on the do_KeyboardInterrupt idea and thought I'd implement it as a subclass.   While this probably wasn't fully implemented correctly, I think it provides an interesting solution to stephbul's frustrations and won't break anything.

I'm not suggesting that this be included in the standard library but just thought you all might find it interesting.

----------
nosy: +Philip.Zerull
Added file: http://bugs.python.org/file27752/keyboardcmd.py

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


More information about the Python-bugs-list mailing list