PEP 285: Adding a bool type
Ralph Corderoy
ralph at inputplus.demon.co.uk
Sun Mar 31 17:16:37 EST 2002
Hi,
> [Ralph Corderoy, to Guido]
> > What do you think of `truth(x)' for all the good reasons listed
> > elsewhere in the thread? You used truth yourself instead of
> > Boolean above.
>
> Actually, he didn't.
Yes he did. You just snipped it so you'd have something to say ;-)
Guido wrote:
"IMO, bool(x) is the right way to "normalize" any value into a
truth value."
So there he is, using `truth' as opposed to `any value into a Boolean
value'.
Ralph.
More information about the Python-list
mailing list