[Python-Dev] Re: PEP 285: Adding a bool type

Gonçalo Rodrigues op73418 at mail.telepac.pt
Wed Apr 3 18:20:38 EST 2002


On Wed, 3 Apr 2002 12:55:26 -0600, "Mark McEahern"
<marklists at mceahern.com> wrote:

>[Chris Liechti]
>> i disagree. comparing True/False with other values should give the same 
>> result as when it were used with an 'if':
>> >>> True == 1, True == 6
>> True, True
>
>So 6 == True == 1, but 6 != 1?
>
>// mark
>

Hmmm I think Chris just busted up Transitivity of Equality. No longer an
equivalence relation...

Gonçalo Rodrigues



More information about the Python-list mailing list