Skip to content

AsyncIO's wait_for can hide cancellation in a rare race condition #86296

Closed
@tvoinarovskyi

Description

@tvoinarovskyi
BPO 42130
Nosy @ods, @asvetlov, @cjerdonek, @1st1, @tvoinarovskyi, @Dreamsorcerer, @aaliddell, @crowbarz, @WJCFerguson
PRs
  • bpo-42130: Fix swallowing of cancellation by wait_for #26097
  • bpo-42130: Fix for explicit suppressing of cancellations in wait_for() #28149
  • 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 = None
    created_at = <Date 2020-10-23.16:10:28.990>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'expert-asyncio']
    title = "AsyncIO's wait_for can hide cancellation in a rare race condition"
    updated_at = <Date 2021-12-02.09:55:13.171>
    user = 'https://github.com/tvoinarovskyi'

    bugs.python.org fields:

    activity = <Date 2021-12-02.09:55:13.171>
    actor = 'dreamsorcerer'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['asyncio']
    creation = <Date 2020-10-23.16:10:28.990>
    creator = 'tvoinarovskyi'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42130
    keywords = ['patch']
    message_count = 6.0
    messages = ['379454', '379541', '379577', '393336', '407489', '407521']
    nosy_count = 10.0
    nosy_names = ['ods', 'asvetlov', 'chris.jerdonek', 'yselivanov', 'tvoinarovskyi', 'dreamsorcerer', 'aaliddell', 'nmatravolgyi', 'crowbarz', 'jamesf']
    pr_nums = ['26097', '28149']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42130'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.12only security fixestopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions