GeezerVison is showing github.com — bpo-35081: Rename internal headers (GH-10275) · 2union/ircpython@621cebe
File tree
Expand file treeCollapse file tree
Open diff view settings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss bannerExpand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard File renamed without changes.
Collapse file
Copy file name to clipboard File renamed without changes.
Collapse file
Copy file name to clipboard File renamed without changes.
Collapse file
Copy file name to clipboardExpand all lines: Include/internal/pycore_pystate.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -12,8 +12,8 @@ extern "C" { |
12 | 12 | #include "pythread.h" |
13 | 13 |
|
14 | 14 | #include "pycore_ceval.h" |
15 | | -#include "pycore_mem.h" |
16 | 15 | #include "pycore_pathconfig.h" |
| 16 | +#include "pycore_pymem.h" |
17 | 17 | #include "pycore_warnings.h" |
18 | 18 |
|
19 | 19 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: Include/pystate.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -301,7 +301,7 @@ PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void); |
301 | 301 | /* Get the current Python thread state. |
302 | 302 |
|
303 | 303 | Macro using PyThreadState_Get() or _PyThreadState_GET() depending if |
304 | | - pycore_state.h is included or not (this header redefines the macro). |
| 304 | + pycore_pystate.h is included or not (this header redefines the macro). |
305 | 305 |
|
306 | 306 | If PyThreadState_Get() is used, issue a fatal error if the current thread |
307 | 307 | state is NULL. |
|
Collapse file
Copy file name to clipboardExpand all lines: Makefile.pre.in +6-3Lines changed: 6 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1027,13 +1027,16 @@ PYTHON_HEADERS= \ |
1027 | 1027 | $(srcdir)/Include/internal/pycore_accu.h \ |
1028 | 1028 | $(srcdir)/Include/internal/pycore_atomic.h \ |
1029 | 1029 | $(srcdir)/Include/internal/pycore_ceval.h \ |
| 1030 | + $(srcdir)/Include/internal/pycore_condvar.h \ |
1030 | 1031 | $(srcdir)/Include/internal/pycore_context.h \ |
1031 | 1032 | $(srcdir)/Include/internal/pycore_getopt.h \ |
1032 | 1033 | $(srcdir)/Include/internal/pycore_gil.h \ |
1033 | | - $(srcdir)/Include/internal/pycore_lifecycle.h \ |
1034 | | - $(srcdir)/Include/internal/pycore_mem.h \ |
| 1034 | + $(srcdir)/Include/internal/pycore_hamt.h \ |
1035 | 1035 | $(srcdir)/Include/internal/pycore_pathconfig.h \ |
1036 | | - $(srcdir)/Include/internal/pycore_state.h \ |
| 1036 | + $(srcdir)/Include/internal/pycore_pyhash.h \ |
| 1037 | + $(srcdir)/Include/internal/pycore_pylifecycle.h \ |
| 1038 | + $(srcdir)/Include/internal/pycore_pymem.h \ |
| 1039 | + $(srcdir)/Include/internal/pycore_pystate.h \ |
1037 | 1040 | $(srcdir)/Include/internal/pycore_warnings.h \ |
1038 | 1041 | $(DTRACE_HEADERS) |
1039 | 1042 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: Modules/_functoolsmodule.c +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 |
|
2 | 2 | #include "Python.h" |
3 | | -#include "pycore_mem.h" |
4 | | -#include "pycore_state.h" |
| 3 | +#include "pycore_pymem.h" |
| 4 | +#include "pycore_pystate.h" |
5 | 5 | #include "structmember.h" |
6 | 6 |
|
7 | 7 | /* _functools module written and maintained |
|
Collapse file
Copy file name to clipboardExpand all lines: Modules/_io/bufferedio.c +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
9 | 9 |
|
10 | 10 | #define PY_SSIZE_T_CLEAN |
11 | 11 | #include "Python.h" |
12 | | -#include "pycore_state.h" |
| 12 | +#include "pycore_pystate.h" |
13 | 13 | #include "structmember.h" |
14 | 14 | #include "pythread.h" |
15 | 15 | #include "_iomodule.h" |
|
Collapse file
Copy file name to clipboardExpand all lines: Modules/_threadmodule.c +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
3 | 3 | /* Interface to Sjoerd's portable C thread library */ |
4 | 4 |
|
5 | 5 | #include "Python.h" |
6 | | -#include "pycore_state.h" |
| 6 | +#include "pycore_pystate.h" |
7 | 7 | #include "structmember.h" /* offsetof */ |
8 | 8 | #include "pythread.h" |
9 | 9 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: Modules/_xxsubinterpretersmodule.c +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 |
|
5 | 5 | #include "Python.h" |
6 | 6 | #include "frameobject.h" |
7 | | -#include "pycore_state.h" |
| 7 | +#include "pycore_pystate.h" |
8 | 8 |
|
9 | 9 |
|
10 | 10 | static char * |
|