On Wed, Jan 25, 2017 at 6:28 AM, Joe Jevnik <jjevnik@quantopian.com> wrote:
That was a long way to explain what the problem was. I think that that solution is to stop using `yield` in comprehensions because it is confusing, or to make `yield` in a comprehension a syntax error.

Thanks for the very clear explanation.

Would an addition to the documentation for 3.6 giving an abbreviated version help while the devs consider whether any changes are appropriate for 3.7?


Steve Holden