My .02 on PEP308 + an extra question.

Aahz aahz at pythoncraft.com
Mon Feb 10 12:33:52 EST 2003


In article <aeR1a.805$PC1.148 at tornadotest1.news.pas.earthlink.net>,
Adonis <adonisv at earthlink.net> wrote:

>How about something like:
>
>x = iif(cond, true, false)
>
>BUT, why mingle with all this when anyone can simply make it?

Same reason that Guido finally broke down and added booleans:
standardized spellings are worth a lot.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html




More information about the Python-list mailing list