Erik Bray wrote:
Then following my own logic it would be desirable to also allow the nested for loop syntax of list comprehensions outside them as well.
The only use for such a syntax would be to put an inadvisable amount of stuff on one line. When describing a procedural series of steps, the Pythonic style encourages putting each step on its own line. Other areas of the language also nudge one in this direction, e.g. the fact that mutating operations usually return None, which discourages chaining them together into a single expression. -- Greg _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/