PEP 285: Adding a bool type

Aahz aahz at pythoncraft.com
Wed Apr 3 16:56:06 EST 2002


In article <slrnaaktij.kr1.kamikaze at kuoi.asui.uidaho.edu>,
Mark 'Kamikaze' Hughes <kamikaze at kuoi.asui.uidaho.edu> wrote:
>
>  The central problem with that is that Python doesn't have a ternary
>operator, which means that Python programmers use math on booleans more
>than usual.  I don't see a problem with this, anyway, as long as people
>know what the int values of True and False are.

That's a good point.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list