Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Original gist: https://gist.github.com/devdanzin/d1a6ab9f62970be0cae139366ce3c482
Summary
sys_trace_jump_func(line 382-384) andsys_trace_line_func(line 355):PyLong_AsInterror return -1 not checked. Proceeds with wrong values and pending exception.Fix
Add
if (result == -1 && PyErr_Occurred()) return NULL;checks.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Activity