Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sentence': 0.09; 'subject:while': 0.09; 'both.': 0.16; 'conveying': 0.16; 'kings': 0.16; 'merely': 0.16; 'message-id:@dough.gmane.org': 0.16; 'programmers,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'silly': 0.16; 'write,': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'people,': 0.21; 'we,': 0.22; "i'd": 0.22; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; '[1]': 0.27; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; "d'aprano": 0.29; 'recorded': 0.29; 'steven': 0.29; 'code': 0.31; 'from:addr:yahoo.co.uk': 0.32; 'to:addr:python- list': 0.33; 'that,': 0.34; 'text': 0.34; 'pm,': 0.35; 'software,': 0.35; 'received:org': 0.36; 'test': 0.36; 'should': 0.36; 'rather': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'jul': 0.65; 'gain': 0.79 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Implicit conversion to boolean in if and while statements Date: Mon, 16 Jul 2012 07:30:14 +0100 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-22-51.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 In-Reply-To: X-Antivirus: avast! (VPS 120715-1, 15/07/2012), Outbound message X-Antivirus-Status: Clean 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: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342420227 news.xs4all.nl 6884 [2001:888:2000:d::a6]:53005 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25397 On 16/07/2012 04:05, Chris Angelico wrote: > 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* > What a silly bunt[1] :) *also ducks for cover* [1] from a Monty Python sketch for those who don't know about a guy who pronounces c's as b's, hence Kings Bollege Bambridge -- Cheers. Mark Lawrence.