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. -- http://mail.python.org/mailman/listinfo/python-list
- __dict__ is neato torpedo! Andrew Berg
- Re: __dict__ is neato torpedo! Terry Reedy
- Re: __dict__ is neato torpedo! Andrew Berg
- Re: __dict__ is neato torpedo! Ian Kelly
- Re: __dict__ is neato torpedo! Andrew Berg
- Re: __dict__ is neato torpedo! Ben Finney
- Re: __dict__ is neato torpedo! Andrew Berg
- Re: __dict__ is neato torpedo! Ian Kelly
- Re: __dict__ is neato torpedo! Tim Chase
- Re: __dict__ is neato torpedo! Steven D'Aprano
- Re: __dict__ is neato torpedo! Andrew Berg
- Re: __dict__ is neato torpedo! Steven D'Aprano
- Re: __dict__ is neato torpedo! Hans Mulder