Nick Coghlan wrote: > A new keyword, on the other hand, allows the list to be split relatively > cleanly into four possible locations: > > 1. function locals of the current function (local variables) > 2. function locals of an enclosing function (closure variables) > 3. module globals (global variables) > 4. builtins (builtin names)
I don't see what's so important about treating the module namespace differently from other lexically enclosing scopes for the purpose of resolving names. Especially only for *assignment* to names. For read access, we seem to get on just fine without any keywords to give us a hint what level to look in. What's different about assignment that we suddenly feel such a need for them? -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com