Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'builtin': 0.07; 'type,': 0.07; 'python': 0.09; 'eat': 0.09; 'unexpected': 0.09; 'cc:addr :python-list': 0.10; '"from': 0.16; '-tkc': 0.16; 'bugs.': 0.16; 'foot': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'message-id:@tim.thechases.com': 0.16; 'received:70.251': 0.16; 'received:dsl.rcsntx.swbell.net': 0.16; 'received:rcsntx.swbell.net': 0.16; 'received:swbell.net': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.17; 'module': 0.19; 'import': 0.21; 'not,': 0.21; 'cc:2**0': 0.23; 'somebody': 0.23; 'cc:no real name:2**0': 0.24; 'allows': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'subject:please': 0.27; "d'aprano": 0.29; 'shoot': 0.29; 'steven': 0.29; "we're": 0.30; 'not.': 0.32; 'themselves': 0.33; 'doing': 0.35; 'too.': 0.35; 'be.': 0.36; 'bad': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'your': 0.60; 'skip:u 10': 0.60; 'received:50.22': 0.84; 'thing,': 0.84 Date: Tue, 20 Nov 2012 19:39:02 -0600 From: Tim Chase User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: Steven D'Aprano Subject: Re: 10 sec poll - please reply! References: <3d71f175-164e-494c-a521-2eaa5679b524@googlegroups.com> <7290a127-97e1-4032-98ae-6e602b87b74b@googlegroups.com> <50abadf3$0$29987$c3e8da3$5496439d@news.astraweb.com> <50ac2c4f$0$29987$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <50ac2c4f$0$29987$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353461891 news.xs4all.nl 6866 [2001:888:2000:d::a6]:43106 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33692 On 11/20/12 19:20, Steven D'Aprano wrote: > *Accidental* shadowing of names is a bad thing, because you get > unexpected bugs. *Deliberate* shadowing is not. We're all > consenting adults here, if somebody calls "from module import > type", and shadows the builtin type, that's their right to shoot > themselves in the foot. Or not, as the case may be. Python even allows you to unshoot your foot by doing from module import type as unshadowed_type So others can have your poorly-named cake and eat it too. Or some such confuddling of aphorisms. -tkc