python name spaces

Aahz aahz at pythoncraft.com
Sun Mar 31 20:50:39 EST 2002


In article <m3n0xfontm.fsf at rmauctor.lsil.com>,
Daniel Ortmann  <dortmann at lsil.com> wrote:
>
>I must admit I am frustrated by Python's seeming lack of powerful name
>space support.  

I'd just like to point out that Python's namespace support is different
from Perl's.  For example, in Python you can do this:

    def foo():
        pass
    
    foo.permissions = 'author'
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list