Ben Finney wrote:
That the comprehension syntax *does not* necessarily connote a procedural loop, but instead can quite reasonably be interpreted as its designer intended, a single conceptual operation.
To put it another way: Consider that a comprehension is an expression, and I think most people would agree that relying on order of evaluation in an expression is a very bad idea, since it hurts readability and is prone to subtle bugs. -- Greg -- https://mail.python.org/mailman/listinfo/python-list