Guido van Rossum wrote at 2003-3-4 15:23 -0500:
 > .... if-then-else expression ....

 > IMO TALES should solve this for itself by introducing an if/then/else
 > expression form rather than depending on Python.  If you can have a
 > "not:.." expression, surely you can have an "if:..:then:..:else:.."
 > expression.

Hopefully, we will get it in Python.

There, it is useful, too, being clearer (more explicit)
than "cond and expr1 or expr2" and less error prone...


Dieter

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to