Skip to content

bpo-35081: Add _PyCoreConfig_AsDict() #10362

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
Nov 6, 2018
Merged

bpo-35081: Add _PyCoreConfig_AsDict() #10362

merged 1 commit into from
Nov 6, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 6, 2018

_testcapimodule.c must not used pycore_pathconfig.h since it's an
internal header files.

Changes:

  • Add _PyCoreConfig_AsDict() function to coreconfig.c.
  • Remove pycore_pathconfig.h include from _testcapimodule.h
  • pycore_pathconfig.h now requires Py_BUILD_CORE to be defined
  • _testcapimodule.c compilation now fails if it's build with
    Py_BUILD_CORE defined

https://bugs.python.org/issue35081

_testcapimodule.c must not used pycore_pathconfig.h since it's an
internal header files.

Changes:

* Add _PyCoreConfig_AsDict() function to coreconfig.c.
* Remove pycore_pathconfig.h include from _testcapimodule.h
* pycore_pathconfig.h now requires Py_BUILD_CORE to be defined
* _testcapimodule.c compilation now fails if it's build with
  Py_BUILD_CORE defined
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