[issue42899] Is it legal to eliminate tests of a value, when that test has no effect on control flow?
Guido van Rossum
report at bugs.python.org
Mon Feb 1 19:38:42 EST 2021
Guido van Rossum <guido at python.org> added the comment:
I still favor (3) -- I don't want to renege on the promise we made when we
allowed overloading comparisons to return something other than a bool.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42899>
_______________________________________
More information about the Python-bugs-list
mailing list