[Python-Dev] Proposal - KeyboardInterrupt should inherit directly
from Exception (original) (raw)
Skip Montanaro skip@pobox.com (Skip Montanaro)
Thu, 8 Nov 2001 12:31:42 +0100
- Previous message: [Python-Dev] Proposal - KeyboardInterrupt should inherit directly from Exception
- Next message: [Python-Dev] Proposal - KeyboardInterrupt should inherit directly from Exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Skip> Just as raising SystemExit doesn't generate a traceback, perhaps
Skip> the default handling of KeyboardInterrupt could be configurable so
Skip> I could set
...
mal> Isn't this already possible using one of the display hooks in
mal> sys, e.g. sys.excepthook() ?!
Right you are. I wasn't even aware of its existence.
Skip
- Previous message: [Python-Dev] Proposal - KeyboardInterrupt should inherit directly from Exception
- Next message: [Python-Dev] Proposal - KeyboardInterrupt should inherit directly from Exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]