[issue32886] new Boolean ABC in numbers module
Raymond Hettinger
report at bugs.python.org
Fri Apr 20 16:29:19 EDT 2018
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
> If I get you correctly, then the minimal `Boolean` ABC would only need
> to contain the `__bool__` method, without the bitwise operations
Once reduced to just having `__bool__`, I think there is no value added and would prefer to leave this out. We really don't have to have an ABC for every single type in Python, something that will end-up just being clutter that we have to support in perpetuity.
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32886>
_______________________________________
More information about the Python-bugs-list
mailing list