The trouble with "dynamic attributes".

James Mills prologic at shortcircuit.net.au
Thu Sep 16 18:06:03 EDT 2010


On Fri, Sep 17, 2010 at 7:46 AM, John Nagle <nagle at animats.com> wrote:
> There's a tendency to use "dynamic attributes" in Python when
> trying to encapsulate objects from other systems.  It almost
> works.  But it's usually a headache in the end, and should be
> discouraged.  Here's why.


What do you mean by "dynamic attributes " ?

Can you show a simple code example ?

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"



More information about the Python-list mailing list