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


Groups > comp.lang.python > #47792

Re: "Don't rebind built-in names*" - it confuses readers

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dreamingforward@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.246
X-Spam-Level **
X-Spam-Evidence '*H*': 0.60; '*S*': 0.09; 'cc:addr:python-list': 0.11; 'keyword.': 0.16; 'sees': 0.16; 'variable': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'advice': 0.35; 'received:google.com': 0.35; 'two': 0.37; 'list': 0.37; 'called': 0.40; 'skip:u 10': 0.60; 'name': 0.63; 'choose': 0.64; 'further,': 0.74; 'received:mail-wi0-x229.google.com': 0.91; 'subject:Don': 0.91; 'washington': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5UqSRVq4uUdIP811jL4n7hPoYu9YNLxhlFq0k5k0jcw=; b=lGrNHl10LTP1oJhQJDqgW9ScD+0ULLHD8MpYCEmp8HX+mses8456X1IbRnlGXtrTlx Uhhh1/CXyeGw5z8+1q5TJi9OWp/oxnaI9jBL/rgXETp19BQora65peVdZjbLDp8b4C4J CFK+lWw+IC5FuEVPZvbEvjgz3jJJ98oCIcsFErwMMIitN+uqapRcjKeOLTS3A2KsLUqu 3DRmcNGrU9ypmxiFeaejbDZHBqKd4RxAoGsWMRXqUttBJ/pY4fv5vuR0sFJjdHA5regx aRpKuCX42iCpiOmufE68RbAszZDlNxY80f/Z4bpuF3Q+4P+wdlYKbYGD/HwFXUSrFLjd NPEQ==
MIME-Version 1.0
X-Received by 10.180.36.205 with SMTP id s13mr5984187wij.31.1370909930335; Mon, 10 Jun 2013 17:18:50 -0700 (PDT)
In-Reply-To <kp5q5o$fj1$1@ger.gmane.org>
References <kp5q5o$fj1$1@ger.gmane.org>
Date Mon, 10 Jun 2013 17:18:50 -0700
Subject Re: "Don't rebind built-in names*" - it confuses readers
From Mark Janssen <dreamingforward@gmail.com>
To Terry Jan Reedy <tjreedy@udel.edu>
Content-Type text/plain; charset=ISO-8859-1
X-Mailman-Approved-At Wed, 12 Jun 2013 14:26:58 +0200
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.3096.1371040064.3114.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371040064 news.xs4all.nl 15974 [2001:888:2000:d::a6]:51447
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47792

Show key headers only | View raw


>         list = []
> Reading further, one sees that the function works with two lists, a list of
> file names, unfortunately called 'list',

That is very good advice in general:  never choose a variable name
that is a keyword.
-- 
MarkJ
Tacoma, Washington

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


Thread

Re: "Don't rebind built-in names*" - it confuses readers Mark Janssen <dreamingforward@gmail.com> - 2013-06-10 17:18 -0700
  Re: "Don't rebind built-in names*" - it confuses readers Grant Edwards <invalid@invalid.invalid> - 2013-06-12 14:24 +0000
    Re: "Don't rebind built-in names*" - it confuses readers Mark Janssen <dreamingforward@gmail.com> - 2013-06-12 12:40 -0700
    Re: "Don't rebind built-in names*" - it confuses readers Chris Angelico <rosuav@gmail.com> - 2013-06-13 06:30 +1000
    Re: "Don't rebind built-in names*" - it confuses readers Mark Janssen <dreamingforward@gmail.com> - 2013-06-12 16:07 -0700
    Re: "Don't rebind built-in names*" - it confuses readers Chris Angelico <rosuav@gmail.com> - 2013-06-13 09:53 +1000
      Re: "Don't rebind built-in names*" - it confuses readers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-13 00:47 +0000
    Re: "Don't rebind built-in names*" - it confuses readers Skip Montanaro <skip@pobox.com> - 2013-06-12 19:06 -0500
    Re: "Don't rebind built-in names*" - it confuses readers Mark Janssen <dreamingforward@gmail.com> - 2013-06-12 17:26 -0700
      Re: "Don't rebind built-in names*" - it confuses readers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-13 01:23 +0000
        Re: "Don't rebind built-in names*" - it confuses readers Nobody <nobody@nowhere.com> - 2013-06-13 11:09 +0100
    Re: "Don't rebind built-in names*" - it confuses readers Chris Angelico <rosuav@gmail.com> - 2013-06-13 10:28 +1000

csiph-web