Hrvoje Niksic <hnik...@xemacs.org> writes: > > While everyone's trying to tell the OP how to workaround the missing > > xor operator, nobody answered the question "why is there no [boolean] > > xor operator ?". > > Probably because there isn't one in C. The bitwise XOR operator, on the > other hand, exists in both C and Python.
A non-bitwise XOR really sounds almost useless. -- http://mail.python.org/mailman/listinfo/python-list