[Python-Dev] Py3k: Except clause syntax

Brett Cannon brett at python.org
Fri Mar 17 20:40:50 CET 2006


On 3/16/06, Alex Martelli <aleaxit at gmail.com> wrote:
>
> On Mar 16, 2006, at 7:30 PM, Brett Cannon wrote:
>     ...
> > I agree.  "as" is taking on the use of assignment in statements that
> > are not ``=`` and I say we just keep on with that.  Plus Greg's above
>
> Hmmm, if we allowed '(<expr> as <var>)' for generic expr's we'd make
> a lot of people pining for 'assignment as an expression' very happy,
> wouldn't we...?

Yes, but I don't want them to be happy.  =)

-Brett


More information about the Python-Dev mailing list