You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Py_TRACE_REFS can be dynamically detected, because it defines sys.getobjects. At import time, you could check for sys.getobjects and define the extra members on the PyObject struct if it's present.
The text was updated successfully, but these errors were encountered:
Note: if this feature is added, it would only apply to python version <= 3.12 -- ob_next and ob_prev are present in 3.12 (if built with the right option) but don't seem to be present in the main branch (3.13).
Py_TRACE_REFS
can be dynamically detected, because it definessys.getobjects
. At import time, you could check forsys.getobjects
and define the extra members on the PyObject struct if it's present.The text was updated successfully, but these errors were encountered: