]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-150907: Fix dynamic_annotations.h when built with C++ and Valgrind (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Jun 2026 12:41:19 +0000 (14:41 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2026 12:41:19 +0000 (12:41 +0000)
commit85e75a73d4f8e3cf28db97fe15ffdf28eb1f5641
tree6eea94c71a30c89574221da1f7a5fc6511f139b7
parentd8af158eb6e16ee5494b6e16c800f9fe7eee9295
[3.15] gh-150907: Fix dynamic_annotations.h when built with C++ and Valgrind (GH-150914) (#150962)

gh-150907: Fix dynamic_annotations.h when built with C++ and Valgrind (GH-150914)

Add extern "C++" scope for the C++ template.

Fix test_cppext when Python is built with --with-valgrind.
(cherry picked from commit c32501261aeeb0cc1ad1c53b6be9790ff1d23215)

Co-authored-by: Victor Stinner <vstinner@python.org>
Include/dynamic_annotations.h
Misc/NEWS.d/next/C_API/2026-06-04-14-26-17.gh-issue-150907.CA91_B.rst [new file with mode: 0644]