As suggested by @markshannon and @Yhg1s: * What are the building blocks? Things like `_Py_TryXGetRef` and `_Py_TryIncrefCompare`. * What are the thread safety guarantees that we are aiming for? `InternalDocs` might be a good place. <!-- gh-linked-prs --> ### Linked PRs * gh-144644 <!-- /gh-linked-prs -->
As suggested by @markshannon and @Yhg1s:
_Py_TryXGetRefand_Py_TryIncrefCompare.InternalDocsmight be a good place.Linked PRs