On Fri, May 31, 2013 at 3:13 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > What makes you think that the commutative law is relevant here? >
Equality should be commutative. If a == b, then b == a. Also, it's generally understood that if a == c and b == c, then a == b, though there are more exceptions to that (especially in loosely-typed languages). ChrisA -- http://mail.python.org/mailman/listinfo/python-list