[Rejected] New Boolean
abstract base class for type validation supporting both bool
and np.bool_
#11
Labels
Boolean
abstract base class for type validation supporting both bool
and np.bool_
#11
The idea is simple: today you can use
numbers.Integral
to denote an integer that can be anint
or anp.int_
. You havenumbers.Real
for real numbers similarly, etc. But you do not have an equivalent for booleans.This was discussed here to the point it was accepted by Guido: https://groups.google.com/g/python-ideas/c/-3QW3cxj3ko/discussion?pli=1
Then it was re-discussed here to the point it was rejected: https://bugs.python.org/issue32886
The text was updated successfully, but these errors were encountered: