Guido van Rossum <gu...@python.org> added the comment:
And the same tokenizer trick that detects 'async def' could detect 'async for' easily. See https://github.com/python/cpython/pull/12086/files#diff-30b8266a4285de981f8b1b82a8cc6231R1418 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com