mirror of
https://github.com/python/cpython.git
synced 2026-05-08 13:40:46 -04:00
58af2293c5
gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (gh-107567)
The linked list of objects was a global variable, which broke isolation between interpreters, causing crashes. To solve this, we've moved the linked list to each interpreter.
(cherry picked from commit 58ef741867)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Miscellaneous source files for the main Python shared library