Martin Panter added the comment:

I’m not that familiar with the parser either. Maybe I remember a flag or 
something saying “we are inside an async def function”, which changes “await” 
from a user identifier into a reserved keyword. But I can’t imagine how that 
flag will help much with this proposal. The problem I think is “await” is never 
treated as a reserved keyword when the flag is not set.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to