Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.roellig-ltd.de!open-news-network.org!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: Object identity has no necessary connection to memory location Date: Thu, 26 Nov 2015 21:44:41 +0000 Lines: 31 Message-ID: References: <56550273$0$1585$c3e8da3$5496439d@news.astraweb.com> <5655f27b$0$1614$c3e8da3$5496439d@news.astraweb.com> <6imd5b9it55sucrcl95o95tppro7errfsi@4ax.com> <871tbdf2o0.fsf@elektro.pacujo.net> <70qd5b9lbtjlsotn7d21gor4rd67o79ou7@4ax.com> <1esd5bdujvog21u4qu6llhna5c3d573873@4ax.com> <85fuzsa5tz.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de pcnx+fIXwgde96lTz/sYgQXPfCNJ5Z5iPfuEOWG+6Puw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'position,': 0.04; 'from:addr:yahoo.co.uk': 0.05; 'pypy': 0.07; 'exiting': 0.09; "object's": 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'reliably': 0.09; 'subject:Object': 0.09; 'python': 0.10; 'missed': 0.15; 'received:194.126': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'scare': 0.16; 'wrote:': 0.16; 'memory': 0.17; 'numerical': 0.18; 'language': 0.19; 'so.': 0.22; 'lawrence': 0.22; 'seems': 0.23; 'unlike': 0.23; 'header:In-Reply- To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'connected': 0.27; 'url:wikipedia': 0.29; 'url:wiki': 0.30; 'language.': 0.32; 'statement': 0.32; 'done': 0.35; 'identity': 0.35; 'url:org': 0.36; 'alone': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'url:en': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'still': 0.40; 'your': 0.60; 'received:194': 0.61; 'our': 0.64; '>>>>>': 0.66; 'saw': 0.77; 'farrance': 0.84; 'pythonistas,': 0.84; 'subject:location': 0.84; 'subject:necessary': 0.84; 'on?': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 107.93.126.194.pool.dsl.daisyplc.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <85fuzsa5tz.fsf@benfinney.id.au> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99603 On 26/11/2015 20:00, Ben Finney wrote: > Dave Farrance writes: > >>>>> Dave Farrance : >>>>> >>>>>> (Conversely, I see that unlike CPython, all PyPy's numbers have >>>>>> unchanging ids, even after exiting PyPy and restarting, so it seems >>>>>> that PyPy's numerical ids are "faked".) >> >> Hence >> >> https://en.wikipedia.org/wiki/Scare_quotes > > I saw the scare quotes. They still communicate your position that object > identity “should” be reliably connected to the object's memory location. > > Either you don't hold that position, in which case your original > statement was as ambiguous as this most recent one you wrote; or you do > hold that position, and my response stands. > It still fascinates me that after roughly 15 years using Python I've never considered using object identity, let alone actually done so. What, if anything, have I missed out on? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence