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

James J. Besemer jb at
Mon Feb 10 20:39:31 CET 2003

Roman Suzi wrote:

> It is not very clear in nested variant as the code is not readable
> any more... Guido can drop indents in Python as well.

While I object to requiring parentheses around all if-then-else expressions 
generally, it would be easy to make the grammar REQUIRE parentheses around 
nested conditionals.


James J. Besemer		503-280-0838 voice
2727 NE Skidmore St.		503-280-0375 fax
Portland, Oregon 97211-6557	mailto:jb at	

More information about the Python-list mailing list