[Python-Dev] PEP 285: Adding a bool type
Guido van Rossum
guido@python.org
Sat, 30 Mar 2002 08:47:33 -0500
[David Abrahams]
> 6) Should we eventually remove the inheritance relationship
> between Int and Bool?
>
> I hope so. Bool is-a Int doesn't seem like the right relationship to
> me, unless perhaps we make Int is-a Long... naah, not even then.
Hm. In your favorite language bool is one of the integral types.
Doesn't that imply pretty much the same thing?
Anyway, do you have a use case where it matters?
--Guido van Rossum (home page: http://www.python.org/~guido/)