For review: PEP 308 - If-then-else expression

Erik Max Francis max at
Sun Feb 9 22:04:48 CET 2003

Roman Suzi wrote:

> New proposal:
> YES @ condition or else NO
> It could be spoken as:
> "YES at condition otherwise NO"

How is this superior to

	YES if condition else NO?

In addition to wanting to avoid introducing new punctuation, you
probably want to particularly avoid things like $, @ since they're often
used in templating systems to set off actual Python code.  If they
started appearing in Python code, that would make templating systems'
lives harder.

 Erik Max Francis / max at /
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Life is an effort that deserves a better cause.
\__/ Karl Kraus
    Alcyone Systems /
 Alcyone Systems, San Jose, California.

More information about the Python-list mailing list