Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7466

Re: __dict__ is neato torpedo!

Date 2011-06-11 21:21 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
Subject Re: __dict__ is neato torpedo!
References <4DF41735.60307@gmail.com> <it17a1$vtl$1@dough.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.142.1307845297.11593.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: __dict__ is neato torpedo! Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-11 21:21 -0500

csiph-web