[Info] PEP 308 accepted - new conditional expressions

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Sat Oct 1 02:28:19 EDT 2005


Erik Max Francis wrote:
> Dave Benjamin wrote:
> 
>> 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! =)
> 
> Yes, hear hear.
> 
> So what made him change his mind?  When the debates raged over PEP 308, 
> he seemed pretty dead set against it (at least by proxy) ...

Raymond Hettinger proposed to change the behavior of and/or to return one
of their arguments because he had been bitten by the common trap of
C and X or Y when X is False.

People were positive about it, but said that then a conditional would have
to be introduced. So Guido considered it again. He says himself that the
greatest problem last time was that no consensus over syntax was reached,
and he solved the problem this time by deciding himself.

Reinhold



More information about the Python-list mailing list