[Python-Dev] closure semantics
Michael Chermside
mcherm at mcherm.com
Wed Oct 22 13:34:19 EDT 2003
More information about the Python-Dev mailing list
Wed Oct 22 13:34:19 EDT 2003
- Previous message: [Python-Dev] let's not stretch a keyword's use unreasonably, _please_...
- Next message: [Python-Dev] closure semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Jeremy] > I'm not averse to introducing a new keyword, which would address both > concerns. yield was introduced with apparently little problem, so it seems > possible to add a keyword without causing too much disruption. > > If we decide we must stick with global, then it's very hard to address > Alex's concern about global being a confusing word choice <wink>. [Guido] > OK, the tension is mounting. Which keyword do you have in mind? And > would you use the same keyword for module-globals as for outer-scope > variables? Surely the most appropriate keyword is "scope", right? As in scope a is global scope b is nested scope c is self scope d is myDict Okay... maybe I'm getting too ambitious with the last couple... -- Michael Chermside
- Previous message: [Python-Dev] let's not stretch a keyword's use unreasonably, _please_...
- Next message: [Python-Dev] closure semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list