Question For Language Lawyers - WAS: Re: Combining colon statements on one line?
Terry Reedy
tjreedy at udel.edu
Mon Jul 19 22:15:38 EDT 2004
"Tim Daneliuk" <tundra at tundraware.com> wrote in message
news:8i5us1-d7a1.ln1 at eskimo.tundraware.com...
> 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