Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'cache': 0.07; 'memory.': 0.07; 'string': 0.09; 'machines.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'itself.': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'itself,': 0.16; 'point!': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'else,': 0.19; 'pieces': 0.19; 'examples': 0.20; 'feb': 0.22; 'memory': 0.22; 'example': 0.22; 'cc:addr:python.org': 0.22; 'earlier': 0.24; '(or': 0.24; 'cc:2**0': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'talked': 0.31; 'wind': 0.31; 'could': 0.34; 'problem': 0.35; 'etc': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'virtual': 0.37; 'two': 0.37; 'clear': 0.37; 'implement': 0.38; 'problems': 0.38; 'bringing': 0.38; 'pm,': 0.38; 'anything': 0.39; 'even': 0.60; 'lower': 0.61; "you'll": 0.62; 'show': 0.63; 'such': 0.63; 'more': 0.64; 'different': 0.65; 'between': 0.67; 'anything.': 0.68; 'physical': 0.72; 'obvious': 0.74; 'walk': 0.74; 'paper': 0.75; 'around,': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=PDOUeFGJrRbXxiAVriIyllALNDCL52h3tI/8ytm9ejE=; b=zr4ezuYaNiAs4odBfRELOtroa6QKo8QaCMwSwrduNJXxvLomxSXmlB9RYDbgZFx7/o 99m5nhT/RAcwel49CgloXEoJ5XHRexWZ9cj9HF4N/M2DEuYogFmlM7YKEOj1ZNVPMJrc 0fkxiwNoMTROWFeBjoAmNGAK7vjkpRh2OQqRBKNVapFcnZJO841rC79pikZLqgkNjUFq LaZi5tuhaBS+67IdXvc56EjpSqVnW8Fdo5lU28+AyoXktoX4o+clR2Q8NTKNmWunGTiD fryALvQnVT4pUzdFOwi8OiTIQKovBtoGpnc1b5MKZ5oW8zvSudvg5v5sV2tDG09kxc83 bsuA== MIME-Version: 1.0 X-Received: by 10.68.226.200 with SMTP id ru8mr13667465pbc.77.1392445425576; Fri, 14 Feb 2014 22:23:45 -0800 (PST) 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> Date: Sat, 15 Feb 2014 17:23:45 +1100 Subject: Re: Explanation of list reference From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392445435 news.xs4all.nl 2894 [2001:888:2000:d::a6]:35829 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66380 On Sat, Feb 15, 2014 at 5:07 PM, Rustom Mody wrote: > Nice point! > I earlier talked of the macro problems of identity, viz across machines. > You are bringing up a more 'micro' angle, viz gc. > An even more micro (or lower level) example would be the mismatch between > physical and virtual memory, dram and cache etc etc. > Is memory such a clear concept? > > Just different examples to show that object identity is anything but > straightforward Not really; they just show that object identity is nothing to do with memory location. An object is itself, and is not anything else, and neither of those truisms has anything to do with memory. I could implement Python using a pencil and paper, using physical pieces of string to create references; if a gust of wind blows all the paper around, it won't change anything. (Though it might be a problem if I have any weak references...) You could walk up to me and look at my pieces of paper, and you'll know if two strings are linking to the same paper; it's obvious that that paper is the same thing as itself. ChrisA