python / python/cpython

subprocess.Popen should not emit a ResourceWarning for a detached process

Aperta
#83,071 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

3.10 3.8 (EOL) 3.9 (EOL) OS-windows stdlib topic-subprocess type-bug
Lingua principale
Python
Stelle
77.2k
Fork
36k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

BPO 38890
Nosy @gpshead, @pfmoore, @tjguk, @zware, @eryksun, @zooba, @ShaneHarvey
Files
  • test_daemon_win.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 2019-11-22.00:04:09.952>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows']
    title = 'subprocess.Popen should not emit a ResourceWarning for a detached process'
    updated_at = <Date 2021-03-20.23:05:48.367>
    user = 'https://github.com/ShaneHarvey'
    

    bugs.python.org fields:

    activity = <Date 2021-03-20.23:05:48.367>
    actor = 'gregory.p.smith'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2019-11-22.00:04:09.952>
    creator = 'ShaneHarvey'
    dependencies = []
    files = ['48738']
    hgrepos = []
    issue_num = 38890
    keywords = []
    message_count = 6.0
    messages = ['357237', '357451', '357455', '357458', '388906', '389196']
    nosy_count = 8.0
    nosy_names = ['gregory.p.smith', 'paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'behackett', 'ShaneHarvey']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38890'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Direzione di ricerca

    Inizia con il file test_daemon_win.py allegato e con il comportamento di subprocess.Popen per i processi scollegati su Windows. Riproduci la ResourceWarning, quindi determina il comportamento previsto senza avvisi e aggiungi la copertura di regressione nel file di test pertinente.

    Scritto dal modello di indicizzazione a partire dal testo della issue.

    Valutazione

    Stack tecnologico
    python
    Ambito
    operating-systems
    Tipo di issue
    Bug
    Difficoltà
    3/5
    Tempo stimato
    1-2 giorni
    Stato di attività
    Ferma
    Chiarezza
    Da chiarire
    Idoneità per principianti
    30/100

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.