A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-August/055113.html below:

Exception Reorganization for Python 3.0

[Python-Dev] PEP, take 2: Exception Reorganization for Python 3.0Phillip J. Eby pje at telecommunity.com
Wed Aug 3 15:24:27 CEST 2005
At 11:10 PM 8/3/2005 +1000, Nick Coghlan wrote:
>     New exceptions:
>       - Raisable (new base)
>       - ControlFlow (inherits from Raisable)
>       - CriticalError (inherits from Raisable)
>       - GeneratorExit (inherits from ControlFlow)
>     Added inheritance:
>       - Exception from Raisable
>       - StopIteration, SystemExit, KeyboardInterrupt from ControlFlow
>       - SystemError, MemoryError from CriticalError

+1

I'd also like to see a "Reraisable" or something like that to cover both 
CriticalError and ControlFlow, but it could be a tuple of those two bases 
rather than a class.  But that's just a "would be nice" feature.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4