Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Explaining names vs variables in Python Date: Wed, 2 Mar 2016 23:50:19 +1100 Lines: 19 Message-ID: References: <56d6ac61$0$23633$edfadb0f@dtext02.news.tele.dk> <56d6c146$0$1615$c3e8da3$5496439d@news.astraweb.com> <87y4a1t5wj.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de oD4Yf9iJgwDDeq2YyVdTLgIJQWRdoskpqFaLeia+V43Q== 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; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'defines': 0.07; 'cc:addr:python- list': 0.09; 'python': 0.10; 'wed,': 0.15; "(it's": 0.16; '2016': 0.16; 'distinct': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'integer.': 0.16; 'intrinsic': 0.16; 'mine.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sits': 0.16; 'sure.': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; "python's": 0.23; 'header:In-Reply- To:1': 0.24; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'object,': 0.27; 'objects': 0.29; 'received:google.com': 0.35; 'but': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'one,': 0.37; 'received:209': 0.38; 'called': 0.40; 'no.': 0.62; 'mar': 0.65; 'chrisa': 0.84; 'to:none': 0.91 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; bh=ndvLdHzbOOvzYlcMdHbyc41+4elkxWKCPh7+zNLiGTU=; b=VhF6dFGgn+8uD0vcL4dCCzRnENfAR3qUkSLm8UKLmEVYKtpMM7H9tSP7gynyQob46c /37sVGR0+IgD8uYUdeYwrorgYUt3trw1Z8p7galpNWDUGTCBaUfxmON6hzy/WZK/K6Jo LEQvEhUBiJZlHEVYSYwqlMsns8b+UQdW9DnS1/f5estQiscXAwfKpooGnfoitrxIAEH/ b61IarXtSckT8llJJ6R1ccZDEhaHc2PIZ0G37KCxiZAXF3Fa8bZqheEYYaPaLebbm3SV rHnNjzLZn96rzPTV8A4B3KBiw36blQHZzeqEHShM27RLwATMSFJrNElU4K+FXE0Kw7vG G7Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=ndvLdHzbOOvzYlcMdHbyc41+4elkxWKCPh7+zNLiGTU=; b=hvipS2EAJRDUzZS4e11DILStLN0sbFu0MtXs+aQzLtJiD5buq3oPQ0t6E98hYNwz3D kQVOyjKnwoqdcQv7YQLadX1YOFYkvMrXBHdZi3GbJbUME4PU/fHhmsSSvd9tCWhYamD8 B/H1JfiUhuDx7As5EBVdt8kbqTYAPLiCphOufGRKCUEDga8WHjSVNJcJSw54qGIpBy5u Aj8KNQ7TyG/0iF56bKZIY0YdVIBftCrt86bmXJ+Cd+DW2tCmQns1Ovbqvq43gL4dM7Tw lMHUJodT0DM0h4SnxWV5AoKAIfcgJ7hU2BNS6wvvyiUItHRtwJSogcGerZlwv1IYSzgI 2e/Q== X-Gm-Message-State: AD7BkJIKK3HJH5J9bF5sd/AJ9xoAdQ3C8gayIKmNWQt00nHsP9Q/T9zllcSXMFg6XBtKUlsrMU79NBHmHndJAQ== X-Received: by 10.107.47.163 with SMTP id v35mr14679052iov.19.1456923020008; Wed, 02 Mar 2016 04:50:20 -0800 (PST) In-Reply-To: <87y4a1t5wj.fsf@elektro.pacujo.net> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 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:103865 On Wed, Mar 2, 2016 at 11:34 PM, Marko Rauhamaa wrote: > The ontological question is, can two *distinct* objects with *identical* > characteristics exist? > > The fermionic answer is, no. > > The bosonic answer is, sure. > > Set theory has fermionic ontology (it's called extensionality). > > Python sits on the fence on that one, allowing either ontology. Python defines that every object has an identity, which can be represented as an integer. Since this is an intrinsic part of the object, no two distinct objects can truly have identical characteristics. Python's objects are like rifles - there are many like it, but this one is mine. ChrisA