Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: Explaining names vs variables in Python Date: Wed, 02 Mar 2016 15:39:36 +0200 Organization: A noiseless patient Spider Lines: 13 Message-ID: <87twkpt2w7.fsf@elektro.pacujo.net> 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 Injection-Info: mx02.eternal-september.org; posting-host="b7cb1518d23ec19d482dcc9c31d30fdd"; logging-data="20528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xK12V/+sImIQDeFgpXJ+X" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:+2VCbxIPVmkb7WV6yNf+7JAEBl8= sha1:A1kULz2ZYPAYgXZWt32UEqjmLAA= Xref: csiph.com comp.lang.python:103867 Chris Angelico : > 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. How can you be sure Python isn't returning the same id value for two distinct objects? Marko