A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/020809.html below:

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

[Fwd: Re: [Python-Dev] For review: PEP 285: Adding a bool type] [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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4