[Python-3000] [Python-Dev] Wither PEP 335 (Overloadable Boolean Operators)?
jason.orendorff at gmail.com
Sat May 19 14:41:32 CEST 2007
On 5/18/07, Guido van Rossum <guido at python.org> wrote:
> While reviewing PEPs, I stumbled over PEP 335 ( Overloadable Boolean
> Operators) by Greg Ewing.
-1. "and" and "or" affect the flow of control. It's a matter
of taste, but I feel the benefit is too small here to add
another flow-control quirk. I like that part of the language
to be simple.
Anyway, if this *is* done, logically it should cover
"(... if ... else ...)" as well. Same use cases.
More information about the Python-3000