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

Mark McEahern marklists at mceahern.com
Wed Apr 3 13:55:26 EST 2002


[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





More information about the Python-list mailing list