[Python-ideas] Proposal for Ruby-style anonymous block functions (that don't kill the indention)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Nov 14 05:22:42 CET 2008


Jan Kanis wrote:
> One major technical problem with this is that it would stop the python
> grammar from being LL1

Not necessarily. You could just allow any expression-statement
to be followed by a block, and sort out whether it makes sense
later on.

-- 
Greg



More information about the Python-ideas mailing list