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

Guido van Rossum guido@python.org
Wed, 03 Apr 2002 09:37:02 -0500


> Right, but my point is that if you want to make booleans first class
> objects in Python, you should consider making them behave as defined
> in the text books rather than trying to make them feel like integers
> but look like truth values.

I reject this reasoning.  Python is not trying to follow the text
books.  (In fact, maybe I should say "Python is trying not to follow
the text books.")

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