[Python-3000] Status of True, False, bool type
Guido van Rossum
guido at python.org
Mon Jan 1 17:50:11 CET 2007
On 1/1/07, James Thiele <python3now at gmail.com> wrote:
> PEP 3100 states:
> None becomes a keyword  (What about True, False?)
> Has a decision been made?
No, but I think the argument for making True/False reserved words is
> Also a bool acts like an int in various contexts. For example:
> >>> True == 1
> >>> False == 0
> >>> 16 + (0 == 0)
> Will this behavior continue?
Yes. Don't confuse Python with Java.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000