[Python-Dev] conditional expressions? (original) (raw)
Gordon McMillan gmcm@hypernet.com
Mon, 15 Oct 2001 17:24:29 -0400
- Previous message: [Python-Dev] conditional expressions?
- Next message: [Python-Dev] conditional expressions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Gordon
- Previous message: [Python-Dev] conditional expressions?
- Next message: [Python-Dev] conditional expressions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]