On Sep 22, 3:43 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] a écrit :
>
> > Pekka Laukkanen:
> >> but it still doesn't feel exactly right. Would it be worth submitting a 
> >> bug?
>
> > It feels wrong because it is. In a tidier language (Pascal, Java, etc)
> > a boolean and an integer must be different types.
>
> Some would argue (and some did by the time Python grew a 'bool' type)
> that what is wrong is to have a bool type in a language that already
> have a wider definition of the truth value of an expression...

And some would argue that it was wrong to have such a wide definition
for the truth value of an expression in the first place...


Carl Banks
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to