Skip to content

AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future #84959

Description

@jamesba
mannequin
BPO 40782
Nosy @gvanrossum, @asvetlov, @1st1, @miss-islington, @aeros, @jamesba
PRs
  • bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine #21852
  • [3.8] bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) #21903
  • [3.9] bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) #21904
  • 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 2020-08-17.14:41:46.469>
    created_at = <Date 2020-05-26.15:45:38.680>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library', 'expert-asyncio']
    title = 'AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future'
    updated_at = <Date 2020-08-17.14:41:46.468>
    user = 'https://github.com/jamesba'

    bugs.python.org fields:

    activity = <Date 2020-08-17.14:41:46.468>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-08-17.14:41:46.469>
    closer = 'gvanrossum'
    components = ['Library (Lib)', 'asyncio']
    creation = <Date 2020-05-26.15:45:38.680>
    creator = 'jamesba'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40782
    keywords = ['patch']
    message_count = 8.0
    messages = ['370005', '370045', '372735', '375278', '375375', '375548', '375551', '375552']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'asvetlov', 'yselivanov', 'miss-islington', 'aeros', 'jamesba']
    pr_nums = ['21852', '21903', '21904']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40782'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions