Skip to content

asyncio.gather drops cancellation #71110

@JohannesEbke

Description

@JohannesEbke
BPO 26923
Nosy @gvanrossum, @vstinner, @MartinAltmayer, @1st1, @JohannesEbke, @tatellos
Files
  • cancellation_test.py: Test case demonstrating ineffective cancellation.
  • asyncio_task_prints.patch
  • fix_and_test_26923.patch: Correct return value of _GatheringFuture.cancel with test
  • fix_and_test_26923_reviewed.patch: Correct return value of _GatheringFuture.cancel with test
  • 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 2016-10-21.21:26:49.876>
    created_at = <Date 2016-05-03.12:50:06.006>
    labels = ['type-bug', 'expert-asyncio']
    title = 'asyncio.gather drops cancellation'
    updated_at = <Date 2016-10-21.21:26:49.875>
    user = 'https://github.com/JohannesEbke'

    bugs.python.org fields:

    activity = <Date 2016-10-21.21:26:49.875>
    actor = 'yselivanov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-10-21.21:26:49.876>
    closer = 'yselivanov'
    components = ['asyncio']
    creation = <Date 2016-05-03.12:50:06.006>
    creator = 'JohannesEbke'
    dependencies = []
    files = ['42694', '43397', '43485', '43508']
    hgrepos = []
    issue_num = 26923
    keywords = ['patch']
    message_count = 13.0
    messages = ['264719', '264722', '264727', '268537', '268596', '268609', '268743', '268893', '268928', '268930', '269063', '279157', '279158']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'vstinner', 'MartinAltmayer', 'python-dev', 'yselivanov', 'JohannesEbke', 'tatellos']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26923'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions