[Python-Dev] Let's just *keep* lambda
Josiah Carlson
jcarlson at uci.edu
Thu Feb 9 02:39:38 CET 2006
More information about the Python-Dev mailing list
Thu Feb 9 02:39:38 CET 2006
- Previous message: [Python-Dev] Let's just *keep* lambda
- Next message: [Python-Dev] Let's just *keep* lambda
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jiwon Seo <seojiwon at gmail.com> wrote: > > On 2/8/06, Guido van Rossum <guido at python.org> wrote: > > On 2/8/06, Patrick Collison <patrick at collison.ie> wrote: > > > And to think that people thought that keeping "lambda", but changing > > > the name, would avoid all the heated discussion... :-) > > > > Note that I'm not participating in any attempts to "improve" lambda. > > Then, is there any chance anonymous function - or closure - is > supported in python 3.0 ? Or at least have a discussion about it? > > or is there already discussion about it (and closed)? Closures already exist in Python. >>> def foo(bar): ... return lambda: bar + 1 ... >>> a = foo(5) >>> a() 6 - Josiah
- Previous message: [Python-Dev] Let's just *keep* lambda
- Next message: [Python-Dev] Let's just *keep* lambda
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list