Does Python need an 'xor' operator?

Martin v. Loewis martin at v.loewis.de
Mon Apr 15 02:42:18 EDT 2002


philh at comuno.freeserve.co.uk (phil hunt) writes:

> To me, the idea that ^ means xor is totally unclear.
> 
> What's wrong with xor meaning xor?

As a function, I have no problem with it. As an operator, the problem
is that it introduces a new keyword.

Regards,
Martin




More information about the Python-list mailing list