gh-131238: Add explicit includes to pycore headers (#131257)

This commit is contained in:
Victor Stinner 2025-03-17 12:32:43 +01:00 committed by GitHub
parent 0453e494b6
commit 978e37bb5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 80 additions and 45 deletions

View file

@ -2,13 +2,13 @@
/* Support for dynamic loading of extension modules */
#include "Python.h"
#include "pycore_call.h"
#include "pycore_import.h"
#include "pycore_call.h" // _PyObject_CallMethod()
#include "pycore_import.h" // _PyImport_SwapPackageContext()
#include "pycore_importdl.h" // struct _Py_ext_module_loader_info
#include "pycore_moduleobject.h" // _PyModule_GetDef()
#include "pycore_pyerrors.h" // _PyErr_FormatFromCause()
#include "pycore_pystate.h"
#include "pycore_runtime.h"
#include "pycore_runtime.h" // _Py_ID()
#include "pycore_importdl.h"
/* ./configure sets HAVE_DYNAMIC_LOADING if dynamic loading of modules is
supported on this platform. configure will then compile and link in one