Skip to content

asyncio.create_subprocess_exec() only works with main event loop #79802

@sth

Description

@sth
mannequin
BPO 35621
Nosy @stefanseefeld, @asvetlov, @sth, @1st1, @koobs, @pablogsal, @miss-islington, @tirkarthi, @adefossez, @aeros, @rojer
PRs
  • bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread #13630
  • bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher #13754
  • Revert "bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread (#13630)" #13793
  • bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread  #14344
  • [3.8] bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread (GH-14344) #14484
  • Files
  • koobs-freebsd-10-non-debug-3x-build-1170.txt
  • 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 2019-06-30.09:56:09.887>
    created_at = <Date 2018-12-30.22:59:38.171>
    labels = ['type-bug', '3.8', '3.9', 'expert-asyncio']
    title = 'asyncio.create_subprocess_exec() only works with main event loop'
    updated_at = <Date 2020-05-30.02:49:41.494>
    user = 'https://github.com/sth'

    bugs.python.org fields:

    activity = <Date 2020-05-30.02:49:41.494>
    actor = 'aeros'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-30.09:56:09.887>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2018-12-30.22:59:38.171>
    creator = 'sth'
    dependencies = []
    files = ['48384']
    hgrepos = []
    issue_num = 35621
    keywords = ['patch']
    message_count = 17.0
    messages = ['332771', '334298', '344270', '344284', '344305', '344307', '344313', '344314', '344321', '344322', '344331', '344500', '346924', '346925', '348122', '370297', '370355']
    nosy_count = 12.0
    nosy_names = ['stefan', 'asvetlov', 'sth', 'yselivanov', 'koobs', 'pablogsal', 'miss-islington', 'xtreak', 'adefossez', 'aeros', 'Tim Froehlich', 'rojer']
    pr_nums = ['13630', '13754', '13793', '14344', '14484']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35621'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions