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


Groups > comp.lang.python > #7466 > unrolled thread

Re: __dict__ is neato torpedo!

Started byAndrew Berg <bahamutzero8825@gmail.com>
First post2011-06-11 21:21 -0500
Last post2011-06-11 21:21 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#7466 — Re: __dict__ is neato torpedo!

FromAndrew Berg <bahamutzero8825@gmail.com>
Date2011-06-11 21:21 -0500
SubjectRe: __dict__ is neato torpedo!
Message-ID<mailman.142.1307845297.11593.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web