[issue35975] Put back the ability to parse files where async/await aren't keywords

Yury Selivanov report at bugs.python.org
Wed Feb 27 19:24:20 EST 2019


Yury Selivanov <yselivanov at gmail.com> added the comment:

Well, it's not just rolling back async/await from being keywords. Since 3.7 it's possible to create async generator expressions in non-async functions. This wasn't possible to do with old hacks on the lexer. So if you want to revert the change you risk losing some functionality we enabled in 3.7

----------
nosy: +yselivanov

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35975>
_______________________________________


More information about the Python-bugs-list mailing list