Skip to content

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

@NickDavies

Description

@NickDavies
BPO36607
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=Noneclosed_at=Nonecreated_at=<Date2019-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=<Date2019-06-12.17:26:52.568>user='https://bugs.python.org/NickDavies'

    bugs.python.org fields:

    activity=<Date2019-06-12.17:26:52.568>actor='asvetlov'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['asyncio'] creation=<Date2019-04-11.18:12:48.096>creator='Nick Davies'dependencies= [] files= [] hgrepos= [] issue_num=36607keywords= ['patch'] message_count=11.0messages= ['339991', '340424', '340425', '340428', '340527', '340544', '345239', '345247', '345266', '345380', '345389'] nosy_count=7.0nosy_names= ['asvetlov', 'thatch', 'lukasz.langa', 'yselivanov', 'miss-islington', 'sdunster', 'Nick Davies'] pr_nums= ['13971', '13975', '13976'] priority='normal'resolution=Nonestage=Nonestatus='open'superseder=Nonetype='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