subprocess: on Windows, unwanted file handles are inherited by child processes in a multithreaded application

オープン
#63,774 コメント 26 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

Start by running repro.py, repro_improved.py, testcase3.py, and testscript4.py to understand the Windows handle-inheritance failure in multithreaded applications. Review the related issue discussion and compare the reproductions; done means child processes no longer inherit unwanted file handles in the reported scenarios.

索引モデルが issue の本文から書いたものです。

説明

OS-windows stdlib topic-IO topic-subprocess
BPO 19575
Nosy @vstinner, @tjguk, @bitdancer, @codeape2
Files
  • repro.py
  • repro_improved.py
  • testcase3.py
  • testscript4.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 2013-11-13.21:02:53.160>
    labels = ['library', 'expert-IO', 'OS-windows']
    title = 'subprocess: on Windows, unwanted file handles are inherited by child processes in a multithreaded application'
    updated_at = <Date 2013-11-21.11:34:14.259>
    user = 'https://github.com/codeape2'
    

    bugs.python.org fields:

    activity = <Date 2013-11-21.11:34:14.259>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows', 'IO']
    creation = <Date 2013-11-13.21:02:53.160>
    creator = 'Bernt.R\xc3\xb8skar.Brenna'
    dependencies = []
    files = ['32602', '32604', '32613', '32685']
    hgrepos = []
    issue_num = 19575
    keywords = []
    message_count = 26.0
    messages = ['202779', '202780', '202783', '202785', '202786', '202788', '202789', '202839', '202843', '202852', '202854', '202859', '202872', '202876', '202877', '202894', '202896', '202985', '202987', '203266', '203269', '203276', '203280', '203282', '203288', '203596']
    nosy_count = 8.0
    nosy_names = ['astrand', 'vstinner', 'gps', 'tim.golden', 'r.david.murray', 'Bernt.R\xc3\xb8skar.Brenna', 'neologix', 'sbt']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue19575'
    versions = ['Python 3.3', 'Python 3.4']
    

    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。