[Python-3000] self-contained exceptions
Phillip J. Eby
pje at telecommunity.com
Thu Jan 11 22:05:57 CET 2007
At 03:33 PM 1/11/2007 -0500, Terry Reedy wrote:
>Yes, I already see it that way. It would be nice if the rule for 'as'
>targets were as consistent as possible (ie, at least the same for except
>and with)
No can do - with needs tuples, except isn't getting them.
If we did allow tuples in both cases, the "except" ones wouldn't be cleared
at the end of the block, but the "with" ones would... unless we decided to
make them all go away. There might be sane reasons for doing that with
"with", but I'm not sure those reasons apply to "except".
(sigh) Good language design is *hard*.
More information about the Python-3000
mailing list