Morel Xavier wrote:
Steve Holden wrote:
Contrast with the bleeding obvious:
level = 0 if "absolute_import" in self.futures: level = -1
The issue that spawned the necessity of a ternary operator in the first place was that this syntax is not usable at all in quite a few situations like, say, list comprehensions...
Sure, and for those uses it's good enough. This isn't really a python-dev topic, though, so I'll avoid following up further on this list.