Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.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.046 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.01; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.12; 'callable,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:More': 0.16; 'troll': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'references': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'implicit': 0.31; 'subject:other': 0.31; 'johnson': 0.35; 'fun,': 0.36; 'example,': 0.37; 'so,': 0.37; 'work?': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'no.': 0.61; 'received:173': 0.61; 'proposal.': 0.84; 'received:fios.verizon.net': 0.84; 'subject:!)': 0.84; 'subject:via': 0.84; 'rick': 0.93; 'serious': 0.97 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: PyWart: More surpises via "implict conversion to boolean" (and other steaming piles!) Date: Mon, 10 Feb 2014 17:59:15 -0500 References: <85c2698c-d681-4511-b111-bb1e549ece93@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392073188 news.xs4all.nl 2892 [2001:888:2000:d::a6]:35145 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65849 On 2/10/2014 4:12 PM, Rotwang wrote: > On 10/02/2014 18:45, Rick Johnson wrote: >> [...] >> >> 3. Implicit introspection is evil, i prefer all >> references to a callable's names to result in a CALL >> to that callable, not an introspection! > > So, for example, none of > isinstance(x, myclass) > map(myfunc, range(10)) > x = property(x_get, x_set) > would still work? No. That is what makes this a troll post, for fun, rather than a serious proposal. -- Terry Jan Reedy