A small remark for Todd's proposal: I think you should treat the new not (bNOT 
in the original proposal) differently: it's not binary, so it should not have 2 
dunders, the right one is not needed (or there is only the right one, in a way, 
but other unary ops use the classic dunder iirc...)

Also, not having xor is made more painful by this proposal (or for any proposal 
for new Boolean operators using variants of and/or/not)...
I have been bitten a few times writing xor in my code (not often, because xor 
is done less often), it already feel like it's missing from python. With 
additional duplicated operators, including bXOR, the missing xor is annoying 
like a missing teeth: even if you don't use it so much, you think of it all the 
time ;-)
Greg.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to