Skip to content
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

bpo-34170: Add Python/coreconfig.c for _PyCoreConfig #8607

Merged
merged 1 commit into from
Aug 1, 2018
Merged

bpo-34170: Add Python/coreconfig.c for _PyCoreConfig #8607

merged 1 commit into from
Aug 1, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 1, 2018

  • Move config_() and PyCoreConfig() functions from Modules/main.c
    to a new Python/config.c file.
  • Inline _Py_ReadHashSeed() into config_init_hash_seed()

https://bugs.python.org/issue34170

@vstinner vstinner requested a review from a team as a code owner August 1, 2018 14:56
@vstinner vstinner requested a review from a team August 1, 2018 15:20
@vstinner vstinner changed the title bpo-34170: Add Python/config.c for _PyCoreConfig bpo-34170: Add Python/coreconfig.c for _PyCoreConfig Aug 1, 2018
* Add Include/coreconfig.h
* Move config_*() and _PyCoreConfig_*() functions from Modules/main.c
  to a new Python/coreconfig.c file.
* Inline _Py_ReadHashSeed() into config_init_hash_seed()
* Move global configuration variables to coreconfig.c
@vstinner vstinner merged commit 6c785c0 into python:master Aug 1, 2018
@vstinner vstinner deleted the config_c branch August 1, 2018 15:56
@ncoghlan
Copy link
Contributor

ncoghlan commented Aug 4, 2018

Nice! Hooray for moving that out of the main module :)

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.

4 participants