PEP 308: more and more...

bormotov bor at
Wed Feb 26 17:36:42 CET 2003

Hi All!

 small suggestion for PEP 308:

 <cond> and then <exp1> or else <exp2>

 + 'and', 'then', 'or', 'else' - already keywords
 + simular to "<cond> and <exp1> or <exp2>" => easy redable
 + simular to "if <cond> then <exp1> else <exp2>"  => easy readable

 as variants:

 <cond1> and then <exp1> or then <cond2> and then <exp2> ... or else <condN>

 - ???


More information about the Python-list mailing list