Loop-and-a-half (Re: Curious assignment behaviour)
phr-n2001d at nightsong.com
Sun Oct 14 04:32:04 CEST 2001
"Tim Peters" <tim at zope.com> writes:
> If people sign off on taking "then" as a new keyword, I think the chances
> are good that we could get
> x = if e1 then e2 else e3
> into 2.2b1. That's the only obvious spelling, hence the only truly Pythonic
> way to spell it. Other languages spelling it that way range from Algol-60
> (Guido's first intense language affair) to Haskell.
This sounds fine to me.
More information about the Python-list