Skip to content

PyUnstable_Object_IsUniqueReferencedTemporary doesn't handle tagged ints properly #142589

@colesbury

Description

@colesbury

Bug report

Noticed by @cmaloney in #141862

PyUnstable_Object_IsUniqueReferencedTemporary calls PyStackRef_AsPyObjectBorrow, which may trigger an assertion failure if a stack element is a tagged int.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions