Windows: subprocess.Popen: race condition for leaking inheritable handles

Abierto
#69,097 9 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Start by reviewing the win32-popen-lock.patch, the referenced pipe.py, and the subprocess.py changes described in the issue. Reproduce or inspect the Windows subprocess race, then verify that the completed change prevents inheritable handles from leaking without regressing subprocess behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

OS-windows stdlib topic-subprocess type-bug
BPO 24909
Nosy @gpshead, @pfmoore, @vstinner, @tjguk, @bitdancer, @zware, @zooba, @oconnor663, @ameily
Files
  • win32-popen-lock.patch: Patch to subprocess.py
  • pipe.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 = None
    closed_at = None
    created_at = <Date 2015-08-21.16:51:54.533>
    labels = ['type-bug', 'library', 'OS-windows']
    title = 'Windows: subprocess.Popen: race condition for leaking inheritable handles'
    updated_at = <Date 2016-03-04.22:32:34.004>
    user = 'https://github.com/ameily'
    

    bugs.python.org fields:

    activity = <Date 2016-03-04.22:32:34.004>
    actor = 'oconnor663'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2015-08-21.16:51:54.533>
    creator = 'meilyadam'
    dependencies = []
    files = ['40219', '40220']
    hgrepos = []
    issue_num = 24909
    keywords = ['patch']
    message_count = 9.0
    messages = ['248961', '248962', '248963', '248965', '248970', '248971', '248973', '248976', '250407']
    nosy_count = 9.0
    nosy_names = ['gregory.p.smith', 'paul.moore', 'vstinner', 'tim.golden', 'r.david.murray', 'zach.ware', 'steve.dower', 'oconnor663', 'meilyadam']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24909'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']
    

    Lenguaje dominante
    Python
    Estrellas
    77.2k
    Forks
    36k
    Merge medio
    1 d 9 h
    PR fusionados (30 d)
    558

    Guía de contribución

    Abrir la guía de contribución

    Primeros pasos

    1. Lee el issue completo y luego la guía de contribución del proyecto.
    2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
    3. Haz un fork del repositorio y trabaja en una rama.
    4. Abre un pull request que haga referencia al número del issue.

    Más de python/cpython

    Todos los issues de python/cpython

    Issues similares

    Más issues de Python

    Recibe los nuevos issues en tu correo

    Un resumen breve de issues de GitHub para principiantes.