[Python-3000] exception info [was: Discussions with no PEPs] (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 13 00:06:47 CET 2007


Guido van Rossum wrote:

I'm still hoping we can get agreement that storing the traceback on the exception object is the way to go. Only a handful of modules using pre-baked exception objects would have to be fixed, and likely those were doing it out of a misunderstanding of the performance characteristics.

One more thought on this -- do we still think it's a good idea to make it possible to raise and catch an exception in C code without instantiating anything? If so, how does this interact with the idea of attaching the traceback to the exception?

-- Greg



More information about the Python-3000 mailing list