Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.085 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'lawrence': 0.09; 'okay': 0.09; 'propagating': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'inaccessible': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'variables,': 0.16; 'wrote:': 0.18; "python's": 0.19; 'saying': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; "i've": 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'code': 0.31; 'ball': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'another': 0.32; 'advice': 0.35; 'johnson': 0.35; 'but': 0.35; 'whilst': 0.36; 'next': 0.36; 'thanks': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'wonderful': 0.60; 'black': 0.61; "you'll": 0.62; "you've": 0.63; 'myself': 0.63; 'finally': 0.65; 'within': 0.65; 'watching': 0.68; 'blast': 0.84; 'news.': 0.84; 'white,': 0.84; 'received:89': 0.85; 'subject:Don': 0.91; 'drink': 0.93; 'rick': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: "Don't rebind built-in names*" - it confuses readers Date: Tue, 11 Jun 2013 17:29:44 +0100 References: <2eb38e14-55ea-4fe2-9108-9a13ef120a73@s2g2000pbz.googlegroups.com> <51b7277f$0$29997$c3e8da3$5496439d@news.astraweb.com> <1dc02b3c-8e2c-496f-9c6a-ce162c42b10b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-89-240-174-199.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <1dc02b3c-8e2c-496f-9c6a-ce162c42b10b@googlegroups.com> X-Antivirus: avast! (VPS 130611-0, 11/06/2013), Outbound message X-Antivirus-Status: Clean 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370968169 news.xs4all.nl 15966 [2001:888:2000:d::a6]:32895 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47674 On 11/06/2013 16:43, Rick Johnson wrote: > On Tuesday, June 11, 2013 8:34:55 AM UTC-5, Steven D'Aprano wrote: > >> GvR is saying that it's okay to use the names of built-in functions or >> types as the names of local variables, even if that causes the built-in >> to be inaccessible within that function. > > Looks like we've finally found the traitor! Code smells propagating down from the apex of the pyramid... well thanks for the wonderful advice Guido, and with it you've cursed Python's stdlib to another decade of unprofessional code! > > PS: Excuse me whilst i brew myself a nice cup of HEMLOCK TEA!!! ಠ_ಠ > At long last I've received some good news. But blast it, you've only said you'll brew it, not that you'll drink it. Still, I can but hope. -- "Steve is going for the pink ball - and for those of you who are watching in black and white, the pink is next to the green." Snooker commentator 'Whispering' Ted Lowe. Mark Lawrence