In article <[email protected]>, Chris Angelico <[email protected]> wrote:
> On Thu, Apr 25, 2013 at 11:41 AM, Roy Smith <[email protected]> wrote: > > In article <[email protected]>, > > Steven D'Aprano <[email protected]> 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! > > ChrisA It's nice to have tri-state logic: * This rule passes * This rule fails * This rule was not evaluated What I've got now expresses that perfectly. -- http://mail.python.org/mailman/listinfo/python-list
