Of closures and expressing anonymous functions [Was: Re: Securing a future for anonymous functions in Python]

Terry Reedy tjreedy at udel.edu
Sat Jan 1 04:25:40 CET 2005


"Simo Melenius" <firstname.lastname at iki.fi-spam> wrote in message 
news:m24qi2w3n0.fsf_-_ at geist.local...
> bokr at oz.net (Bengt Richter) writes:
> Which brings me to the point where I'd welcome more flexibility in
> writing to variables outside the local scope.

This idea was discussed extensively on PyDev perhaps 2 years ago.  (You can 
check the archived summaries if interested enough ;-)  As I remember, there 
was no consensus either on the desireability of such a mechanism or on the 
syntax (several were proposed).

Terry J. Reedy






More information about the Python-list mailing list