[Python-Dev] For review: PEP 285: Adding a bool type

Guido van Rossum guido@python.org
Fri, 08 Mar 2002 15:41:33 -0500


> I'm kinda curious.  I understand all the arguments, but they've been
> around for a long time.  It's not like any of the reasons for having
> a boolean are new.  What straw broke your pet camel's back and made
> you sit down and say to yourself, "We need a boolean type in Python.
> I think I'll write a PEP today instead of going to Starbucks for a
> latte."?

Well, the subclassing from int solution is new in 2.2.  Other than
that, I was thinking of something non-controversial to be added to
2.3.  Big mistake... :-)

Time for my latte.

--Guido van Rossum (home page: http://www.python.org/~guido/)