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

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Nov 24 17:29:57 EST 2015


Guido van Rossum wrote:
> 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).

Was that the *only* reason for rejection? If that
problem could be solved somehow, would you reconsider?

-- 
Greg



More information about the Python-ideas mailing list