Re: [Zope-dev] [Vote] PEP308 voting began

2003-03-07 Thread Florent Guillaume
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

Re: [Zope-dev] [Vote] PEP308 voting began

2003-03-05 Thread Dieter Maurer
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:..

Re: [Zope-dev] [Vote] PEP308 voting began

2003-03-05 Thread Dan L. Pierson
--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:..

[Fwd: Re: [Zope-dev] [Vote] PEP308 voting began]

2003-03-05 Thread Chris Withers
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]>

Re: [Zope-dev] [Vote] PEP308 voting began

2003-03-05 Thread Chris Withers
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

Re: [Zope-dev] [Vote] PEP308 voting began

2003-03-04 Thread Matthew T. Kromer
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

Re: [Zope-dev] [Vote] PEP308 voting began

2003-03-04 Thread Guido van Rossum
> 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 >

[Zope-dev] [Vote] PEP308 voting began

2003-03-04 Thread Dieter Maurer
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