[Python-ideas] Multi-statement anonymous functions
Nick Coghlan
ncoghlan at gmail.com
Mon Jan 13 14:53:08 CET 2014
On 13 January 2014 21:13, Andrew Barnert <abarnert at yahoo.com> wrote:
> So I assume you haven't read PEP 403 and 3150, and don't intend to, even
> though they directly relate to your idea?
In particular: http://www.python.org/dev/peps/pep-3150/#rejected-alternatives :)
It isn't in PEP 3150 itself any more (since it was no longer relevant
after the PEP switched to explicit forward references), but any
multiple-name-binding based proposal needs to account for the torture
test I created back when PEP 3150 allowed implicit access to the
statement local scope:
http://hg.python.org/peps/file/fc2aa3ef6d34/pep-3150.txt#l300
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list