]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40528: Improve AST generation script to do builds simultaneously (GH-19968)
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>
Mon, 18 May 2020 17:42:10 +0000 (20:42 +0300)
committerGitHub <noreply@github.com>
Mon, 18 May 2020 17:42:10 +0000 (18:42 +0100)
commit63b8e0cba3d43e53a8dd8878ee1443c8427f462d
tree7fc7f94d7ff2783ba72c319b3ec956c88a00c8e7
parent7b7a21bc4fd063b26a2d1882fddc458861497812
bpo-40528: Improve AST generation script to do builds simultaneously (GH-19968)

- Switch from getopt to argparse.
- Removed the limitation of not being able to produce both C and H simultaneously.

This will make it run faster since it parses the asdl definition once and uses the generated tree to generate both the header and the C source.
Makefile.pre.in
PCbuild/regen.vcxproj
Parser/asdl_c.py