Skip to content

Failing ensure_future still creates a Task #70739

@gordon

Description

@gordon
mannequin
BPO 26552
Nosy @gvanrossum, @1st1, @carlosdamazio, @iritkatriel, @kumaraditya303
PRs
  • bpo-26552: Close dangling coroutine or future if loop is closed #30287
  • bpo-26552: Fixed case where failing asyncio.ensure_future did not close the coroutine #30288
  • [3.10] bpo-26552: Fixed case where failing asyncio.ensure_future did not c… …lose the coroutine #31003
  • 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 2022-01-28.22:26:00.502>
    created_at = <Date 2016-03-13.11:46:10.277>
    labels = ['easy', 'type-bug', '3.9', '3.10', '3.11', 'expert-asyncio']
    title = 'Failing ensure_future still creates a Task'
    updated_at = <Date 2022-01-29.06:57:25.632>
    user = 'https://bugs.python.org/gordon'

    bugs.python.org fields:

    activity = <Date 2022-01-29.06:57:25.632>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-28.22:26:00.502>
    closer = 'gvanrossum'
    components = ['asyncio']
    creation = <Date 2016-03-13.11:46:10.277>
    creator = 'gordon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26552
    keywords = ['patch', 'easy']
    message_count = 7.0
    messages = ['261696', '261701', '407294', '412036', '412038', '412039', '412057']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'yselivanov', 'gordon', 'dmzz', 'iritkatriel', 'kumaraditya']
    pr_nums = ['30287', '30288', '31003']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26552'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifeeasytopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions