subprocess.Popen should not emit a ResourceWarning for a detached process
オープン
まだ誰も着手していません。
3.10
3.8 (EOL)
3.9 (EOL)
OS-windows
stdlib
topic-subprocess
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 38890 |
|---|---|
| Nosy | @gpshead, @pfmoore, @tjguk, @zware, @eryksun, @zooba, @ShaneHarvey |
| Files |
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']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
添付された test_daemon_win.py と、Windows でのデタッチされたプロセスに対する subprocess.Popen の動作から始めます。ResourceWarning を再現し、次に警告が発生しない場合の期待される動作を特定して、関連するテストファイルにリグレッションテストを追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100