[issue26264] keyword module missing async and await keywords

2018-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is out-of-date for 3.5 and almost so for 3.6 and not an issue for 3.7. The PR has been closed. And I agree with Raymond that keywords.py should not anticipate the future. All this is aside from the auto-generation issue. --

[issue26264] keyword module missing async and await keywords

2017-04-21 Thread Михайло Гавеля
Changes by Михайло Гавеля : -- pull_requests: +1357 ___ Python tracker ___ ___

[issue26264] keyword module missing async and await keywords

2016-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: > Depending on the purpose of the syntax highlighting or code analysis, > it might be better for these to be listed as keywords now, rather than > waiting until 3.7. I agree, especially considering that it takes time before syntax highlighters update their

[issue26264] keyword module missing async and await keywords

2016-02-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: It shouldn't go into keywords.py until it is actually a keyword. Keywords is used for many purposes including syntax highlighting and code analysis tools. -- assignee: rhettinger -> resolution: -> not a bug

[issue26264] keyword module missing async and await keywords

2016-02-07 Thread Martin Panter
Martin Panter added the comment: To answer my question, it looks like the keywords.py list is automatically generated (by running the script) from Python/graminit.c, in turn generated from Grammar/Grammar. “Yield” and “with” were always listed even when the __future__ statement was needed to

[issue26264] keyword module missing async and await keywords

2016-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: `async` and `await` are only keywords in the context of an 'async def' function. It will be that way until Python 3.7. That said, I'm not sure what to do about the keywords module. Nick, Victor, thoughts? -- nosy: +haypo, ncoghlan, yselivanov

[issue26264] keyword module missing async and await keywords

2016-02-01 Thread Martin Panter
Martin Panter added the comment: What happened in cases like “with” and “yield”, when these names were turned into reserved keywords depending on a __future__ statement? -- nosy: +martin.panter ___ Python tracker

[issue26264] keyword module missing async and await keywords

2016-02-01 Thread Timo Furrer
Changes by Timo Furrer : -- title: keyword.py missing async await -> keyword module missing async and await keywords ___ Python tracker