On Friday 24 October 2003 08:26 pm, Oren Tirosh wrote: ... > How about using the word 'global' to get the current module object? > A precedent for this is None which is on its way to becoming a keyword > to get that "particular object". > > A bit of parser magic would be required so global can still work > as a declaration for compatibility. Unfortunately I think Guido clarified in a previous post the amount of parser magic needed for that is excessive -- no lookahead allowed. If we managed to tweak the parser, we'd still have the issue of keyword inappropriateness -- and further stretching if we also want to use it to allow rebinding of outer-scope variables that AREN'T "global" in any sense whatsoever. So I'd much rather have 'scope' and no issue with parser magic... Alex
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4