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

@ -32,10 +32,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "Python.h"
#include "pycore_initconfig.h" // _PyStatus_NO_MEMORY()
#include "pycore_lock.h" // PyMutex_Lock()
#include "pycore_qsbr.h"
#include "pycore_interp.h" // PyInterpreterState
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_qsbr.h"
#include "pycore_tstate.h" // _PyThreadStateImpl
// Starting size of the array of qsbr thread states