]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42955: Add Python/module_names.h (GH-24258)
authorVictor Stinner <vstinner@python.org>
Tue, 19 Jan 2021 22:04:49 +0000 (23:04 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Jan 2021 22:04:49 +0000 (23:04 +0100)
commitcad8020cb83ec6d904f874c0e4f599e651022196
tree7db4f105af783ecd5ac60488b081d945bcea14b3
parente8e66eab941b983b6e85cd0d57cd45838880c568
bpo-42955: Add Python/module_names.h (GH-24258)

Add a private list of all stdlib modules: _Py_module_names.

* Add Tools/scripts/generate_module_names.py script.
* Makefile: Add "make regen-module-names" command.
* setup.py: Add --list-module-names option.
* GitHub Action and Travis CI also runs "make regen-module-names",
  not ony "make regen-all", to ensure that the module names remains
  up to date.
.github/workflows/build.yml
.travis.yml
Makefile.pre.in
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/module_names.h [new file with mode: 0644]
Tools/scripts/generate_module_names.py [new file with mode: 0644]
setup.py