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

Tim Peters tim.one@comcast.net
Wed, 03 Apr 2002 15:27:13 -0500

> How about operator.truth()? Has Tim changed his mind at all? Has Guido?

Guido change his mind?  That's about as likely as Tim changing his <wink>.
Guido Pronounced on this and that's good enough for me.  I'd still prefer
operator.truth() return 0/1, but this always was (as the PEP said from the
start) a "minor additional issue".  People can learn to use int(bool(x))
when they need 0/1, and operator.truth() becomes dead weight.