On Sun, 23 Oct 2016 01:15 pm, eryk sun wrote: > I meant the behavior seems to have been copied to align with generator > expressions, even though the cited rationale doesn't apply. I'm not > saying this is wrong. It's useful that the expression for the outer > iterator is evaluated in the defining scope. However, it's only > documented for generator expressions, in 6.2.8. The documentation for > comprehensions in 6.2.4 makes no mention of it.
6.2.8? 6.2.4? What are these references to? -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/python-list