Path: csiph.com!usenet.pasdenom.info!news.albasani.net!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'sentence': 0.09; 'subject:while': 0.09; 'both.': 0.16; 'conveying': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'merely': 0.16; 'programmers,': 0.16; 'write,': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'people,': 0.21; 'received:209.85.214.174': 0.21; 'we,': 0.22; "i'd": 0.22; 'idea': 0.24; 'header:In-Reply- To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; "d'aprano": 0.29; 'recorded': 0.29; 'steven': 0.29; 'code': 0.31; 'to:addr:python- list': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'text': 0.34; 'pm,': 0.35; 'software,': 0.35; 'received:209.85': 0.35; 'test': 0.36; 'should': 0.36; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'jul': 0.65; 'gain': 0.79 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 :content-type; bh=dgJc4VIwd6OhHCdXFd6Fs8NpFJoBfwOOKBcDSUyxpI0=; b=X4C7LycCIlsAlvWB6S6lHfqml5Xl8jSUx9UN4rVmx9bi9sjUNAr2aVijmScBHp/nnp FZFBswyuy4zPNH+tIKpYJsGTjEJM4Cl9HdE2knRHTNdNKjr5aBSS1fWUtOB9NO8brs6U I9Dfqto8t4a5HihptyHD1Z0kA8N6XakmAK4zfes7BK9oknBr8fjj4oi4z8l7lQa5HIX9 yi3/c2IHCw2ynPXxBORTV8YQdLig1yxfd91VRHssJIMuv0QB0Ykz7paas7DUrLffgmeQ w/Al6XI8mJP3FmxAhB9JvqJTsDpmlVY1teFRAVgcV9JPGMVqeD1k8kGV3fenG8fXli/G jyiA== MIME-Version: 1.0 In-Reply-To: <50038364$0$29995$c3e8da3$5496439d@news.astraweb.com> References: <5002a1f9$0$29995$c3e8da3$5496439d@news.astraweb.com> <7b027612-a07e-40f9-8ad2-3e95c5440482@googlegroups.com> <86872ad2-fda0-403b-9f18-d1cb18e41860@t32g2000yqd.googlegroups.com> <50038364$0$29995$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 16 Jul 2012 13:05:48 +1000 Subject: Re: Implicit conversion to boolean in if and while statements From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342407951 news.xs4all.nl 6849 [2001:888:2000:d::a6]:47316 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25389 On Mon, Jul 16, 2012 at 12:58 PM, Steven D'Aprano wrote: > And that, the reason given in the sentence above, is the reason that we, > collectively all programmers, should prefer to be explicit, not merely > conveying meaning by implication about everything we, collectively all > programmers, write, including typing, use of speech-recognition software, > or any future technological process by which text or program code or both > is transcribed from the idea of the human person to a permanent form > recorded where other people, or non-human sentient beings, can read or > otherwise gain access to it for the purpose of understanding the content > of the test or program code or both. I'd rather be booled in oil. ChrisA *ducks for cover*