python / python/cpython

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

Offen
#83,071 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

3.10 3.8 (EOL) 3.9 (EOL) OS-windows stdlib topic-subprocess type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

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']
    

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
    3. Forke das Repository und arbeite in einem Branch.
    4. Öffne einen Pull Request, der die Issue-Nummer nennt.

    Rechercherichtung

    Beginne mit der angehängten test_daemon_win.py und dem Verhalten von subprocess.Popen für getrennte Prozesse unter Windows. Reproduziere die ResourceWarning, ermittle dann das erwartete Verhalten ohne Warnung und füge im relevanten Testfile eine Regressionstestabdeckung hinzu.

    Vom Indexierungsmodell aus dem Issue-Text verfasst.

    Bewertung

    Tech-Stack
    python
    Bereich
    operating-systems
    Issue-Typ
    Bug
    Schwierigkeit
    3/5
    Geschätzter Aufwand
    1-2 Tage
    Aktivitätsstatus
    Veraltet
    Klarheit
    Muss geklärt werden
    Anfängerfreundlichkeit
    30/100

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.