Skip to content

asyncio.gather(..., return_exceptions=True) swallows cancellation #76865

@socketpair

Description

@socketpair
BPO 32684
Nosy @bitdancer, @asvetlov, @socketpair, @1st1
PRs
  • bpo-32684: Fix gather to propagate cancel of itself with return_exceptions #7209
  • [3.7] bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7209) #7222
  • [3.6] bpo-32684: Fix gather to propagate cancel of itself with return_exceptions #7224
  • bpo-32684: Fix nits in tests #7225
  • [3.7] bpo-32684: Fix nits in tests (GH-7225) #7231
  • 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 2018-05-30.00:59:24.287>
    created_at = <Date 2018-01-27.05:38:11.141>
    labels = ['3.8', 'type-bug', '3.7', 'expert-asyncio']
    title = 'asyncio.gather(..., return_exceptions=True) swallows cancellation'
    updated_at = <Date 2018-05-30.00:59:24.286>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2018-05-30.00:59:24.286>
    actor = 'yselivanov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-30.00:59:24.287>
    closer = 'yselivanov'
    components = ['asyncio']
    creation = <Date 2018-01-27.05:38:11.141>
    creator = 'socketpair'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32684
    keywords = ['patch']
    message_count = 8.0
    messages = ['310843', '310846', '318059', '318093', '318127', '318138', '318139', '318142']
    nosy_count = 4.0
    nosy_names = ['r.david.murray', 'asvetlov', 'socketpair', 'yselivanov']
    pr_nums = ['7209', '7222', '7224', '7225', '7231']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32684'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions