diff options
author | Victor Stinner <vstinner@python.org> | 2021-01-19 22:04:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 22:04:49 (GMT) |
commit | cad8020cb83ec6d904f874c0e4f599e651022196 (patch) | |
tree | 7db4f105af783ecd5ac60488b081d945bcea14b3 /.github/workflows | |
parent | e8e66eab941b983b6e85cd0d57cd45838880c568 (diff) | |
download | cpython-cad8020cb83ec6d904f874c0e4f599e651022196.zip cpython-cad8020cb83ec6d904f874c0e4f599e651022196.tar.gz cpython-cad8020cb83ec6d904f874c0e4f599e651022196.tar.bz2 |
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.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f05310..6a41b51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,7 @@ jobs: # Build Python with the libpython dynamic library ./configure --with-pydebug --enable-shared make -j4 regen-all + make regen-module-names - name: Check for changes run: | changes=$(git status --porcelain) |