Exception Handling in Python 3
Gregory Ewing
greg.ewing at canterbury.ac.nz
Fri Oct 29 05:30:39 EDT 2010
Chris Rebert wrote:
> Your Traceback is merely being made slightly longer/more
> complicated than you'd prefer; however, conversely, what if a bug was
> to be introduced into your exception handler? Then you'd likely very
> much appreciate the "superfluous" Traceback info.
I think what's disturbing about this is that the two halves of
the extended traceback are printed in the wrong order. We're
all used to looking down the bottom of the traceback to see
where the error originated, but with the new format, that point
is buried somewhere in the middle.
--
Greg
More information about the Python-list
mailing list