Skip to content

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

Closed
@pablogsal

Description

@pablogsal

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.

Metadata

Metadata

Assignees

Labels

3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions