Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2021
Merged

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

merged 1 commit into from
Jan 19, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 19, 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.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants