[Python-Dev] PEP 348 (exception reorg) revised again

Scott David Daniels Scott.Daniels at Acm.Org
Mon Aug 15 21:27:57 CEST 2005

Toby Dickenson wrote:
> On Monday 15 August 2005 14:16, Raymond Hettinger wrote:
> The rationale for including TerminatingException in the PEP would also be 
> satisfied by having a TerminatingExceptions tuple (in the exceptions 
> module?). It makes sense to express the classification of exceptions that are 
> intended to terminate the interpreter, but we dont need to express that 
> classification as inheritence.

An argument _for_ TerminatingException as a class is that I can
define my own subclasses of TerminatingException without forcing
it to being a subclass of KeyboardInterrupt or SystemExit.

-- Scott David Daniels
Scott.Daniels at Acm.Org

More information about the Python-Dev mailing list