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

David Ascher DavidA@ActiveState.com
Fri, 08 Mar 2002 14:33:54 -0800


[resent - forgot python-dev in my reply to guido]

Guido van Rossum wrote:

> Absolutely not.  I want True == 2 to be False.

Intersesting.  so:
	operator.truth(2) would be True

but:
	2 == True would be False

and:
	bool(2) would be True

Once again, casting, coercion, comparisons and truth value rear their
fuzzy heads.

--david