[Python-3000] Pre-peps on raise and except changes (was: Warning for 2.6 and greater)
Georg Brandl
g.brandl at gmx.net
Fri Feb 9 19:41:53 CET 2007
Collin Winter schrieb:
> The raise- and except-related PEPs from this discussion have been
> committed as PEP 3109 and PEP 3110, respectively.
One question: will there be an exception keyword argument to set the
traceback, to simplify
e = Error(V)
e.__traceback__ = tb
raise e
to
raise Error(V, traceback=tb)
I remember this being proposed, but could not find it in the PEPs.
Georg
More information about the Python-3000
mailing list