Skip to content

@asynccontextmanager doesn't work well with async generators #77967

Description

@ValentinLavrinenko
BPO 33786
Nosy @ncoghlan, @ned-deily, @asvetlov, @ambv, @1st1, @miss-islington, @oremanj
PRs
  • bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() #7467
  • [3.7] bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467) #7506
  • [3.6] bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() #7507
  • bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() #7514
  • [3.7] bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467) #21878
  • 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 2020-08-14.09:53:24.162>
    created_at = <Date 2018-06-06.17:24:35.200>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7']
    title = "@asynccontextmanager doesn't work well with async generators"
    updated_at = <Date 2020-08-14.09:54:49.933>
    user = 'https://bugs.python.org/ValentinLavrinenko'

    bugs.python.org fields:

    activity = <Date 2020-08-14.09:54:49.933>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-08-14.09:53:24.162>
    closer = 'ned.deily'
    components = ['Interpreter Core']
    creation = <Date 2018-06-06.17:24:35.200>
    creator = 'Valentin Lavrinenko'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33786
    keywords = ['patch']
    message_count = 12.0
    messages = ['318853', '318854', '318882', '318967', '318998', '319005', '319012', '375189', '375219', '375388', '375389', '375390']
    nosy_count = 8.0
    nosy_names = ['ncoghlan', 'ned.deily', 'asvetlov', 'lukasz.langa', 'yselivanov', 'miss-islington', 'Valentin Lavrinenko', 'Joshua Oreman']
    pr_nums = ['7467', '7506', '7507', '7514', '21878']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33786'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    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

      3.7 (EOL)end of life3.8 (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