PEP 285: Adding a bool type

David Eppstein eppstein at ics.uci.edu
Sat Mar 30 02:42:34 EST 2002


In article <3CA56915.62947DDC at alcyone.com>,
 Erik Max Francis <max at alcyone.com> wrote:

> > I offer the following PEP for review by the community.  If it receives
> > a favorable response, it will be implemented in Python 2.3.
> 
> Outstanding!  I've been waiting and hoping for Booleans in Python since
> I first was introduced to it.

It's not an important issue to me, but I like the PEP.

> >     3) Should the constants be called 'True' and 'False'
> >        (corresponding to None) or 'true' and 'false' (as in C++, Java
> >        and C99).
> 
> I'm also a C, C++, and Java guy, but I think that True and False (rather
> than true and false) are more Python, as you say, given None.  Internal
> consistency makes more sense to me than matching other languages.

What he said.

-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/



More information about the Python-list mailing list