[Python-Dev] For review: PEP 285: Adding a bool type (original) (raw)
Skip Montanaro skip@pobox.com
Fri, 8 Mar 2002 10:39:18 -0600
- Previous message: [Python-Dev] For review: PEP 285: Adding a bool type
- Next message: [Python-Dev] For review: PEP 285: Adding a bool type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> 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
- Previous message: [Python-Dev] For review: PEP 285: Adding a bool type
- Next message: [Python-Dev] For review: PEP 285: Adding a bool type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]