Ivan Levkivskyi <[email protected]> added the comment: Well, after all I am thinking maybe it is indeed makes sense to ban `yield` inside both sync/async and both comprehensions/generator expressions. Since we already have a smörgåsbord of intuitive behaviors.
This, _together_ with extensive clarification to the docs and error messages can fix the problem. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue10544> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
