[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1b0d65fa102fae087254009f6d9903b1d4257d78 by Terry Jan Reedy in branch '3.6': [3.6] bpo-29706: IDLE now colors async and await as keywords in 3.6. (#6879) https://github.com/python/cpython/commit/1b0d65fa102fae087254009f6d9903b1d4257d78

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +6551 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread miss-islington
miss-islington added the comment: New changeset 7c59a33491b0bde639a9382ef1de2423207a8cc7 by Miss Islington (bot) in branch '3.6': bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846) https://github.com/python/cpython/commit/7c59a33491b0bde639a9382ef1de2423207a8cc7 --

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread miss-islington
miss-islington added the comment: New changeset 8717cfeb6b8bebdfe13df0e9268ddd252ab5ecad by Miss Islington (bot) in branch '3.7': bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846) https://github.com/python/cpython/commit/8717cfeb6b8bebdfe13df0e9268ddd252ab5ecad -- n

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +6542 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +6541 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 389a48ede92bf7965889d554d2cd17b50d6e3d86 by Terry Jan Reedy in branch 'master': bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846) https://github.com/python/cpython/commit/389a48ede92bf7965889d554d2cd17b50d6e3d86 -- __

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 6846 adds the htest line to all versions (no news). When merged, I will augment the keyword list and add a news blurb for 3.6. -- stage: patch review -> needs patch versions: -Python 3.7 ___ Python tracker

[issue29706] IDLE needs syntax highlighting for async and await

2018-05-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +6526 stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
David E. Franco G. added the comment: I found the problem, it was a test.pyc file that was in my personal folder... once deleted it work perfect the build-in test module should have some other name... -- ___ Python tracker

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: If 'import test' fails that way, then there is a problem either with Anaconda or your installation. You might try deleting .../Lib/test/__pycache__/__init__*.pyc. -- ___ Python tracker

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
David E. Franco G. added the comment: Ok, Done. that work in both 3.5 and 3.6 I also did the python -m idlelib.ColorDelegator and python -m idlelib.colorizer and they turn ok I also open those modules in their respective idle and run them, ColorDelegator work ok but colorizer thr

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, the easiest thing to do would be to copy and paste the following + ['async', 'await'] into this line of colorizer.py (ColorDelegator.py in 3.5) kw = r"\b" + any("KEYWORD", keyword.kwlist) + r"\b" about line 17, to get kw = r"\b" + any("KEYWORD", k

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
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 tes

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread Martin Panter
Martin Panter added the comment: See also Issue 26264 about the “keyword” module -- nosy: +martin.panter ___ Python tracker ___ ___ Py

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Always coloring 'async' and 'await' is trivial (augment expression and add test line) and acceptable to me. I am a git neophyte and am waiting for workflow development to settle down before working on new setup for git. If you want to submit the change for 3

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you would like 'async' and 'await' highlighted as keywords. However, IDLE takes its definition of 'keyword' from keyword.kwlist. 'Async' and 'await' are currently not on that list as they are not yet keywords. >>> async = 1 >>> await = 2 According

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-02 Thread Yury Selivanov
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 cou

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-02 Thread David E. Franco G.
New submission from David E. Franco G.: Well, this is pretty self explanatory, when playing with this new features of async and await (https://docs.python.org/3.5/whatsnew/3.5.html#new-features) I found to me surprise that there is no syntax highlighting for it in the IDLE for py3.5 and also f