[Python-3000] Status of True, False, bool type

Terry Reedy tjreedy at udel.edu
Mon Jan 1 20:52:25 CET 2007


"Mike Orr" <sluggoster at gmail.com> wrote in message 
news:6e9196d20701011113u7fbbbb43mb24e6635b9edc7c5 at mail.gmail.com...
| Huh?  'True == 1' is a "feature"?  '16 + (0 == 0)' being illegal is a
| "Javaism"?  Would somebody care to explain this?  It's acceptable that
| 2 is true but not True?  Why do we need 1 for True at all if we have
| True?

Start with http://www.python.org/dev/peps/pep-0285/
There was also discussion on PyDev.

tjr





More information about the Python-3000 mailing list