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

@markshannon

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

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy