summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-18 23:31:57 (GMT)
committerGitHub <noreply@github.com>2021-10-18 23:31:57 (GMT)
commitaad88d33d9db0a93e480f0234292b948890dfc2a (patch)
tree9a7be9c98f0c6a4d64ddda7859922b394ed3cdc3 /Makefile.pre.in
parent4d03de3329ed8daa9c1107b1aedbb0fa280bddb6 (diff)
downloadcpython-aad88d33d9db0a93e480f0234292b948890dfc2a.zip
cpython-aad88d33d9db0a93e480f0234292b948890dfc2a.tar.gz
cpython-aad88d33d9db0a93e480f0234292b948890dfc2a.tar.bz2
bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)
Split header files to move the non-limited API to Include/cpython/: * Include/warnings.h => Include/cpython/warnings.h * Include/weakrefobject.h => Include/cpython/weakrefobject.h Exclude PyWeakref_GET_OBJECT() from the limited C API. It never worked since the PyWeakReference structure is opaque in the limited C API. Move _PyWarnings_Init() and _PyErr_WarnUnawaitedCoroutine() to the internal C API.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 9de5171..60dc224 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1228,6 +1228,8 @@ PYTHON_HEADERS= \
$(srcdir)/Include/cpython/traceback.h \
$(srcdir)/Include/cpython/tupleobject.h \
$(srcdir)/Include/cpython/unicodeobject.h \
+ $(srcdir)/Include/cpython/warnings.h \
+ $(srcdir)/Include/cpython/weakrefobject.h \
\
$(srcdir)/Include/internal/pycore_abstract.h \
$(srcdir)/Include/internal/pycore_accu.h \