[Python-ideas] Tweaking closures and lexical scoping to include the function being defined

Paul Moore p.f.moore at gmail.com
Tue Sep 27 09:09:56 CEST 2011


On 27 September 2011 05:12, Guido van Rossum <guido at python.org> wrote:
> "our" is something in Perl, right? My proposal was "own", which is
> much older (Algol-60). Probably nobody else here remembers it.

I do :-)

Not sure that Algol-60 using it is a good enough reason for
recommending it, though. The name didn't make sense to me even back
then... (Actually, after this discussion, the logic is clearer - so
congratulations, Nick, for clarifying a 40-year old puzzle for me!)

Call by name, anyone?
Paul.



More information about the Python-ideas mailing list