[Python-Dev] PEP 344 (was: with_traceback)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 3 04:47:16 CET 2007


Guido van Rossum wrote:

> But what's the advantage of not instantiating the exception if we
> instantiate the context instead?

Probably not much. But most control-flow-exception
catching will just be 'except E:' in which case
you don't need to instantiate anything. (Assuming
we get rid of traceback objects and just link
the frames together directly.)

--
Greg


More information about the Python-Dev mailing list