]> granicus.if.org Git - python/commit
bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)
authorDino Viehland <dinoviehland@fb.com>
Wed, 11 Sep 2019 17:16:34 +0000 (10:16 -0700)
committerEric Snow <ericsnowcurrently@gmail.com>
Wed, 11 Sep 2019 17:16:34 +0000 (18:16 +0100)
commitac46eb4ad6662cf6d771b20d8963658b2186c48c
treeda2d53570c816bf85cd66013961a0a5fde44709d
parent8d120f75fb8c8731464b5f7531d74cdbb897d924
bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)

Summary: This mostly migrates Python-ast.c to PEP384 and removes all statics from the whole file. This modifies the generator itself that generates the Python-ast.c. It leaves in the usage of _PyObject_LookupAttr even though it's not fully PEP384 compatible (this could always be shimmed in by anyone who needs it).
Misc/NEWS.d/next/Core and Builtins/2019-09-11-14-10-02.bpo-38113.yZXC3P.rst [new file with mode: 0644]
Parser/asdl_c.py
Python/Python-ast.c