Conversation
* setup.py now defines Py_BUILD_CORE to build the _testcapi module (_testcapimodule.c). * pycore_pathconfig.h now requires Py_BUILD_CORE to be defined.
|
Is not intended to build it without Py_BUILD_CORE for testing the same C API that is available in external extensions? |
Honestly, the exact purpose of _testcapi is now unclear to me :-) This module became giant. Maybe we need a new module to the test the Py_BUILD_CORE API? _testcapi.get_coreconfig() converts PyInterpreterState.core_config to a Python function, from my point of view, this code is not part of the public Python C API. -- Other options:
|
|
I'm going to split If the only problem is with |

(_testcapimodule.c).
https://bugs.python.org/issue35081