[Python-3000] Pre-peps on raise and except changes

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 10 01:33:39 CET 2007


Collin Winter wrote:

> I believe the original proposal was something like
> 
> raise E(V).with_traceback(T)

Does this mean you're not intending to have any syntactic
variant of the raise statement that includes a traceback
in 3.0? Or is this just so that forward-compatible code
can be written in 2.6?

If you wanted a distinctive syntax, it could be something
like

   raise e with t

--
Greg


More information about the Python-3000 mailing list