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


Groups > comp.lang.python > #60279

Re: python for everyday tasks

Path csiph.com!usenet.pasdenom.info!news.franciliens.net!fdn.fr!usenet-fr.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'assignment': 0.07; 'dan': 0.09; 'python': 0.11; '23,': 0.16; 'builtins': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:tasks': 0.16; 'syntaxerror:': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; '>>>': 0.22; '(or': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'int,': 0.31; 'keywords,': 0.31; 'this.': 0.32; 'probably': 0.32; 'languages': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'keyword': 0.36; 'list': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'helps': 0.61; 'teach': 0.65; '2013': 0.98
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 :content-type; bh=pIIeiW4QM5crmoWyJxhg/3hTEp1aJ1YKoZhQIhHE+iU=; b=rw7w7ZjQrFyyfkCRQAbl3oF12UxAqmpM+mwlCdFWtjslOpPUwDRGv4HTFKZuitYgeS WybwDN0UPoH7rEIasJzG520hJ1ZHAqB1lVOOsg+nDKiEatrVl+l1DtkT5P7BtkwhaNiv M4TBYtd+IhBw4Rz1X6yTvk/BcSNCA1psegtqh4Nsv1BOA7+NghEDVKhQXcqfszaKPd4f vwH2vJWrSZulTuH5+K44BtEj2zFosjtv5HmAfzSly6EDV8An4TAHigXfvu/plSTkyrXE GSbVcQ6mw7gXAm0tlomsDLG2rSAhe1xjHa73tPFygO6O5UFmjwlGDqStTUd6ewDFkybS HAUg==
MIME-Version 1.0
X-Received by 10.66.26.106 with SMTP id k10mr273569pag.136.1385191505040; Fri, 22 Nov 2013 23:25:05 -0800 (PST)
In-Reply-To <CAGGBd_q=+8ByZ-4zN+RRaT+dOTcZNmKLmZ=R1dF14y60R-9ShA@mail.gmail.com>
References <5737051f-26d4-4771-b4a0-d41062f1a4ef@googlegroups.com> <CAGGBd_q=+8ByZ-4zN+RRaT+dOTcZNmKLmZ=R1dF14y60R-9ShA@mail.gmail.com>
Date Sat, 23 Nov 2013 18:25:04 +1100
Subject Re: python for everyday tasks
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.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3072.1385191508.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385191508 news.xs4all.nl 15870 [2001:888:2000:d::a6]:40659
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60279

Show key headers only | View raw


On Sat, Nov 23, 2013 at 5:28 PM, Dan Stromberg <drsalists@gmail.com> wrote:
> Teach that python has builtins, not keywords - IOW, you can redefine list or
> int, but you probably shouldn't.  pylint helps with this.

Well, Python has keywords, but uses builtins for many things that
other languages use keywords (or magic) for.

>>> None=1
SyntaxError: assignment to keyword
>>> list=[]
>>> del list

ChrisA

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


Thread

python for everyday tasks koch.mate@gmail.com - 2013-11-22 15:59 -0800
  Re: python for everyday tasks Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-23 02:01 +0000
    Re: python for everyday tasks wxjmfauth@gmail.com - 2013-11-25 02:12 -0800
      Re: python for everyday tasks Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-25 13:33 +0000
      Re: python for everyday tasks Michael Torrie <torriem@gmail.com> - 2013-11-25 08:11 -0700
        Re: python for everyday tasks wxjmfauth@gmail.com - 2013-11-25 08:17 -0800
      Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-26 02:38 +1100
      Re: python for everyday tasks Ben Finney <ben+python@benfinney.id.au> - 2013-11-26 10:35 +1100
      Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-26 11:09 +1100
    Re: python for everyday tasks Pavel Volkov <negaipub@gmail.com> - 2013-11-27 22:05 +0400
    Re: python for everyday tasks Michael Torrie <torriem@gmail.com> - 2013-11-27 11:15 -0700
    Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-28 10:11 +1100
  Re: python for everyday tasks Ned Batchelder <ned@nedbatchelder.com> - 2013-11-22 18:32 -0800
  Re: python for everyday tasks Dan Stromberg <drsalists@gmail.com> - 2013-11-22 22:28 -0800
  Re: python for everyday tasks Dan Stromberg <drsalists@gmail.com> - 2013-11-22 22:36 -0800
  Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-23 18:25 +1100
    Re: python for everyday tasks koch.mate@gmail.com - 2013-11-23 16:54 -0800

csiph-web