On 8/3/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> 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.

Eh, I am not so hot on this idea.  I see your argument, Phillip, but I
just don't think it will be useful enough to warrant its introduction.
 Could add to the exceptions module, though.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to