Skip to content

[3.14] gh-134557: Suppress immortalization in _PyCode_GetScriptXIData under free-threading (gh-134686) #134738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 26, 2025

Disable immortalization around Py_CompileString*().

The same approach as 332356b that fixed the refleaks in compile() and eval().
(cherry picked from commit c60f39a)

Co-authored-by: neonene 53406459+neonene@users.noreply.github.com
E: 09e72cf can pass test_capi, test_sys and test__interpchannels with this patch for me.

…under free-threading (pythongh-134686)

Disable immortalization around Py_CompileString*().

The same approach as 332356b that fixed the refleaks in compile() and eval().
(cherry picked from commit c60f39a)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
E: 09e72cf can pass test_capi, test_sys and test__interpchannels with this patch for me.
@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) May 26, 2025 17:49
@ericsnowcurrently ericsnowcurrently merged commit c6cc282 into python:3.14 May 26, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants