Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commented Dec 9, 2025

This combines most _PyStackRef functions and macros between the free threaded and default builds.

  • Remove Py_TAG_DEFERRED (same as Py_TAG_REFCNT)
  • Remove PyStackRef_IsDeferred (same as !PyStackRef_RefcountOnObject)

This combines most _PyStackRef functions and macros between the free threaded and default builds. - Remove Py_TAG_DEFERRED (same as Py_TAG_REFCNT) - Remove PyStackRef_IsDeferred (same as !PyStackRef_RefcountOnObject)
@Fidget-Spinner
Copy link
Member

So I haven't taken a deep look yet, but I just want to say thanks so much for cleaning this up. It's much more maintainable now!

@colesburycolesbury merged commit a882ae1 into python:mainDec 15, 2025
50 checks passed
@colesburycolesbury deleted the gh-142472-stackrefs branch December 15, 2025 17:03
fatelei pushed a commit to fatelei/cpython that referenced this pull request Dec 16, 2025
This combines most _PyStackRef functions and macros between the free threaded and default builds. - Remove Py_TAG_DEFERRED (same as Py_TAG_REFCNT) - Remove PyStackRef_IsDeferred (same as !PyStackRef_RefcountOnObject)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@colesbury@Fidget-Spinner