Comment 4 for bug 920300

Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: [Bug 920300] Re: Does not handle KeyboardInterrupt

On 01/31/2012 09:29 AM, Vadim Rutkovsky wrote:
> Can't we just handle it and show pretty 'Cancelled' output? See
> http://effbot.org/zone/stupid-exceptions-keyboardinterrupt.htm for
> example
>

Please re-read my previous comment. Unless you patch python there is
nothing an application can do to prevent this. We _do_ handle
KeyboardInterrupt exceptions by the way, just that most people don't get
to see that one as it simply silently quits.