On Sun, Mar 31, 2002, Tim Peters wrote: > > Names always live in the local, global or builtin namespaces. Well, no. First-level names, yes, but each object itself is a namespace, so every name will be bound to an object that can contain names. To use my favorite example: def f(): pass f.permissions = 'author' (I'm being picky about this because I'm in the middle of writing my PyPerl tutorial for OSCON, and I think this is one of the areas that really needs to be accurate -- so if I'm wrong, I want to know about it.) -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ Why is this newsgroup different from all other newsgroups?
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