Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'memory.': 0.05; 'terry': 0.07; 'pm,': 0.10; 'wrote:': 0.14; 'reedy': 0.16; 'thier': 0.16; 'header:In-Reply-To:1': 0.21; 'received:209.85.210.174': 0.23; 'received:mail-iy0-f174.google.com': 0.23; 'values.': 0.23; 'objects': 0.23; "i'm": 0.27; 'variables': 0.29; 'andrew': 0.32; 'to:addr:python-list': 0.33; 'copying': 0.33; 'header:User- Agent:1': 0.35; 'message-id:@gmail.com': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'pretty': 0.37; 'two': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'received:192': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'received:192.168.1': 0.40; 'subject:!': 0.67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=sB6LjmoeHVvFjkBXdbI4/CX5Yxxsz9JC1XcO6oaj8Bg=; b=BC0X+ZdrmQnMsu1gYvG8csJhz7jKAoNWTozcSDIVmAJiy/Ne/UVfGI0JLn0dp5SxNo KfLtNMK9b/Jg4wdD3BnsCuD/FjW7f2lh38X6ModyL/i/sspzkQGwMP3M6vRGYXWR8EF1 Xu2zOcD+GA5ZmG28tJqxEJcwY+E4wnjn2BNHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=pS4Cu5SHxT/S1GR5vCgdv571X1EN1J+CQ5kwiqkKvIKEDgLxsthKSHgnfL/e0pZ6cU 2/Rga1lJP0ZkSGRmVD1E3dLVMogdeSrecabIYNuwuBl/i++gKWEPfLjx4dXuiaZ66WjU jT1DifkgAPzCnzppArlhFiJ9hx+qn7K5B5Qr8= Date: Sat, 11 Jun 2011 21:21:28 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: __dict__ is neato torpedo! References: <4DF41735.60307@gmail.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307845298 news.xs4all.nl 49181 [::ffff:82.94.164.166]:57788 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7466 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.