Skip to content

Assert with the PyStackRef_IsTaggedInt function #133476

@nybblista

Description

@nybblista

In the _PyStackRef_AsPyObjectBorrow, I think we should use the PyStackRef_IsTaggedInt rather than asserting the ref.index value directly from the function. However, the same thing applies to the PyStackRef_UntagInt function, which asserts the i.bits value rather than calling the PyStackRef_IsTaggedInt function.

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