[issue33363] async for statement is not a syntax error in sync context
Yury Selivanov
report at bugs.python.org
Fri Apr 27 18:33:44 EDT 2018
Yury Selivanov <yselivanov at gmail.com> added the comment:
New changeset a93a663d6c2fdfbddbda9729c96e2737c0012522 by Yury Selivanov (Zsolt Dollenstein) in branch '3.7':
[3.7] bpo-33363: raise SyntaxError for async for/with outside async functions (GH-6616). (GH-6619)
https://github.com/python/cpython/commit/a93a663d6c2fdfbddbda9729c96e2737c0012522
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33363>
_______________________________________
More information about the Python-bugs-list
mailing list