Skip to content

Returning an exception object from a coroutine triggers implicit exception chaining?!? #73786

@njsmith

Description

@njsmith
BPO 29600
Nosy @njsmith, @serhiy-storchaka, @1st1
PRs
  • bpo-29600: Fix wrapping into StopIteration of return values in generators #644
  • 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 2017-03-12.21:04:58.138>
    created_at = <Date 2017-02-19.13:44:49.407>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = 'Returning an exception object from a coroutine triggers implicit exception chaining?!?'
    updated_at = <Date 2017-03-14.13:38:14.161>
    user = 'https://github.com/njsmith'

    bugs.python.org fields:

    activity = <Date 2017-03-14.13:38:14.161>
    actor = 'yselivanov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-03-12.21:04:58.138>
    closer = 'yselivanov'
    components = ['Interpreter Core']
    creation = <Date 2017-02-19.13:44:49.407>
    creator = 'njs'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29600
    keywords = []
    message_count = 4.0
    messages = ['288133', '289503', '289577', '289583']
    nosy_count = 3.0
    nosy_names = ['njs', 'serhiy.storchaka', 'yselivanov']
    pr_nums = ['644']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29600'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-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