In article <[EMAIL PROTECTED]> you write:
> Guido van Rossum wrote:
> >
> > 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:.."
> > expr
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:..
--On Tuesday, March 04, 2003 03:23:54 PM -0500 Guido van Rossum
<[EMAIL PROTECTED]> wrote:
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:..
I think this was for the list...
Chris
Original Message
Subject: Re: [Zope-dev] [Vote] PEP308 voting began
Date: Wed, 05 Mar 2003 08:42:10 -0500
From: Brian Brinegar <[EMAIL PROTECTED]>
To: Chris Withers <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Guido van Rossum wrote:
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.
I think not: is dubious and I'd find if-then-else way ove
Guido van Rossum wrote:
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.
--Guido van Rossum (home page: http://www.python.org/~gu
> 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
>
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 conditio