The 'with' syntax is attractive because it will flag all unconverted
code as a syntax error.
I wonder if "raise ValueError" should still be allowed (as equivalent
to "raise ValueError()") or that it should be disallowed.
--Guido
On 8/20/06, Georg Brandl <[EMAIL PROTECTED]> wrote:
> 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
>
> _______________________________________________
> Python-3000 mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/guido%40python.org
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com