aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/_warnings.c2
-rw-r--r--Python/bltinmodule.c2
-rw-r--r--Python/ceval.c2
-rw-r--r--Python/ceval_gil.h2
-rw-r--r--Python/codecs.c2
-rw-r--r--Python/condvar.h2
-rw-r--r--Python/context.c6
-rw-r--r--Python/coreconfig.c4
-rw-r--r--Python/dynload_shlib.c2
-rw-r--r--Python/errors.c2
-rw-r--r--Python/frozenmain.c2
-rw-r--r--Python/getopt.c2
-rw-r--r--Python/hamt.c4
-rw-r--r--Python/import.c6
-rw-r--r--Python/pathconfig.c4
-rw-r--r--Python/pylifecycle.c8
-rw-r--r--Python/pystate.c4
-rw-r--r--Python/pythonrun.c2
-rw-r--r--Python/symtable.c2
-rw-r--r--Python/sysmodule.c4
-rw-r--r--Python/thread.c2
-rw-r--r--Python/traceback.c2
22 files changed, 34 insertions, 34 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 8e1c01d0b29..619ec6f26b4 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -1,5 +1,5 @@
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "frameobject.h"
#include "clinic/_warnings.c.h"
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 8001c603939..6c8672adfc1 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2,7 +2,7 @@
#include "Python.h"
#include "Python-ast.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "node.h"
#include "code.h"
diff --git a/Python/ceval.c b/Python/ceval.c
index 64431238484..5599b6efa3e 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -10,7 +10,7 @@
#define PY_LOCAL_AGGRESSIVE
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "code.h"
#include "dictobject.h"
diff --git a/Python/ceval_gil.h b/Python/ceval_gil.h
index 4a054a97f71..f2d5fdba015 100644
--- a/Python/ceval_gil.h
+++ b/Python/ceval_gil.h
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <errno.h>
-#include "internal/pyatomic.h"
+#include "pycore_atomic.h"
/* First some general settings */
diff --git a/Python/codecs.c b/Python/codecs.c
index 4062429fe35..62bbee61c0a 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -9,7 +9,7 @@ Copyright (c) Corporation for National Research Initiatives.
------------------------------------------------------------------------ */
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "ucnhash.h"
#include <ctype.h>
diff --git a/Python/condvar.h b/Python/condvar.h
index 951b8ad47f0..13517409aea 100644
--- a/Python/condvar.h
+++ b/Python/condvar.h
@@ -41,7 +41,7 @@
#define _CONDVAR_IMPL_H_
#include "Python.h"
-#include "internal/condvar.h"
+#include "pycore_condvar.h"
#ifdef _POSIX_THREADS
/*
diff --git a/Python/context.c b/Python/context.c
index 7344e968cce..b1f67b5aa75 100644
--- a/Python/context.c
+++ b/Python/context.c
@@ -1,9 +1,9 @@
#include "Python.h"
#include "structmember.h"
-#include "internal/pystate.h"
-#include "internal/context.h"
-#include "internal/hamt.h"
+#include "pycore_state.h"
+#include "pycore_context.h"
+#include "pycore_hamt.h"
#define CONTEXT_FREELIST_MAXLEN 255
diff --git a/Python/coreconfig.c b/Python/coreconfig.c
index 81086f42d67..ad14a8a457d 100644
--- a/Python/coreconfig.c
+++ b/Python/coreconfig.c
@@ -1,6 +1,6 @@
#include "Python.h"
-#include "internal/mem.h"
-#include "internal/pystate.h"
+#include "pycore_mem.h"
+#include "pycore_state.h"
#include <locale.h>
#ifdef HAVE_LANGINFO_H
# include <langinfo.h>
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c
index 73ae26d1314..98965607761 100644
--- a/Python/dynload_shlib.c
+++ b/Python/dynload_shlib.c
@@ -2,7 +2,7 @@
/* Support for dynamic loading of extension modules */
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "importdl.h"
#include <sys/types.h>
diff --git a/Python/errors.c b/Python/errors.c
index 2926ea1918e..14a70d9ce8e 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -2,7 +2,7 @@
/* Error handling */
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#ifndef __STDC__
#ifndef MS_WINDOWS
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 86af2b6f94c..9e906666586 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -2,7 +2,7 @@
/* Python interpreter main program for frozen scripts */
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include <locale.h>
#ifdef MS_WINDOWS
diff --git a/Python/getopt.c b/Python/getopt.c
index e8d7e523c2e..c165a94a2d8 100644
--- a/Python/getopt.c
+++ b/Python/getopt.c
@@ -31,7 +31,7 @@
#include <stdio.h>
#include <string.h>
#include <wchar.h>
-#include "internal/pygetopt.h"
+#include "pycore_getopt.h"
#ifdef __cplusplus
extern "C" {
diff --git a/Python/hamt.c b/Python/hamt.c
index 562f777ea0b..be3813b9aab 100644
--- a/Python/hamt.c
+++ b/Python/hamt.c
@@ -1,8 +1,8 @@
#include "Python.h"
#include "structmember.h"
-#include "internal/pystate.h"
-#include "internal/hamt.h"
+#include "pycore_state.h"
+#include "pycore_hamt.h"
/*
This file provides an implemention of an immutable mapping using the
diff --git a/Python/import.c b/Python/import.c
index 338cd302dcc..18cd29df7e9 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -4,9 +4,9 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
-#include "internal/hash.h"
-#include "internal/mem.h"
-#include "internal/pystate.h"
+#include "pycore_hash.h"
+#include "pycore_mem.h"
+#include "pycore_state.h"
#include "errcode.h"
#include "marshal.h"
#include "code.h"
diff --git a/Python/pathconfig.c b/Python/pathconfig.c
index efccb8d6bb8..04064159f86 100644
--- a/Python/pathconfig.c
+++ b/Python/pathconfig.c
@@ -2,8 +2,8 @@
#include "Python.h"
#include "osdefs.h"
-#include "internal/mem.h"
-#include "internal/pystate.h"
+#include "pycore_mem.h"
+#include "pycore_state.h"
#include <wchar.h>
#ifdef __cplusplus
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index fab96fd5238..d349aaf6dec 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -4,10 +4,10 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
-#include "internal/context.h"
-#include "internal/hamt.h"
-#include "internal/mem.h"
-#include "internal/pystate.h"
+#include "pycore_context.h"
+#include "pycore_hamt.h"
+#include "pycore_mem.h"
+#include "pycore_state.h"
#include "grammar.h"
#include "node.h"
#include "token.h"
diff --git a/Python/pystate.c b/Python/pystate.c
index 98e954d9d91..c77902a7f9c 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -2,8 +2,8 @@
/* Thread and interpreter state structures and their interfaces */
#include "Python.h"
-#include "internal/mem.h"
-#include "internal/pystate.h"
+#include "pycore_mem.h"
+#include "pycore_state.h"
#define _PyThreadState_SET(value) \
_Py_atomic_store_relaxed(&_PyRuntime.gilstate.tstate_current, \
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 276c5d10285..2f61aab40d9 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -12,7 +12,7 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "grammar.h"
#include "node.h"
#include "token.h"
diff --git a/Python/symtable.c b/Python/symtable.c
index dc934a556da..dae6fda0e4c 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -1,5 +1,5 @@
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#ifdef Yield
#undef Yield /* undefine conflicting macro from winbase.h */
#endif
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 71414c95978..cb13e21c940 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -15,8 +15,8 @@ Data members:
*/
#include "Python.h"
-#include "internal/mem.h"
-#include "internal/pystate.h"
+#include "pycore_mem.h"
+#include "pycore_state.h"
#include "code.h"
#include "frameobject.h"
#include "pythread.h"
diff --git a/Python/thread.c b/Python/thread.c
index a1e1fa64f12..63553816b35 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -6,7 +6,7 @@
Stuff shared by all thread_*.h files is collected here. */
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#ifndef _POSIX_THREADS
/* This means pthreads are not implemented in libc headers, hence the macro
diff --git a/Python/traceback.c b/Python/traceback.c
index 5b5c715a0f4..e2070f08a5a 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -2,7 +2,7 @@
/* Traceback implementation */
#include "Python.h"
-#include "internal/pystate.h"
+#include "pycore_state.h"
#include "code.h"
#include "frameobject.h"