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

Michael Selik mike at selik.org
Thu Apr 7 13:39:56 EDT 2016


> On Apr 7, 2016, at 6:23 PM, Guido van Rossum <guido at python.org> wrote:
> Nothing else is on the table. Seriously. Stop hijacking the thread.

To clarify, the proposal is: ``~True == False`` but every other operation on ``True`` remains the same, including ``True * 42 == 42``. Correct?


More information about the Python-ideas mailing list