From: Skip Montanaro <skip@pobox.com>
Replying To: Guido van Rossum <guido@python.org>
Date: Fri, 8 Mar 2002 10:39:18 -0600
Subject: Re: [Python-Dev] For review: PEP 285: Adding a bool type

    >> 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
 
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev