PEP 285: Adding a bool type

Ralph Corderoy ralph at inputplus.demon.co.uk
Sun Mar 31 08:07:11 EST 2002


Hi Guido,

> IMO, bool(x) is the right way to "normalize" any value into a truth
> value.

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.


Ralph.




More information about the Python-list mailing list