Commit c6cc282
[3.14] gh-134557: Suppress immortalization in _PyCode_GetScriptXIData under free-threading (gh134738)
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.
(cherry picked from commit c60f39a, AKA gh-134686)
Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>1 parent bc3d892 commit c6cc282
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
911 | 915 | | |
912 | 916 | | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
913 | 920 | | |
914 | 921 | | |
915 | 922 | | |
| |||
0 commit comments