Compatibility  between conditional expressions and list comprehensions