]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134557: Suppress immortalization in _PyCode_GetScriptXIData under free-threading...
authorneonene <53406459+neonene@users.noreply.github.com>
Mon, 26 May 2025 17:46:49 +0000 (02:46 +0900)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 17:46:49 +0000 (11:46 -0600)
commitc60f39ada625562bff26400f304690c19fe9f504
tree91f7f6ab694110bf2a94a7f7a781369803396209
parentb8a885ce6318c5f1e916e19e2961434d096c5cef
gh-134557: Suppress immortalization in _PyCode_GetScriptXIData under free-threading (gh-134686)

Disable immortalization around Py_CompileString*().

The same approach as 332356b that fixed the refleaks in compile() and eval().

E: 09e72cf can pass test_capi, test_sys and test__interpchannels with this patch for me.
Python/crossinterp.c