Status of PEP's?
David Eppstein
eppstein at ics.uci.edu
Tue Mar 5 20:09:48 EST 2002
In article <3C855C40.9061EF31 at cosc.canterbury.ac.nz>,
Greg Ewing <greg at cosc.canterbury.ac.nz> wrote:
> > the outer expressions should be or_expr to respect Python's
> > precedence rules
>
> I can't find 'or_expr', but I'm looking at the 1.5.2
> grammar. Has it been added later?
I was getting it from the 2.1 grammar.
> > and the inner one should be identifier.
>
> That's a bit too restrictive -- any lvalue should be
> allowed (as for-in does). Unfortunately there's no
> grammar symbol corresponding exactly to an lvalue.
Ok, right. It should be or_expr again, to match the 2.1 grammar.
More information about the Python-list
mailing list