Skip to content

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