python / python/cpython

Export `get_all_awaited_by` API into public Python API.

未關閉
#134,342 16 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

stdlib topic-asyncio type-feature
主要語言
Python
星號
77.2k
分支
35.9k
PR 合併指標
PR 指標待擷取

描述

Currently get_all_awaited_by API is provided part of _remote_debugging module.
But the module is private currently, and there are some usecase for this API from aiomonitor.

So it would be useful if we could export it as part of the asyncio API, such as 'asyncio.get_all_awaited_by'.

Please let me know if there is concern to export this API as public. @kumaraditya303 @pablogsal

cc @achimnol

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先檢視私有模組 _remote_debugging 中現有的 get_all_awaited_by 實作,以及周邊的 asyncio 公開 API 匯出。確認類似的 asyncio API 是如何公開和測試的。完成條件是該函式可作為 asyncio.get_all_awaited_by 使用,且其公開行為具備適當的測試涵蓋率。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api, backend
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。