On Tuesday 28 October 2003 01:11 am, Barry Warsaw wrote: ... > What I really want is access to a namespace, and then all the normal > Python attribute access notations just work. They're one honking great > idea after all. Yes, all in all this does remain my preference, too. I'd take stropping (or "keyword stropping" a la Greg's "outer x") rather than declarative stuff, but just getting a namespace (in ways the compiler could recognize, i.e. by magicnames such as __me__) and then using __me__.x=23 would require no new syntax and be maximally obvious. Sigh. > This was behind the "import __me__" suggestion for access to module > globals. Why can't we have something similar for nested functions? And why can't we have "import __me__" too? Ah well! 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