Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.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.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'ignored': 0.07; 'either.': 0.09; 'says,': 0.09; 'tim,': 0.09; 'url:activestate': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mon,': 0.17; 'tue,': 0.17; 'url:code': 0.17; 'header:In-Reply-To:1': 0.21; 'variable': 0.21; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'url:mailman': 0.26; "i'm": 0.27; 'message-id:@mail.gmail.com': 0.28; 'odd': 0.29; "won't": 0.30; 'url:listinfo': 0.30; "didn't": 0.31; 'steven': 0.32; 'to:addr :python-list': 0.33; 'list': 0.33; 'question': 0.34; "d'aprano": 0.35; 'realise': 0.35; 'probably': 0.36; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'url:python': 0.38; 'url:org': 0.38; 'mailing': 0.38; 'subject:: ': 0.38; 'called': 0.39; 'received:209': 0.39; 'johnson': 0.39; 'to:addr:python.org': 0.39; 'worth': 0.60; 'subject:, ': 0.60; 'your': 0.60; 'address': 0.62; 'making': 0.67; 'subject:local': 0.84; 'yesterday.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mQ45oEyHJKyf5WWOSSS18bw4VXtH9GcuD8SuO7TKA50=; b=fNMPBU1HtTlFcbGLWS7OJl7pC2cyWpBwsKrD52O1FnjHxpqkzWfhwbUNVQ5ZztqbJm uY+6DpIsS4JG+xlzIgbyXYLLMY4qRt+203G0scEY09rACsKgkMEXfObNy4HgaAcFiMGS 2jtGaUzxaBU8txzkPszir/AbFHvVRpkWt0KXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lURZPAlIpwWr3wq4nYC7hYdgWZL3xls9Bd6zYiO+gEav4kmHyv2UvkSdk1i3ae7EIV wx9ywu9UlkG2q3uDc8H6jOaI/It5oQ6VlFuS57/NIcXQdbMVfcnAw2eddGQ4dgyeoQ9B xURwbizmWsOWTQCXPavSkOs8FVV9S+QIHFa/8= MIME-Version: 1.0 In-Reply-To: <4df6349d$0$30002$c3e8da3$5496439d@news.astraweb.com> References: <4df6349d$0$30002$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 14 Jun 2011 02:28:48 +1000 Subject: Re: dummy, underscore and unused local variables 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: 29 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307982532 news.xs4all.nl 49177 [::ffff:82.94.164.166]:54618 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7533 On Tue, Jun 14, 2011 at 2:02 AM, Steven D'Aprano wrote: > On Mon, 13 Jun 2011 07:37:02 -0800, Tim Johnson wrote: > >> Consider the following code: > [...] > > You know Tim, if you hadn't blocked my email address in a fit of pique > over something that didn't even involve you, you would have seen my > answer to your question on the tutor@python.org mailing list yesterday. > > http://code.activestate.com/lists/python-tutor/83236/ > > Yes, I realise that Tim probably won't see this either. I'm just making a > point. > > > > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list > As he says, edification comes from a variety of odd sources... I didn't know the linting ignored a variable called 'dummy' or '_'. Worth knowing! ChrisA