Skip to content

JIT: _Py_uop_sym_get_type returns PyGen_Type instead of NULL #148374

@Sacul0457

Description

@Sacul0457

Bug report

Bug description:

_Py_uop_sym_get_type returns PyGen_Type if the tag is a JIT_SYM_RECORDED_GEN_FUNC_TAG, but it should return NULL instead. (Thanks to @Fidget-Spinner for spotting the bug!)

See #148372

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions