Łukasz Langa wrote: Alternatively, the only way I think we can improve on
the syntax above is something like this: do: <code> if condition: break
But if we take a comprehension with a 'while' clause,
[... for a in x while c]
Correct me if I'm wrong but it seems you mixed up two independent threads on the list. I'm discussing an equivalent of the C `do {} while();` loop. This doesn't touch comprehensions at all.