Skip to content

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