[Python-Dev] Re: PEP 285: Adding a bool type (original) (raw)

M.-A. Lemburg mal@lemburg.com
Thu, 04 Apr 2002 10:53:51 +0200


Guido van Rossum wrote:

> 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.")

Uhm, I can't follow you here -- which text books you are talking about here (Python has always tried to conform to standards in most areas). FWIW, I was talking about the text books students use to learn boolean algebra.

BTW, I wonder why you didn't follow up on my other comments...

-- Marc-Andre Lemburg CEO eGenix.com Software GmbH


Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/