[Python-Dev] PEP 344 (was: with_traceback)
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Mar 3 05:12:04 CET 2007
Guido van Rossum wrote:
> Perhaps we could allow reraising whenever the
> existing traceback chain contains a reference to a frame that is an
> ancestor of (or equal to) the newly raising frame?
This is starting to sound terribly hairy.
Would it help if a different syntax were used for
raising and reraising? Raising would complain if
there were already a traceback, and reraising
would expect an existing traceback and extend
it.
--
Greg
More information about the Python-Dev
mailing list