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

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


Collin Winter wrote:

> Do those who oppose __traceback__ also oppose __cause__ and
> __context__?

They would seem to have the same problems. Whatever
solution is adopted for the traceback should probably
be applied to them as well, perhaps by generalising
the traceback into an "exception context" object
that can hold other info.

--
Greg



More information about the Python-Dev mailing list