[Python-Dev] with_traceback

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 1 09:42:09 CET 2007


glyph at divmod.com wrote:

> Perhaps the use-cases for attaching the traceback object
> to the exception would be better satisfied by simply having
> sys.exc_info() return an object with methods like Failure?

> I can't think of a good name for the new object type,

Maybe we could call it a 'catch' (used as a noun, as when
a fisherman might say "That's a good catch!")

--
Greg


More information about the Python-Dev mailing list