conditional expressions (RE: Loop-and-a-half (Re: Curious assignment behaviour))

Ralph Corderoy ralph at inputplus.demon.co.uk
Mon Oct 15 19:57:16 CEST 2001


Hi Tim,

> implemented-but-not-checked-in-ly y'rs  - tim

Don't check it in.  It's horrible.  I'm all for a ?: in Python using
some notation or other but requiring parenthesis around just this kind
of expression isn't on.

It's non-obvious and distinct from other areas.  It is surprising!

Cheers,


Ralph.




More information about the Python-list mailing list