Attention: cross post
PEP308 is concerned with the introduction of a ternary conditional
operator (something like an "if cond: val_true else: val_false")
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".
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -