Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'operator': 0.03; 'mathematics': 0.05; '"""': 0.07; 'definitions': 0.07; 'lines,': 0.07; 'defines': 0.09; 'thats': 0.09; 'b):': 0.16; 'compares': 0.16; 'distinct': 0.16; 'examples:': 0.16; 'identities': 0.16; 'nodes': 0.16; 'operands': 0.16; 'pair.': 0.16; 'pairs': 0.16; 'relates': 0.16; 'vertex': 0.16; 'elements': 0.16; 'sat,': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'differ': 0.19; 'slightly': 0.19; 'feb': 0.22; "haven't": 0.24; 'question': 0.24; '15,': 0.26; 'define': 0.26; 'transfers': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'function': 0.29; 'am,': 0.29; 'words': 0.29; 'absolute': 0.30; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'object.': 0.31; 'such.': 0.31; 'thanks!': 0.32; 'everyone': 0.33; '"the': 0.34; 'could': 0.34; 'problem': 0.35; 'knows': 0.35; 'offered': 0.35; 'definition': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'edge': 0.36; 'ordered': 0.36; 'set.': 0.36; 'surely': 0.36; "i'll": 0.36; 'should': 0.36; 'two': 0.37; 'mapping': 0.38; 'question,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'unable': 0.39; 'called': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'simply': 0.61; 'offer': 0.62; 'name': 0.63; 'hear': 0.63; 'such': 0.63; 'our': 0.64; 'more': 0.64; 'determine': 0.67; 'gathering': 0.68; 'transfer': 0.82; 'round.': 0.84 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=2590o/1XzLSkXuj1BGvtrI5giCTwtY/LVesLc1+7bqI=; b=yijLGkMUsBLpYFJlyjphCDYPp573sT3ixjfa+Dbrcn34PzURXg+MZh75bcna13Rn4t ju0z2q/s96ZIlyIwXH/EIrRXvFIG8C3DatVfKkqtFhqXCMUTWVgHAUid+4q0uVWPvo8m 6pENwiCcb3XpjHPpagCiFzW8SI9vmpmy7ZKMIosL48fI5rsBlRKG+Y6wzPxXoSK0vhvO V2EExLNYTxY8l4J+uf8XP2cNV05u2/w1sXIcmzCWERsDLSJFIugvnKkL9AhSwZkisZpe koC/wBTWqs3g745WHp8p5Ib4lnan2DI4GWcOozn8B/NcNBwf9ycMJE2Ddii9lwRQTlZu 58aQ== X-Received: by 10.66.141.144 with SMTP id ro16mr16223323pab.131.1392489496887; Sat, 15 Feb 2014 10:38:16 -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> <87y51cn2m9.fsf@elektro.pacujo.net> <87mwhsn0nx.fsf@elektro.pacujo.net> <52ff4ce4$0$29973$c3e8da3$5496439d@news.astraweb.com> <87iosgmveg.fsf@elektro.pacujo.net> <52ff7cac$0$29973$c3e8da3$5496439d@news.astraweb.com> <87wqgwl4oo.fsf@elektro.pacujo.net> From: Ian Kelly Date: Sat, 15 Feb 2014 11:37:35 -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: 65 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392489500 news.xs4all.nl 2957 [2001:888:2000:d::a6]:39708 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66469 On Sat, Feb 15, 2014 at 10:30 AM, Rustom Mody wrote: > Thanks! -- Nice to hear slightly more philosophically astute attempt than > the naivete going around: "Object?! We all know whats an object! > Everyone knows whats an object!!" > > However I am betting that the problem remains. Youve transfered the identity > question into the lifetime. > > Now define object-lifetime without reference to identity :-) Fundamentally that's what definitions do. They transfer the question of "what is X" to "okay, so what is this thing that defines X". All definitions must ultimately be circular, simply because we have only finitely many words and concepts to work with. >> "The id() function returns the identity of an object. The 'is' operator >> compares the identities of its two operands and returns True if they are >> the same." > > Thats good -- 'is' in terms of 'id' -- better than the obfuscation and > prevarication of the other way round. Only the name id is misleading -- it > should be machine-id or some such. > > Consider these examples: > > Two graphs are the same if they have the same no of vertices and > there is a mapping f from one vertex set to the other such that > vw is edge in graph1 iff f(v)f(w) is edge in graph2. > > For a mathematician such an identity is unexceptionable Is it though? If we were to play the same game with it, I could point out that you haven't defined graph. So I'll retrieve a definition from Wikipedia: """ a graph is an ordered pair G = (V, E) comprising a set V of vertices or nodes together with a set E of edges or lines, which are 2-element subsets of V """ Well, that's great, but it just transfers the definition of graph into the definition of an ordered pair. Ordered pairs can be defined in terms of sets: """ In 1921 Kazimierz Kuratowski offered the now-accepted definition of the ordered pair (a, b): (a, b) := {{a}, {a, b}} """ But what is a set? Cantor offers this definition: """ A set is a gathering together into a whole of definite, distinct objects of our perception [Anschauung] or of our thought - which are called elements of the set. """ But what precisely are "objects" and how are we to determine their distinctness? Cantor above relates them to perception or thought, but surely my own perception and thought differ from Cantor's. If mathematics or philosophy offer us any absolute answer to this question, I'm unable to find it.