[Python-Dev] Proposing a sys.special_exceptions tuple
Nick Coghlan
ncoghlan at email.com
Fri Oct 1 08:03:02 CEST 2004
A candidate implementation is up at SF. Patch # 1038256.
It uses the name 'special_exceptions' and includes SystemExit, MemoryError,
KeyboardInterrupt and StopIteration (adding/removing exceptions from the list is
easy, as is changing the name).
One version of the patch creates 'exceptions.special_exceptions' only, and the
other version also creates a builtin.
Cheers,
Nick.
--
Nick Coghlan
Brisbane, Australia
More information about the Python-Dev
mailing list