[Python-ideas] Changing the meaning of bool.__invert__

Guido van Rossum guido at python.org
Thu Apr 7 12:38:25 EDT 2016


Honestly I think that the OP has a point, and I don't think we have to
bend over backwards to preserve int compatibility. After all str(True)
!= str(1), and surely there are other examples.

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-ideas mailing list