bpo-38083: Minor improvements in asdl_c.py and Python-ast.c. (GH-15824)

* Use the const qualifier for constant C strings.
* Intern field and attribute names.
* Temporary incref a borrowed reference to a list item.
This commit is contained in:
Serhiy Storchaka 2019-09-10 13:02:30 +03:00 committed by T. Wouters
parent 359143c686
commit 43c9731334
2 changed files with 322 additions and 141 deletions

438
Python/Python-ast.c generated

File diff suppressed because it is too large Load diff