For review: PEP 308 - If-then-else expression

Carlos Ribeiro cribeiro at
Sat Feb 8 22:26:59 CET 2003

On Saturday 08 February 2003 02:22 pm, Andrew Koenig wrote:
> Laura> Thus answering the question 'if we let it in will we get code that
> Laura> is hard to read'.  I want my control flow with indentation, please.
> holger> very good point.
> Yes, but in what direction does it argue?
> In C, I don't consider ?: to be control flow, any more than
> I consider && or || to be control flow.  In fact, part of
> reason that conditional expressions appeal to me is that they
> permit some kinds of expressions to be written *without* control
> flow that otherwise would require it.

Many, many thanks - you put it much better than I did in my previous replies. 

Carlos Ribeiro
cribeiro at

More information about the Python-list mailing list