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

Closed

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

  1. changed the title [-]Setting the frame's line number causes SystemError to be raised if done in callback from `BRANCH_LEFT` or `BRANCH_RIGHT` event[/-] [+]Setting the frame's line number causes `SystemError` to be raised if done in callback from `BRANCH_LEFT` or `BRANCH_RIGHT` event[/+] on Jul 29, 2025
  2. added a commit that references this issue on Jul 31, 2025
  3. added a commit that references this issue on Jul 31, 2025
  4. added a commit that references this issue on Aug 11, 2025
  5. added a commit that references this issue on Aug 19, 2025
  6. added a commit that references this issue on Sep 9, 2025
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