[Python-Dev] conditional expressions? (original) (raw)

Gordon McMillan gmcm@hypernet.com
Mon, 15 Oct 2001 17:24:29 -0400


Paul Svensson wrote:

so I guess don't have the understanding of the motivation behind the proposal that I could have had.

Because: a and b or c burns you when b evaluates to false, but (a and [b] or [c])[0] is a monstrosity. And yes, people do that.