Attention: cross post

PEP308 is concerned with the introduction of a ternary conditional
operator (something like an "if cond: val_true else: val_false")
into Zope.

In my view, such an operator would make TALES expressions
easier because we could get rid of the "and/or" hack to
represent conditionals and we could forget about the "test"
function, which evaluates too eagerly.

Please have a look at PEP308 and consider voting.
Details in "comp.lang.python.announce".


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