Incorrect stack traces when re-entering a generator/coroutine stack via .throw() · Issue #73776 · python/cpython · GitHub
Skip to content

Incorrect stack traces when re-entering a generator/coroutine stack via .throw() #73776

Description

@njsmith
BPO 29590
Nosy @njsmith, @cjerdonek, @markshannon, @miss-islington
PRs
  • bpo-29590: fix stack trace for gen.throw() with yield from #19896
  • [3.9] bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) #21416
  • [3.9] bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) #22106
  • Files
  • weird-throw-stack.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-12-08.16:21:05.701>
    created_at = <Date 2017-02-17.14:23:48.590>
    labels = ['interpreter-core', '3.7', '3.8', '3.9']
    title = 'Incorrect stack traces when re-entering a generator/coroutine stack via .throw()'
    updated_at = <Date 2021-12-08.16:21:05.700>
    user = 'https://github.com/njsmith'

    bugs.python.org fields:

    activity = <Date 2021-12-08.16:21:05.700>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-08.16:21:05.701>
    closer = 'iritkatriel'
    components = ['Interpreter Core']
    creation = <Date 2017-02-17.14:23:48.590>
    creator = 'njs'
    dependencies = []
    files = ['46644']
    hgrepos = []
    issue_num = 29590
    keywords = ['patch']
    message_count = 5.0
    messages = ['288010', '368012', '369417', '373404', '376414']
    nosy_count = 4.0
    nosy_names = ['njs', 'chris.jerdonek', 'Mark.Shannon', 'miss-islington']
    pr_nums = ['19896', '21416', '22106']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue29590'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    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

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions