[issue31362] "async" and "await" are not keyword

2017-09-06 Thread Conor Cal
Conor Cal added the comment: thanks Ammar Askar, I also find this Issue is duplidcate, Issue 26264 has the same question. So I'll just close this oen. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue31362] "async" and "await" are not keyword

2017-09-05 Thread Ammar Askar
Ammar Askar added the comment: For what its worth, "async" and "await" are special keywords. They only act as keywords under certain situations by the tokenizer. You can read more about this here: https://www.python.org/dev/peps/pep-0492/#transition-plan As far as I am aware, this special casi

[issue31362] "async" and "await" are not keyword

2017-09-05 Thread Conor Cal
Changes by Conor Cal : -- resolution: -> duplicate ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31362] "async" and "await" are not keyword

2017-09-05 Thread Conor Cal
Conor Cal added the comment: "async" and "await" became kaywords in CPython 3.6. But they are not in kwlist of the keyword library, and will return False by iskeyword method. -- ___ Python tracker

[issue31362] "async" and "await" are not keyword

2017-09-05 Thread Conor Cal
Changes by Conor Cal : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue31362] "async" and "await" are not keyword

2017-09-05 Thread Conor Cal
New submission from Conor Cal: "async" and "await" became kaywords in CPython 3.6. but in the keyword library, they are not in kwlist, and will return False by iskeyword method. -- components: asyncio messages: 301443 nosy: Conor Cal, yselivanov priority: normal severity: normal status: