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: 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: References: <5737051f-26d4-4771-b4a0-d41062f1a4ef@googlegroups.com> Date: Sat, 23 Nov 2013 18:25:04 +1100 Subject: Re: python for everyday tasks 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: 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 On Sat, Nov 23, 2013 at 5:28 PM, Dan Stromberg 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