Make it easier to traverse the frame stack for third party tools.
Open
@pablogsal is already working on this.
Since Jan 12, 2023.
interpreter-core
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
Profilers and debuggers need to traverse the frame stack, but the layout of the stack is an internal implementation detail.
However can make some limited promises to make porting tools between Python versions a bit easier.
In order to traverse the stack, the offset of the previous pointer needs to be known. To understand the frame, more information is needed.
@pablogsal
@Yhg1s
expressed interest in this.
Linked PRs
- gh-100988
- gh-102640
- gh-103010
- gh-105727
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.