Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7535

Re: dummy, underscore and unused local variables

Path csiph.com!x330-a1.tempe.blueboxinc.net!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 <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'python': 0.08; 'interpreter.': 0.09; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received:mail-iw0-f174.google.com': 0.14; 'wrote:': 0.14; '"to': 0.16; 'angelico': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'tue,': 0.17; 'command': 0.19; 'header:In-Reply-To:1': 0.21; 'code': 0.24; "doesn't": 0.25; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'idle': 0.29; 'sorry,': 0.29; 'controls': 0.30; 'apply': 0.32; 'steven': 0.32; 'to:addr:python-list': 0.33; 'chris': 0.34; "d'aprano": 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'case,': 0.39; 'should': 0.39; 'said': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'feature': 0.40; 'subject:, ': 0.60; 'special': 0.66; 'subject:local': 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=g0JsFcLUneglsSu4uonouVu4dAaHQYSZs6CikZGK1c0=; b=F582VDlVdj9SG+NiiKs56Ce8iKjYitParJnDRdY8uPkhWKTYv8e7ibEmF74ckskFBq yXutrU9nnOQZ23svwAbmmJjNOCJG7ld9lB4A2L3bom4D+YXQyTX2NZQoqaK1sq8qH3vN b7zPqSl0T9yhz82A2Gnq9szI/vPdTIZkofuik=
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=uc0MD33iPbDRYmhE/TdCGbCy3JDIJ0wSG7PmZQeSmF8iT1XTm/h+fB6iqKfPq0droY iUPXyLZx5CDTml3lypKZf1+a8x3n6iDu1z+NHHO/iWPCjMADoQj2IJ977CWTKLGE28eq z84pi6yQXJzrNZ94T30vv32SWIQVVPnxF+iew=
MIME-Version 1.0
In-Reply-To <4df63791$0$30002$c3e8da3$5496439d@news.astraweb.com>
References <20110613153702.GN2556@johnsons-web.com> <mailman.179.1307980527.11593.python-list@python.org> <4df63791$0$30002$c3e8da3$5496439d@news.astraweb.com>
Date Tue, 14 Jun 2011 02:41:20 +1000
Subject Re: dummy, underscore and unused local variables
From Chris Angelico <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.183.1307983283.11593.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 82.94.164.166
X-Trace 1307983284 news.xs4all.nl 49177 [::ffff:82.94.164.166]:60807
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7535

Show key headers only | View raw


On Tue, Jun 14, 2011 at 2:15 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> On Tue, 14 Jun 2011 01:55:04 +1000, Chris Angelico wrote:
>> _ is special to IDLE.
>
> Not just IDLE. Also the vanilla Python command line interpreter. In fact,
> you can even find the code that controls it:

Sorry, my bad! I should have said "to the Python interactive
interpreter", the code that backs IDLE and the command line
interpreter. But in any case, it's a feature of the interactive that
doesn't apply to scripts.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: dummy, underscore and unused local variables Chris Angelico <rosuav@gmail.com> - 2011-06-14 01:55 +1000
  Re: dummy, underscore and unused local variables Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-13 16:15 +0000
    Re: dummy, underscore and unused local variables Chris Angelico <rosuav@gmail.com> - 2011-06-14 02:41 +1000

csiph-web