Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!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.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'objects.': 0.09; 'subject:while': 0.09; 'tuple': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mutated': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'constant': 0.22; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'list': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; '12,': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; '2013': 0.84 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=YXGqrHeSM7X/IrLp4U0gDC4WgI6XC8GvoBXIexFE0Yo=; b=IgMkjM79hNqw+BcxHDHG5jcnPveudh6lpBkmRKyOlkCOv8kJo95FFq2eqgZhPaRHDK 8Bb17F8/LwduxoOrQCjU5eTWLOmKrv8TLfhLAKlJ2JCkh3eBBWorAsQW1uNmDMAsdB61 OYlkPSJCjCNcfEpcgHjiZHe6IiJARX5Yxjh2WRC7O9tRVn83XCOJloedNPXSTeEIltM4 lNnEnaizuLj1iYBgvAdwmJbDQcfR0c3KW3ioW0jorRzoDqsr9ah95wn/Yhma0I4wGcy1 bmV/ml+AYj8wvQm8Wx1qztFA+3/II3eVZ0eJPOWd4sqTmOSrZS/1hMZmrQauBwIdQgxb 8ITQ== MIME-Version: 1.0 X-Received: by 10.52.37.109 with SMTP id x13mr19587867vdj.10.1360648519288; Mon, 11 Feb 2013 21:55:19 -0800 (PST) In-Reply-To: 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> Date: Tue, 12 Feb 2013 16:55:19 +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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360648522 news.xs4all.nl 6848 [2001:888:2000:d::a6]:37175 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38731 On Tue, Feb 12, 2013 at 12:06 PM, 88888 Dihedral wrote: > A permanently mutated list is a tuple of constant objects. I nominate this line as "bemusing head-scratcher of the week". ChrisA