Attitude about new keywords

Erik Max Francis max at
Tue Feb 11 02:42:10 CET 2003

Dave Brueck wrote:

> Me too. I think the key to its readability is that it is enclosed in
> brackets, so I wouldn't mind if the new expression required
> parentheses
> around it (I wouldn't mind because I'd probably enclose if-expressions
> in
> parens anyway, required or not).

The require-parentheses argument leads to weird cases such as that of a
function call:

	f(x if C else y)

would be illegal, instead it would have to be written

	f((x if C else y))

 Erik Max Francis / max at /
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Whoever contends with the great sheds his own blood.
\__/ Sa'di
    Polly Wanna Cracka? /
 The Internet resource for interracial relationships.

More information about the Python-list mailing list