Skip to content

use os.posix_spawn in subprocess #79718

Closed
@nanjekyejoannah

Description

@nanjekyejoannah
BPO 35537
Nosy @gpshead, @vstinner, @serhiy-storchaka, @koobs, @izbyshev, @pablogsal, @miss-islington, @nanjekyejoannah, @kevans91
PRs
  • bpo-35537: use os.posix_spawn in subprocess #11242
  • bpo-35537: subprocess uses os.posix_spawn in some cases #11452
  • bpo-35537: subprocess can use posix_spawn with pipes #11575
  • bpo-35537: subprocess can now use os.posix_spawnp #11579
  • Revert "bpo-35537: subprocess can now use os.posix_spawnp (GH-11579)" #11582
  • bpo-35537: Add setsid parameter to os.posix_spawn() and os.posix_spawnp(). #11608
  • bpo-35537: Document posix_spawn() change in subprocess #11668
  • bpo-35537: Fix docstring typos in _use_posix_spawn() #11684
  • subprocess: close pipes/fds by using ExitStack #11686
  • bpo-35537: Skip test_start_new_session() of posix_spawn #11718
  • [WIP] bpo-35537: Fix function name in os.posix_spawnp() errors #11719
  • bpo-35537: Rewrite setsid test for os.posix_spawn #11721
  • bpo-35537: Change subprocess to use posix_spawnp instead of posix_spawn #11917
  • [3.8] bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721) #14093
  • bpo-35537: Add a comment to _Py_RestoreSignals() #18792
  • Files
  • subprocess_bench.py
  • subprocess_bench_stdout.py
  • 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 = 'https://github.com/vstinner'
    closed_at = <Date 2019-06-05.08:27:39.280>
    created_at = <Date 2018-12-19.16:47:59.385>
    labels = ['3.8', 'type-feature', 'library']
    title = 'use os.posix_spawn in subprocess'
    updated_at = <Date 2020-03-05.16:41:09.872>
    user = 'https://github.com/nanjekyejoannah'

    bugs.python.org fields:

    activity = <Date 2020-03-05.16:41:09.872>
    actor = 'vstinner'
    assignee = 'vstinner'
    closed = True
    closed_date = <Date 2019-06-05.08:27:39.280>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2018-12-19.16:47:59.385>
    creator = 'nanjekyejoannah'
    dependencies = []
    files = ['48011', '48057']
    hgrepos = []
    issue_num = 35537
    keywords = ['patch', 'patch', 'patch']
    message_count = 61.0
    messages = ['332151', '332204', '332210', '332212', '332213', '332216', '332217', '332219', '332222', '332223', '332235', '332236', '332237', '332238', '332239', '332266', '332270', '332272', '332393', '332565', '333123', '333126', '333127', '333131', '333571', '333629', '333646', '333656', '333657', '333738', '333739', '333740', '333744', '333745', '333749', '333771', '333794', '333795', '333799', '333800', '333803', '333805', '333820', '333825', '333839', '333889', '333902', '333994', '334268', '334269', '334288', '334292', '334305', '334337', '334661', '334662', '334685', '340838', '344683', '345617', '345621']
    nosy_count = 9.0
    nosy_names = ['gregory.p.smith', 'vstinner', 'serhiy.storchaka', 'koobs', 'izbyshev', 'pablogsal', 'miss-islington', 'nanjekyejoannah', 'kevans']
    pr_nums = ['11242', '11452', '11575', '11579', '11582', '11608', '11668', '11684', '11686', '11718', '11719', '11721', '11917', '14093', '18792']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue35537'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.8 (EOL)end of lifestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions