Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow tools to check if a frame is an entry frame #91502

Closed
pablogsal opened this issue Apr 13, 2022 · 0 comments · Fixed by #91503
Closed

Allow tools to check if a frame is an entry frame #91502

pablogsal opened this issue Apr 13, 2022 · 0 comments · Fixed by #91503
Assignees
Labels
3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@pablogsal
Copy link
Member

Now that we are inlining Python frames in the same evaluation loop, we need to allow in process profilers and debuggers to check if a frame object is an entry frame. This information is crucial if the tool has to merge the C stack and the Python stack as it needs to know how many Python frames are needed every time it sees a C evaluation frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant