Skip to content

GH-127705: Adds the missing bits from #131198 - #131365

Merged
markshannon merged 1 commit into
python:mainfrom
faster-cpython:handle-tracerefs-part-2
Mar 17, 2025
Merged

markshannon merged 1 commit into
python:mainfrom
faster-cpython:handle-tracerefs-part-2

Conversation

@markshannon

@markshannon markshannon commented Mar 17, 2025 •

Copy link
Copy Markdown
Member

Now that #131238 is mostly done, we can move this code to where it belongs and add the missing calls to _PyReftracerTrack

@markshannon markshannon changed the title GH-127705: Adds the missing bits from https://github.com/python/cpython/pull/131198 Mar 17, 2025
Comment on lines +447 to +449
#ifdef Py_TRACE_REFS
_Py_ForgetReference(op);
#endif

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addition breaks builds with Py_TRACE_REFS defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants