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

Guido van Rossum guido@python.org
Fri, 08 Mar 2002 11:05:36 -0500


> PEP: 285 > Title: Adding a bool type

[Aahz]

+1000 ;-)

One question: do True/False behave like None, particularly WRT "is"?

That depends on what the meaning of "is" is. (*)

Yes, there will be only one True and one False. That's what the _create flag on the new method was trying to suggest.

(*) Did anyone else notice that in his Python10 paper, Alex Martelli waxed philosophically for an entire paragraph (with references throughout the ages!) on what the meaning of "is" is, without ever mentioning the US Presidency? :-)

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