Skip to content

subprocess: child_exec() uses _Py_set_inheritable() which is not async-signal-safe #76958

@izbyshev

Description

@izbyshev
mannequin
BPO 32777
Nosy @gpshead, @vstinner, @izbyshev
PRs
  • bpo-32777: subprocess: Fix usage of _Py_set_inheritable() in child_exec() #5560
  • [3.7] bpo-32777: Fix _Py_set_inheritable async-safety in subprocess (GH-5560) #5562
  • [3.6] bpo-32777: Fix _Py_set_inheritable async-safety in subprocess (GH-5560) #5563
  • 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/gpshead'
    closed_at = <Date 2018-02-06.06:52:35.951>
    created_at = <Date 2018-02-06.01:34:02.804>
    labels = ['extension-modules', 'type-bug', 'library', '3.7']
    title = 'subprocess: child_exec() uses _Py_set_inheritable() which is not async-signal-safe'
    updated_at = <Date 2018-02-06.07:25:34.347>
    user = 'https://github.com/izbyshev'

    bugs.python.org fields:

    activity = <Date 2018-02-06.07:25:34.347>
    actor = 'izbyshev'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2018-02-06.06:52:35.951>
    closer = 'gregory.p.smith'
    components = ['Extension Modules', 'Library (Lib)']
    creation = <Date 2018-02-06.01:34:02.804>
    creator = 'izbyshev'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32777
    keywords = ['patch']
    message_count = 6.0
    messages = ['311699', '311706', '311707', '311708', '311709', '311712']
    nosy_count = 3.0
    nosy_names = ['gregory.p.smith', 'vstinner', 'izbyshev']
    pr_nums = ['5560', '5562', '5563']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32777'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions