Skip to content

bpo-42955: Add Python/module_names.h - #24258

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:module_names_private
Jan 19, 2021
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:module_names_private

Conversation

@vstinner

@vstinner vstinner commented Jan 19, 2021 •

Copy link
Copy Markdown
Member

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.

https://bugs.python.org/issue42955

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.
@vstinner
vstinner requested a review from a team as a code owner January 19, 2021 21:45
@vstinner
vstinner merged commit cad8020 into python:master Jan 19, 2021
@vstinner
vstinner deleted the module_names_private branch January 19, 2021 22:04
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants