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

Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 11 Mar 2002 13:10:43 +1300 (NZDT)


Skip Montanaro <skip@pobox.com>:

> Guido's proposal is for bool to be a
> subclass of int.  Consequently, 28 + True should yield 29

But True - 1 won't equal False. Should it?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+