We should document the behavior of `_PyStackRef` and associated functions. I think [`InternalDocs`](https://github.com/python/cpython/tree/main/InternalDocs) would be a good place for it. cc @Fidget-Spinner @corona10 <!-- gh-linked-prs --> ### Linked PRs * gh-142321 <!-- /gh-linked-prs -->
Activity
efimov-mikhail commentedon Oct 7, 2025
I propose to add tests that explain
_PyStackRefbehavior:#139717
I think it could be useful as well as proper documentation in
InternalDocs.pythongh-124379: Document _PyStackRef
gh-124379: Document _PyStackRef (gh-142321)