[Python-ideas] [Python-ideos] Dedicated overloadable boolean operators

Guido van Rossum guido at python.org
Tue Nov 24 13:20:09 EST 2015


To everyone claiming that you can't overload and/or because they are
shortcut operators, please re-read PEP 335. It provides a clean
solution -- it was rejected because it adds an extra byte code to all
code using those operators (the majority of which don't need it).

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


More information about the Python-ideas mailing list