Skip to content

Define the interface of a CodeLike object #117087

@iritkatriel

Description

@iritkatriel

The C API for monitoring (#111997) works with code-like objects, so that the user is not required to create a CodeObject where there isn't one already.

We need to define the Python API of a CodeLike so that it's useful for tools that use monitoring. This issue is to define which fields of CodeObject we want to have on a CodeLike.

@markshannon @scoder @nedbat @gaogaotiantian

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions