diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-08-05 11:44:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 11:44:54 (GMT) |
commit | 6e4eec760648a71e1cd8f8f551997b1823b4bb9f (patch) | |
tree | f4c85ea58ca843fa29a289b2e5737b491a7e7aa2 /Python | |
parent | 0e7a4f733685e7a7ccf28d850bae1b2222977362 (diff) | |
download | cpython-6e4eec760648a71e1cd8f8f551997b1823b4bb9f.zip cpython-6e4eec760648a71e1cd8f8f551997b1823b4bb9f.tar.gz cpython-6e4eec760648a71e1cd8f8f551997b1823b4bb9f.tar.bz2 |
[3.12] gh-107630: Revert "[3.12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (gh-107567) (#107599)" (#107648)
Revert "[3.12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (gh-107567) (#107599)"
This reverts commit 58af2293c52a1ad3754d254690c0e54f787c545b.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pylifecycle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 5b8c8af..a67fa26 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1920,11 +1920,11 @@ Py_FinalizeEx(void) } if (dump_refs) { - _Py_PrintReferences(tstate->interp, stderr); + _Py_PrintReferences(stderr); } if (dump_refs_fp != NULL) { - _Py_PrintReferences(tstate->interp, dump_refs_fp); + _Py_PrintReferences(dump_refs_fp); } #endif /* Py_TRACE_REFS */ @@ -1960,11 +1960,11 @@ Py_FinalizeEx(void) */ if (dump_refs) { - _Py_PrintReferenceAddresses(tstate->interp, stderr); + _Py_PrintReferenceAddresses(stderr); } if (dump_refs_fp != NULL) { - _Py_PrintReferenceAddresses(tstate->interp, dump_refs_fp); + _Py_PrintReferenceAddresses(dump_refs_fp); fclose(dump_refs_fp); } #endif /* Py_TRACE_REFS */ |