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

James J. Besemer jb at cascade-sys.com
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.

--jb


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







More information about the Python-list mailing list