Setting the frame's line number causes `SystemError` to be raised if done in callback from `BRANCH_LEFT` or `BRANCH_RIGHT` event · Issue #137200 · python/cpython · GitHub
Skip to content

Setting the frame's line number causes SystemError to be raised if done in callback from BRANCH_LEFT or BRANCH_RIGHT event #137200

Description

@markshannon

Bug report

Bug description:

https://github.com/python/cpython/blob/main/Objects/frameobject.c#L1711

The two two new events BRANCH_LEFT and BRANCH_RIGHT should be added under case PY_MONITORING_EVENT_BRANCH:

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-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