Yury Selivanov added the comment:

>According to https://www.python.org/dev/peps/pep-0492/#transition-plan, the 
>intention was (is?) to make them keywords in 3.7.  As of Feb 11, that had not 
>happened yet.  If and when it does, this issue will be taken care of.

I plan to do that in the next couple of weeks.

> I may consider adding a special context sensitive case for 3.6, if the 
> colorizer code makes it easily possible.  Care is needed since it would be a 
> mistake to mark them as keywords in the above statements.

If possible I would make 'async' and 'await' to be always highlighted. Even if 
a user writes <3.7 code and uses 'async' as a variable, it would still be great 
to let the user know that there is something wrong with this variable.

----------

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

Reply via email to