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/020812.html below:

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

[Python-Dev] For review: PEP 285: Adding a bool type [Python-Dev] For review: PEP 285: Adding a bool typeBarry A. Warsaw barry@zope.com
Fri, 8 Mar 2002 18:36:44 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> For the first time, we'll have a standard way to cast an
    GvR> arbitrary value to a normalized truth value.  Currently we
    GvR> write "not not x" for that.  Now *that* is ugly.

That's a huge benefit I hadn't thought of.  I use that idiom often
because it's a cheap substitute for the lack of a ?: statement.  But
it does confound a lot of people!

-Barry



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