
Oct. 27, 2009
10:46 p.m.
Sturla Molden skrev:
Why does Python have a bitwise but not a logical xor operator? It's even weirder because boolean objects do have a __xor__ method.
True.__xor__(False) True True xor False SyntaxError: invalid syntax
Doesn't this look like a case for new syntax before the moratorium? S.M.