[Python-Dev] closure semantics

Guido van Rossum guido at python.org
Tue Oct 21 22:15:15 EDT 2003


> So maybe the idea of using function attributes isn't totally nuts, if
> you use a special name.  E.g. outer.__locals__.x and outer.__globals__.x

-1.  Way too ugly.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list