summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-09 20:26:36 (GMT)
committerGitHub <noreply@github.com>2024-05-09 20:26:36 (GMT)
commit0a23970478a8e10476f4c3095060ef00e07826a2 (patch)
treea833223bfa231d6d614debf152bb83507686fbb7 /Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst
parent846cfb9a67fa4bdb81cd482a4a9e41a089ea80b3 (diff)
downloadcpython-0a23970478a8e10476f4c3095060ef00e07826a2.zip
cpython-0a23970478a8e10476f4c3095060ef00e07826a2.tar.gz
cpython-0a23970478a8e10476f4c3095060ef00e07826a2.tar.bz2
[3.13] gh-116984: Make mimalloc header includes relative to the current file (GH-118808) (#118866)
Some embedders and extensions include parts of the internal API. The pycore_mimalloc.h file is transitively include by a number of other internal headers. This avoids include errors for code that was already including those headers. (cherry picked from commit 71cc0651e79041abd648595f3030dfa41009137a) Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst')
-rw-r--r--Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst b/Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst
new file mode 100644
index 0000000..561417b
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst
@@ -0,0 +1,3 @@
+Make mimalloc includes relative to the current file to avoid embedders or
+extensions needing to include ``Internal/mimalloc`` if they are already
+including internal CPython headers.