summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-12 15:53:38 (GMT)
committerGitHub <noreply@github.com>2018-11-12 15:53:38 (GMT)
commit621cebe81b1e6c8de10425955bf532d31ee4df42 (patch)
treed3122165505facaf5cea3bc1f8157356805419e0 /Modules
parent19c46a4c96553b2a8390bf8a0e138f2b23e28ed6 (diff)
downloadcpython-621cebe81b1e6c8de10425955bf532d31ee4df42.zip
cpython-621cebe81b1e6c8de10425955bf532d31ee4df42.tar.gz
cpython-621cebe81b1e6c8de10425955bf532d31ee4df42.tar.bz2
bpo-35081: Rename internal headers (GH-10275)
Rename Include/internal/ headers: * pycore_hash.h -> pycore_pyhash.h * pycore_lifecycle.h -> pycore_pylifecycle.h * pycore_mem.h -> pycore_pymem.h * pycore_state.h -> pycore_pystate.h Add missing headers to Makefile.pre.in and PCbuild: * pycore_condvar.h. * pycore_hamt.h * pycore_pyhash.h
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_functoolsmodule.c4
-rw-r--r--Modules/_io/bufferedio.c2
-rw-r--r--Modules/_threadmodule.c2
-rw-r--r--Modules/_xxsubinterpretersmodule.c2
-rw-r--r--Modules/gcmodule.c4
-rw-r--r--Modules/getpath.c2
-rw-r--r--Modules/main.c6
-rw-r--r--Modules/posixmodule.c2
8 files changed, 12 insertions, 12 deletions
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c
index 692c3b3..773102b 100644
--- a/Modules/_functoolsmodule.c
+++ b/Modules/_functoolsmodule.c
@@ -1,7 +1,7 @@
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
/* _functools module written and maintained
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c
index 24ae963..e1e45dc 100644
--- a/Modules/_io/bufferedio.c
+++ b/Modules/_io/bufferedio.c
@@ -9,7 +9,7 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h"
#include "pythread.h"
#include "_iomodule.h"
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
index ad65188..72d044c 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -3,7 +3,7 @@
/* Interface to Sjoerd's portable C thread library */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h" /* offsetof */
#include "pythread.h"
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index fb0b83a..33509ef 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -4,7 +4,7 @@
#include "Python.h"
#include "frameobject.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
static char *
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index a54be07..48b4700 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -25,8 +25,8 @@
#include "Python.h"
#include "pycore_context.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "frameobject.h" /* for PyFrame_ClearFreeList */
#include "pydtrace.h"
#include "pytime.h" /* for _PyTime_GetMonotonicClock() */
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 6b443f6..18df795 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -4,7 +4,7 @@
#include "osdefs.h"
#include "pycore_fileutils.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include <sys/types.h>
#include <string.h>
diff --git a/Modules/main.c b/Modules/main.c
index c847d1a..281707a 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -3,10 +3,10 @@
#include "Python.h"
#include "osdefs.h"
#include "pycore_getopt.h"
-#include "pycore_lifecycle.h"
-#include "pycore_mem.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pylifecycle.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include <locale.h>
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index bf886e3..bf3e03e 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -32,7 +32,7 @@
#else
#include "winreparse.h"
#endif
-#include "pycore_state.h"
+#include "pycore_pystate.h"
/* On android API level 21, 'AT_EACCESS' is not declared although
* HAVE_FACCESSAT is defined. */