[Python-ideas] Multiple statement lambda expressions
Nick Coghlan
ncoghlan at gmail.com
Sun Aug 25 09:19:39 CEST 2013
More information about the Python-ideas mailing list
Sun Aug 25 09:19:39 CEST 2013
- Previous message: [Python-ideas] Multiple statement lambda expressions
- Next message: [Python-ideas] Multiple statement lambda expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 25 August 2013 15:01, Michael Mitchell <epsilonmichael at gmail.com> wrote: > I think this idea needs some fleshing out. Independent of the readability issues associated with any proposal to expand lambdas out to full function definitions, Guido has mandated that it shall be possible to parse Python's grammer with an LL(1) parser. There's no way such a parser can look ahead far enough to see the double semi-colon to change how earlier semi-colons are parsed. PEPs 403 and 3150 are still the current "state of the art" for proposals to add the equivalent of multi-line lambda capabilities to Python, and both still have fairly major flaws (which is why they're Deferred rather than under active development). Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-ideas] Multiple statement lambda expressions
- Next message: [Python-ideas] Multiple statement lambda expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list