inner classes in python as inner classes in Java

Carlo v. Dango oest at soetu.eu
Wed Oct 15 17:47:27 EDT 2003


Comming to think of it, it can't be done in python! Since there is no way 
to denote you want to access a field rather than creating a new one, 
__setattr__ will have no changes of knowing when to create the field or 
look it up in the outer scope... this suxx man... I never understood the 
smart thing about that feature in python.. anyone care to enlighten me?

  <- carlo ->


-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/




More information about the Python-list mailing list