__dict__ is neato torpedo!

Andrew Berg bahamutzero8825 at gmail.com
Sat Jun 11 22:21:28 EDT 2011


On 2011.06.11 09:12 PM, Terry Reedy wrote:
> On 6/11/2011 9:32 PM, Andrew Berg wrote:
> > I'm pretty happy that I can copy variables and their value from one
>
> You are copying names and their associations, but not the objects or 
> thier values.
Associations? The update() method copies the values; a.val1 and b.val1
point to two different places in memory.



More information about the Python-list mailing list