Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'reject': 0.07; 'creation,': 0.09; 'false.': 0.09; 'part,': 0.09; 'sentence': 0.09; 'question.': 0.14; 'changes': 0.15; '"every': 0.16; 'addr': 0.16; 'created;': 0.16; 'creation.': 0.16; 'did.': 0.16; "object's": 0.16; 'quoted': 0.16; 'ties': 0.16; 'language': 0.16; 'wrote:': 0.18; 'value.': 0.19; 'feb': 0.22; 'memory': 0.22; '15,': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'object.': 0.31; 'obliged': 0.31; 'fri,': 0.33; 'definition': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; '14,': 0.36; 'two': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'anything': 0.39; 'does': 0.39; 'quote': 0.39; 'to:addr:python.org': 0.39; 'address.': 0.39; 'skip:u 10': 0.60; 'ian': 0.60; 'first': 0.61; 'address': 0.63; 'myself': 0.63; 'provide': 0.64; 'more': 0.64; 'detail.': 0.68; 'address,': 0.75; 'introduce': 0.78; 'concept.': 0.84; 'space- time': 0.84; 'notion': 0.91; 'states,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=iTi8Gq10jswBezNFoqFc8YEs7dPpYayS92MQK8ZaAZ4=; b=QeT6ELP4BbL8kL+GqkCTtygrvElkrvOaS1HZhunQkB/skdrePDR56ClDnJV6WA2/2X tj57xrv+RP0UDWGFhtQrN3eeHeFB4FK5/HCoCirDxRfrQkVkwxyHFZzlf1c37gfE/SjM J511VjRzdzrZCPQ5bt0fVxzMqX0Oj9pJ9UPPSgecdKyqIFgx6NDrfHZnTnjKTQJWKV/0 2C1H6NGGkV6frf8Ue5FQUdJ6ZLKAnXb3woj0Z9KdmHSRBVBo3iWbx56tMIxoMdBUlhV3 y0kjQIfx6JK5WgeepUKpRhPJvf4cHzy+085W3DAl5B1X2PgtuZDXMPcBJ97kN8hQQXxH k0TA== X-Received: by 10.68.108.1 with SMTP id hg1mr13988293pbb.80.1392451728366; Sat, 15 Feb 2014 00:08:48 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <13208de8-0f85-4e60-b059-dc087c8fda41@googlegroups.com> <917ede6d-db7c-4a8c-8203-27677283776b@googlegroups.com> <871tz5piy0.fsf@elektro.pacujo.net> <87vbwho1i0.fsf@elektro.pacujo.net> <87mwhtnzdu.fsf@elektro.pacujo.net> <59c876d3-02f5-4f5a-8728-a5098472e03d@googlegroups.com> <6e96ba97-8ad0-4dad-9d11-b27bf9b237d0@googlegroups.com> From: Ian Kelly Date: Sat, 15 Feb 2014 01:08:07 -0700 Subject: Re: Explanation of list reference To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392451731 news.xs4all.nl 2835 [2001:888:2000:d::a6]:41430 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66392 On Fri, Feb 14, 2014 at 11:07 PM, Rustom Mody wrote: > On Saturday, February 15, 2014 10:50:35 AM UTC+5:30, Ian wrote: >> This is false. It happens to hold for CPython, but that's an >> implementation detail. The definition of object identity does not >> depend on memory address. It also doesn't have anything to do with >> space-time coordinates. The concept of object identity is an >> abstraction, not an analogy from physics. > >> The language reference states, "Every object has an identity, a type >> and a value. An object's identity never changes once it has been >> created; you may think of it as the object's address in memory." >> Okay, so that quote does bring up memory address, but in my >> interpretation that's just an analogy to introduce the concept. The >> more important part of that sentence is the first part, which ties an >> object's identity to its creation. If two objects share the same >> creation, then they're the same object. > > Whats the notion of object identity is the question. > Ok so you reject the memory addr as an 'implementation detail' > Then you are obliged to provide some other way of understanding object-identity I thought that I did. Repeating myself from what you quoted above: If two objects share the same creation, then they're the same object.