Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'operator': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'language.': 0.14; 'mostly': 0.14; '10+': 0.16; 'finney': 0.16; 'obsessed': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; '---': 0.24; "i've": 0.25; 'compare': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'usually': 0.31; 'commonly': 0.31; 'writes:': 0.31; "i'd": 0.34; 'advice': 0.35; 'but': 0.35; 'too': 0.37; 'clear': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'short': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'free': 0.61; 'viruses': 0.61; 'protection': 0.63; 'our': 0.64; 'antivirus': 0.68; 'answer:': 0.84; 'kiss': 0.84; 'often?': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Reference Date: Mon, 03 Mar 2014 21:35:56 +0000 References: <53144e8d$0$2149$426a74cc@news.free.fr> <1d1dfa1b-b715-4d8f-9c12-f0d3dc1a22c9@googlegroups.com> <85ppm3httu.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-78-146-5-199.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <85ppm3httu.fsf@benfinney.id.au> X-Antivirus: avast! (VPS 140302-1, 02/03/2014), Outbound message X-Antivirus-Status: Clean 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393882574 news.xs4all.nl 2865 [2001:888:2000:d::a6]:50214 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67587 On 03/03/2014 21:10, Ben Finney wrote: > Rustom Mody writes: > >> Short answer: Avoid using 'is'. > > This is bad advice in a Python forum. > > The ‘is’ operator is commonly used in Python, so please don't advise > against it in an unqualified “short answer”. > >> Long answer: http://www.beyondwilber.ca/healing-thinking/non-identity-korzybski.html > > Interesting, but mostly a distraction for the querent here. > > Short answer: Use ‘use’ any time you need to compare object identity. > You usually do not need to compare object identity. > That last paragraph is as clear as mud. I'd just like to know why people are so obsessed with identities, I've never thought to use them in 10+ years of writing Python. Do I use the KISS principle too often? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com