Morel Xavier wrote:
> Steve Holden wrote:
> 
>>Contrast with the bleeding obvious:
>>
>>     level = 0
>>     if "absolute_import" in self.futures:
>>         level = -1
>>
>>regards
>>  Steve
> 
>  >
> 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...

And of course the example I criticized was a list comprehension (not).

  The fact that ternary operators improve some features isn't an excuse 
for using them when they actually decrease readability.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd                 www.holdenweb.com
Love me, love my blog         holdenweb.blogspot.com

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to