Skip to content

Can Code objects be introspected? #1933

Closed
@munificent

Description

@munificent

We've discussed whether there is any API to let you destructure a Code object and introspect over its syntactic subcomponents. For example, given a Code object for a + b, is there a way to determine that it's a + expression and what the two operands are?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions