[Info] PEP 308 accepted - new conditional expressions

Dave Benjamin ramen at lackingtalent.com
Fri Sep 30 22:37:03 CEST 2005


Reinhold Birkenfeld wrote:
> after Guido's pronouncement yesterday, in one of the next versions of Python
> there will be a conditional expression with the following syntax:
> 
> X if C else Y

Hooray! After years of arguing over which syntax to use, and finally 
giving up since nobody could agree, the Benevolent Dictator did what 
only a dictator can do, and just made a damn decision already.

Thank you, Guido! =)

Dave



More information about the Python-list mailing list