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

Guido van Rossum guido at python.org
Wed Apr 3 09:37:02 EST 2002


> 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/)




More information about the Python-list mailing list