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/020763.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 typeSkip Montanaro skip@pobox.com
Fri, 8 Mar 2002 10:39:18 -0600
    >> One question: do True/False behave like None, particularly WRT "is"?

    Guido> That depends on what the meaning of "is" is. (*)

    Guido> Yes, there will be only one True and one False.  That's what the
    Guido> _create flag on the __new__ method was trying to suggest.

Hmmm...  A boolean type can only take on two values.  I presume you will
expose True and False through builtins.  Why would you need a __new__ method
or any notiong of "creation"?

Skip



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