]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (#107751)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 16 Aug 2023 10:03:05 +0000 (04:03 -0600)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 10:03:05 +0000 (12:03 +0200)
commitaa9707dda9f8dcbe2ada8d8a7280f0f6a8229c59
tree65b508c11793840d27e9f6b29c96496c740e75d5
parentbd2ef82a5010985abdeef2ca71bcbcc9a366993b
[3.12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (#107751)

* Unrevert "[3.12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (gh-107567) (#107599)".

This reverts commit 6e4eec760648a71e1cd8f8f551997b1823b4bb9f (gh-107648).

* Initialize each interpreter's refchain properly.

* Skip test_basic_multiple_interpreters_deleted_no_reset on tracerefs builds.
Include/internal/pycore_object.h
Include/internal/pycore_object_state.h
Include/internal/pycore_runtime_init.h
Lib/test/test_import/__init__.py
Misc/NEWS.d/next/Core and Builtins/2023-08-02-12-24-51.gh-issue-107080.PNolFU.rst [new file with mode: 0644]
Objects/object.c
Python/pylifecycle.c
Python/pystate.c