PEP308: Yet another syntax proposal

Aahz aahz at
Mon Feb 10 19:26:38 CET 2003

In article <mailman.1044897041.3120.python-list at>,
Dave Brueck  <dave at> wrote:
>On Mon, 10 Feb 2003, Aahz wrote:
>> In article <YUP1a.3080$SB2.242 at>,
>> Raymond Hettinger <python at> wrote:
>>>I suggest:
>>>    cond  ??  val1  ||  val2
>> +0.5
>> I still have yet to see a clear explanation of why short-circuit is
>> necessary
>Short-circuit evaluation is never "necessary" in _any_ language - it's
>just very, very useful sometimes. Python's 'and' operator doesn't _have_
>to be a short-circuit operator, but it's far more useful because it is.

"Far more useful", eh?  You need to argue that, not just claim it.
Aahz (aahz at           <*>

Register for PyCon now!

More information about the Python-list mailing list