[Python-ideas] Tweaking closures and lexical scoping to include the function being defined
Ethan Furman
ethan at stoneleaf.us
Wed Sep 28 16:25:01 CEST 2011
Carl Matthew Johnson wrote:
> On Sep 27, 2011, at 1:08 PM, Jan Kaliszewski wrote:
>
>> Guido van Rossum dixit (2011-09-26, 19:48):
>>
>>> OTOH I am happy to let you all bikeshed on a better name.
>> `deflocal`? (definition-time-bound local-scoped var...)
>> `ownlocal`? (function's own local-scoped var...)
>> `boundlocal`?
>
> I think ``rebind expression as name`` reads fine. Not sure if "rebind" exactly gives the right impression though.
I have to retract my support for 'boundlocal', as well as phrase
including bind or bound -- nearly every assignment is a binding, so why
single out this particular one with the name?
~Ethan~
More information about the Python-ideas
mailing list