Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:while': 0.09; 'tuple': 0.09; '"things': 0.16; 'confusion': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'interpreting': 0.16; 'stem': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'interpret': 0.22; 'programming': 0.23; 'second': 0.24; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'objects': 0.29; 'johnson': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; "won't": 0.35; 'received:209.85': 0.35; 'something': 0.35; 'really': 0.36; 'but': 0.36; 'unable': 0.36; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'your': 0.60; '2013': 0.84; 'rick': 0.91; 'whereby': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=l7140zzwaKAZDuISesJrh0uUO/9sdw0GqR6RmIDuKqE=; b=zKSxdrj+atYSh+mEdipfd933aBDZlsPXGP772KjUXLRXSS3g2vY6qLpgHW6eMIHVHy v18O0rObDDs4U3c91/bNPQeBYY7++cpWDjUprHM8FhTHHIYJad0OOvNpN6zBe8NEMauP P6yfzioSwgYAbFbzHuHsGgshCaZhRA9fgM+IaT2KOSEZeCyQo3HFbIyCKDKD/0udy7Kp HDc45GH75nnl0TiarwOEaJDbno4XwBkPbmmHmzi1T/abHyDbTzivSuLLN5e90vl/gi0i A3CygMPCckn5331mRy27RjkNalZRM7MiGWBgmxsEFMMvJNDylzFr0QoRFBiIh+N8JaVk d4lA== MIME-Version: 1.0 X-Received: by 10.52.88.197 with SMTP id bi5mr22236499vdb.58.1360704270997; Tue, 12 Feb 2013 13:24:30 -0800 (PST) In-Reply-To: <0c9bb6fd-b995-4a54-ba2e-4d446072a948@googlegroups.com> References: <86872ad2-fda0-403b-9f18-d1cb18e41860@t32g2000yqd.googlegroups.com> <50039290$0$29978$c3e8da3$5496439d@news.astraweb.com> <9309333c-13a0-464c-bd94-9c682363b8c9@googlegroups.com> <511516db$0$29969$c3e8da3$5496439d@news.astraweb.com> <62c3e7bb-d023-43b4-b759-f424707fd346@googlegroups.com> <75c82449-773e-4077-a6c9-e9cef08f845f@googlegroups.com> <13e5e306-d253-418e-a1b2-ac5bde03f07d@googlegroups.com> <5117868b$0$29998$c3e8da3$5496439d@news.astraweb.com> <375e9978-54a2-421a-a1fa-7f39cafc4f31@googlegroups.com> <43b37855-1d4d-4b16-ac83-115754bc9346@googlegroups.com> <0c9bb6fd-b995-4a54-ba2e-4d446072a948@googlegroups.com> Date: Wed, 13 Feb 2013 08:24:30 +1100 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.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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360704273 news.xs4all.nl 6849 [2001:888:2000:d::a6]:46399 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38787 On Wed, Feb 13, 2013 at 4:48 AM, Rick Johnson wrote: > Your confusion may stem from interpreting "constant" as the CS term "CONSTANT"[1]; whereby the objects in the tuple are programming CONSTANTS, that is, unable to change. Uhh, yeah. Not being Humpty Dumpty, I interpret "constants" to mean "things that won't change". (Or, eliding the second t, as "I've found a friend". But I digress.) There's just something about that word "constant" that really suggests a meaning of "constant". ChrisA