Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '"this': 0.03; 'true,': 0.05; 'counting': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'logic': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:184.172': 0.09; 'received:gator410.hostgator.com': 0.09; '~ethan~': 0.09; 'clear.': 0.16; 'received:70.85.130': 0.16; 'roy': 0.16; 'top-level': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '>>>': 0.22; 'rules': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'on,': 0.29; 'am,': 0.29; "doesn't": 0.30; 'that.': 0.31; '25,': 0.31; "d'aprano": 0.31; 'enforce': 0.31; 'steven': 0.31; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'received:173': 0.61; 'simply': 0.61; 'further': 0.61; 'smith': 0.68; 'article': 0.77; '2013': 0.98 Date: Wed, 24 Apr 2013 19:28:30 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: epiphany References: <5178884b$0$29977$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator410.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([173.12.184.235]) [173.12.184.235]:40511 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 2 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3I0MTAuaG9zdGdhdG9yLmNvbQ== 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366858538 news.xs4all.nl 15870 [2001:888:2000:d::a6]:57758 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44314 On 04/24/2013 07:20 PM, Chris Angelico wrote: > On Thu, Apr 25, 2013 at 11:41 AM, Roy Smith wrote: >> In article <5178884b$0$29977$c3e8da3$5496439d@news.astraweb.com>, >> Steven D'Aprano wrote: >> >>> I don't see why you would need anything like that. Reading further on, I >>> see that you are counting unimplemented rules as true, for some reason >>> which I don't understand. >> >> The top-level logic we need to enforce is "this configuration doesn't >> violate any rules". > > Then have your unimplemented rules simply return True. Easy! And less clear. -- ~Ethan~