Please consider this snippet:
>>> i = ["", 1, 2]
>>> all([x for x in i])
False
What would be Pythonic way to make this snippet return True even if item in iterable is empty string?
Standard restrictions should apply - if item is None or False etc, it should return False as expected.
Trueunless at least one item is falsey, but count an empty string as truthy? I.e. follow Python's rules on what is countedTrueandFalseexcept for an empty string?