[Info] PEP 308 accepted - new conditional expressions

Piet van Oostrum piet at cs.uu.nl
Thu Oct 13 15:49:15 EDT 2005


>>>>> iddw at hotmail.com (Dave Hansen) (DH) wrote:

>DH> So lose the "if."

>DH>    R = C then A else B

>DH> I don't think python uses the question mark for anything.  Throw that
>DH> in, if it makes parsing easier:

>DH>    R = C ? then A else B

We have already had this discussion several times. I don't think it is
going to add anything new to it. Besides after the BDFL has decided it is
useless. 
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list