]> granicus.if.org Git - python/commit
bpo-30406: Make async and await proper keywords (#1669)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Fri, 6 Oct 2017 03:24:46 +0000 (20:24 -0700)
committerYury Selivanov <yury@magic.io>
Fri, 6 Oct 2017 03:24:46 +0000 (23:24 -0400)
commitac317700ce7439e38a8b420218d9a5035bba92ed
treeddeb7d90f2e90b73a37783b88ef77376d9d996f5
parent2084b30e540d88b9fc752c5bdcc2f24334af4f2b
bpo-30406: Make async and await proper keywords (#1669)

Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
22 files changed:
Doc/library/token.rst
Doc/tools/extensions/pyspecific.py
Grammar/Grammar
Include/graminit.h
Include/token.h
Lib/keyword.py
Lib/lib2to3/Grammar.txt
Lib/lib2to3/pgen2/token.py
Lib/lib2to3/pgen2/tokenize.py
Lib/lib2to3/tests/test_parser.py
Lib/pydoc.py
Lib/symbol.py
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_coroutines.py
Lib/test/test_parser.py
Lib/test/test_tokenize.py
Lib/tokenize.py
Misc/NEWS.d/next/Core and Builtins/2017-07-20-22-03-44.bpo-30406._kr47t.rst [new file with mode: 0644]
Parser/tokenizer.c
Parser/tokenizer.h
Python/ast.c
Python/graminit.c