The trouble with "dynamic attributes".

James Mills prologic at shortcircuit.net.au
Fri Sep 17 00:06:03 CEST 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