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

Toby Dickenson tdickenson at devmail.geminidataloggers.co.uk
Mon Aug 15 16:48:11 CEST 2005

On Monday 15 August 2005 14:16, Raymond Hettinger wrote:

> -1 on replacing "except (KeyboardInterrupt, SystemExit)" with "except
> TerminatingException".  

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.

Toby Dickenson

More information about the Python-Dev mailing list