Proposed PEP for a Conditional Expression

Erik Max Francis max at
Thu Sep 13 07:53:54 CEST 2001

thp at wrote:

> C syntax does overload the already heavily used colon.

The colon isn't used all that much in C.  It's used in labels and statements, the conditional operator, and bitfields.

> Perhaps it
> would be better to use semicolon instead of colon.

The colon is too overloaded in C, but the semicolon isn't?  At least one
semicolon appears in every C statement.

 Erik Max Francis / max at /
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There are countless planets, like many island Earths ...
\__/ Konstantin Tsiolkovsky
    REALpolitik /
 Get your own customized newsfeed online in realtime ... for free!

More information about the Python-list mailing list