python / python/cpython

Export `get_all_awaited_by` API into public Python API.

Open
#134,342 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stdlib topic-asyncio type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing get_all_awaited_by implementation in the private _remote_debugging module and the surrounding asyncio public API exports. Check how similar asyncio APIs are exposed and tested. Done means the function is available as asyncio.get_all_awaited_by with appropriate coverage for its public behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.