Skip to content

asyncio.all_tasks() crashes if asyncio is used in multiple threads #80788

Closed
@NickDavies

Description

@NickDavies
BPO 36607
Nosy @asvetlov, @thatch, @ambv, @1st1, @miss-islington, @sdunster
PRs
  • bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() #13971
  • [3.8] bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971) #13975
  • [3.7] bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971) #13976
  • 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 2019-04-11.18:12:48.096>
    labels = ['3.8', 'type-bug', '3.7', '3.9', 'expert-asyncio']
    title = 'asyncio.all_tasks() crashes if asyncio is used in multiple threads'
    updated_at = <Date 2019-06-12.17:26:52.568>
    user = 'https://bugs.python.org/NickDavies'

    bugs.python.org fields:

    activity = <Date 2019-06-12.17:26:52.568>
    actor = 'asvetlov'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['asyncio']
    creation = <Date 2019-04-11.18:12:48.096>
    creator = 'Nick Davies'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36607
    keywords = ['patch']
    message_count = 11.0
    messages = ['339991', '340424', '340425', '340428', '340527', '340544', '345239', '345247', '345266', '345380', '345389']
    nosy_count = 7.0
    nosy_names = ['asvetlov', 'thatch', 'lukasz.langa', 'yselivanov', 'miss-islington', 'sdunster', 'Nick Davies']
    pr_nums = ['13971', '13975', '13976']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36607'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      Status

      Done

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions