[issue29706] IDLE needs syntax highlighting for async and await

David E. Franco G. report at bugs.python.org
Fri Mar 3 11:25:32 EST 2017


David E. Franco G. added the comment:

>I presume you would like 'async' and 'await' highlighted as keywords.

Yes. 
Some others tools like IPython and the Spider IDE that come with the Anaconda package already highlighted them as keywords, even if you can use them as normal variables.

>The test is to run colorizer.py as main module (python -m >idlelib.colorize, or F5 in IDLE editor).  Click 'Test' button and check >that 'async' and 'await' have same color as other keywords.  This >cannot affect anything in test suite; colorizer is only used by >turtledemo, which is not tested, and which will not notice anyway.

super, what I have to do to put the patch so I can test it?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29706>
_______________________________________


More information about the Python-bugs-list mailing list