No subject


Sun Nov 12 08:01:13 CET 2006


"Return a dictionary representing the current local symbol table.
Warning: The contents of this dictionary should not be modified; changes
may not affect the values of local variables used by the interpreter."

>
>... it's actually a very bad idea. Use nested lists or a dictionary.
>
>OTOH being able to dynamically create class attributes by writing in
>the class object's __dict__ or by overriding __getattr__ sometimes
>really helps.
>
>-- Gerhard

All the best,
Gonçalo Rodrigues



More information about the Python-list mailing list