[Python-Dev] Adding a conditional expression in Py3.0

Gareth McCaughan gmccaughan at synaptics-uk.com
Wed Sep 21 11:52:53 CEST 2005


> I think I'd prefer (if <expr> then <expr> else <expre>) i.e. no
> colons. None of the other  expression forms (list comprehensions and
> generator expressions) involving statement keywords use colons.

FWLIW, this was my (strong) preference back at the time of the
original discussion.

-- 
g



More information about the Python-Dev mailing list