[Python-ideas] Boolean ABC similar to what's provided in the 'numbers' module

Chris Barker - NOAA Federal chris.barker at noaa.gov
Fri Feb 16 16:41:36 EST 2018


Sent from my iPhone
> A thought just occurred to me. Maybe we should just add a Boolean class to numbers?

This makes lots of sense to me.

Bool is a subclass of int — might as well embrace that fact.

-CHB


More information about the Python-ideas mailing list