Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'received:209.85.160.174': 0.07; 'received:mail-gy0-f174.google.com': 0.07; 'false,': 0.09; 'subject:Poll': 0.16; 'cc:addr:python-list': 0.16; 'subject:question': 0.16; 'wrote:': 0.18; 'to:2**1': 0.21; 'header :In-Reply-To:1': 0.22; 'cc:2**0': 0.26; 'message- id:@mail.gmail.com': 0.29; 'true,': 0.29; 'cc:addr:python.org': 0.29; 'object.': 0.30; 'rarely': 0.30; "i've": 0.32; 'objects': 0.32; 'none': 0.35; 'something': 0.35; 'received:209.85.160': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'uses': 0.38; 'received:209': 0.39; 'subject: (': 0.40; 'march': 0.61 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:to :cc:content-type; bh=1jzVvrPcRc/7pkERxPz5bYuwMBsm2rd4IQIqxdoOe2c=; b=fZRnnRq7+fdigQ9zzX+6WfAKjvURgpUlLbbBtfSzblf+sKMO0iCmgtbxj85KvfFFBD EqYidQ9YHtZEcYr+NxgNnlAp534FYOSw4xXgpzhBnUPo4vjPemxiUAJcvzY1Vg5z+B4Y w5m7ClAHtLZM6npLWOs2xLpuP+UT82ntWk++4ZgqsUKUqnrTKMApVkHF1HBQ8U0dmD1d LcXJuXQO9PBK18CgK+Kp4GK5YoQWRxjIf/lLgGt/IGt/x3i/aSolffx8Qy2npx0/y41w G3gF6KG5C/Z3iofi8tAQ6bY3pIuvwChP9w8ZN9Zr3hiLdsDCxGYeDmDFSYqfeLxxp7kG Kelg== MIME-Version: 1.0 In-Reply-To: <5B80DD153D7D744689F57F4FB69AF474026A5ECE@SBECMX008.exchad.jpmchase.net> References: <5B80DD153D7D744689F57F4FB69AF474026A5ECE@SBECMX008.exchad.jpmchase.net> Date: Wed, 14 Mar 2012 22:30:01 +0000 Subject: Re: Style question (Poll) From: Arnaud Delobelle To: "Prasad, Ramit" Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1331764204 news.xs4all.nl 6844 [2001:888:2000:d::a6]:45933 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21630 On 14 March 2012 22:15, Prasad, Ramit wrote: > Only use 'is' if you are looking for objects like True, > False, None or something that MUST be exactly the same object. I've rarely seen valid uses of 'is True' or 'is False'. -- Arnaud