[Python-3000] raise with traceback?

Georg Brandl g.brandl at gmx.net
Sun Aug 20 17:21:35 CEST 2006


Hi,

as

   raise ValueError, "something went wrong"

is going to go away, how will one raise with a custom traceback?
The obvious

   raise ValueError("something went wrong"), traceback

or something more esoteric like

   raise ValueError("something went wrong") with traceback

?

Georg



More information about the Python-3000 mailing list