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

Skip 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