[Python-3000] self-contained exceptions
Collin Winter
collinw at gmail.com
Wed Jan 10 03:17:00 CET 2007
On 1/9/07, Guido van Rossum <guido at python.org> wrote:
> On 1/8/07, Collin Winter <collinw at gmail.com> wrote:
> > FWIW, I wasn't aware that things like "except T, (a, b, c):" were
> > possible until I started work on this patch; I thought <name> was all
> > you _could_ use.
>
> And, given the secial semantics for this position, I would support
> changing the syntax to *only* allow a single simple name there -- not
> even x.y.z. Thsh should handle 99.9% of existing code anyway.
>
> (And yes, if someone wants to add the 'as' keyword at the same time
> that would be great!
Ask and you shall receive: patch #1631942 implements both the 'as'
keyword for exceptions and the new exception cleanup semantics.
Thanks,
Collin Winter
More information about the Python-3000
mailing list