[Zope-dev] [Vote] PEP308 voting began
Dieter Maurer
dieter@handshake.de
Wed, 5 Mar 2003 20:14:09 +0100
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