On Tue, Oct 27, 2009 at 10:41 PM, Sturla Molden <sturla at molden.no> wrote: > Why does Python have a bitwise but not a logical xor operator? It's even > weirder because boolean objects do have a __xor__ method. Have you looked at the recent python-list thread starting at: http://mail.python.org/pipermail/python-list/2009-July/188589.html ? Mark