Question For Language Lawyers - WAS: Re: Combining colon statements on one line?

Terry Reedy tjreedy at
Tue Jul 20 04:15:38 CEST 2004

"Tim Daneliuk" <tundra at> wrote in message
news:8i5us1-d7a1.ln1 at
>     It is really good style to depend upon boolean True and False
>     being 1 and 0?  It seems to me that, especially in an OO
>     language, True and False ought to be treated as abstract
>     boolean objects.

Some people made this argument when Guido proposed Bool.  Others as
strongly argued that 'practicality beats purity' applies here and that Bool
should be and remain a subclass of int.  Guido agreed.

Terry J. Reedy

More information about the Python-list mailing list