`_remote_debugging`: No frame limit in `get_async_stack_trace()`
未關閉
還沒有人認領這個 Issue。
extension-modules
topic-profiling
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
We've got it in process_frame_chain():
There's no such limit in parse_async_frame_chain():
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
- gh-153365
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Modules/_remote_debugging/frames.c 中的 process_frame_chain() 開始,將其 frame 限制處理與 parse_async_frame_chain() 以及 Modules/_remote_debugging/asyncio.c 中的相關路徑進行比較。完成的標準是 async 堆疊追蹤路徑強制執行相同的 frame 限制;開始前檢查已連結的 PR gh-153365。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- c, python
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 30/100