document that test.support.threading_cleanup() deliberately complains about dangling threads before calling gc_collect()
未關閉
還沒有人認領這個 Issue。
docs
tests
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 32850 |
|---|---|
| Nosy | @pitrou, @vstinner, @tiran, @ezio-melotti, @smurfix, @njsmith |
| 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 2018-02-15.14:02:32.626>
labels = ['3.7', 'tests', 'performance']
title = 'Run gc_collect() before complaining about dangling threads'
updated_at = <Date 2018-03-27.22:34:22.807>
user = 'https://github.com/smurfix'
bugs.python.org fields:
activity = <Date 2018-03-27.22:34:22.807>
actor = 'njs'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2018-02-15.14:02:32.626>
creator = 'smurfix'
dependencies = []
files = ['47445', '47446']
hgrepos = []
issue_num = 32850
keywords = ['patch']
message_count = 9.0
messages = ['312206', '312207', '314547', '314548', '314552', '314553', '314554', '314555', '314558']
nosy_count = 6.0
nosy_names = ['pitrou', 'vstinner', 'christian.heimes', 'ezio.melotti', 'smurfix', 'njs']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue32850'
versions = ['Python 3.7']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
在 CPython 測試支援程式碼中搜尋 test.support.threading_cleanup() 和 gc_collect()。閱讀周圍的實作以及現有文件或測試,以確認預期的順序和警告行為。文件明確說明在呼叫 gc_collect() 之前會刻意回報懸掛的執行緒,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- testing-qa
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100