[Python-Dev] closure semantics
Guido van Rossum
guido at python.org
Tue Oct 21 20:20:15 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 21 20:20:15 EDT 2003
- Previous message: [Python-Dev] closure semantics
- Next message: [Python-Dev] closure semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Another idea: We could replace the function globals() with an object > that provides __call__ for backwards compatibility, but also has a > special __setattr__. Then global assignment would be 'globals.x = 23'. > Would this be possible? Yes, I just proposed this in my previous response. :-) --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] closure semantics
- Next message: [Python-Dev] closure semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list