On Wed, 30 Jan 2008 17:14:32 -0800, Ryszard Szopa wrote:
> Hi all,
>
> I've just read PEP 285 so I understand why bool inherits from int and
> why, for example, ((False - True)*True)**False==1.
And don't think that the choice was uncontroversial.
> This was necessary for backwards compatibilit
"Ryszard Szopa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|
| (Also, it is not completely clear what it means for two Python objects
| to "have the same value".
Objects of different types compare unequal unless provision is made
otherwise.
See http://docs.python.org/ref/compa