Alan G Isaac wrote: > My preference would be for the arithmetic operations *,+,- > to be given the standard interpretation for a two element > boolean algebra: > http://en.wikipedia.org/wiki/Two-element_Boolean_algebra
>>> [bool(True+True), bool(True+False)] [True, True] Works for me, or did I misunderstand you? If you don't want explicitly to write bool, you could define your own True and False classes. Regards, Björn -- BOFH excuse #184: loop found in loop in redundant loopback -- http://mail.python.org/mailman/listinfo/python-list