On Sun, 07 Oct 2007 16:24:35 +0200, Wildemar Wildenburger wrote: > Wildemar Wildenburger wrote: >> [whate everyone else wrote :(] >> >> /W > > Dangit! 4th of 4. > Gotta type quicker.
That's okay, in two weeks time there will be 139 messages in this thread, it will have devolved into an argument about whether Python's truth- testing semantics are better or worse than whatever Java/Lisp/Haskell/ Ruby does, and *then* somebody will respond to the Original Poster with "customize the __and__ and __or__ methods of your class". Happens every time. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list