asyncio updates for Python 3.14
Open
Nobody has claimed this yet.
status: deferred
topic: asyncio
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.1k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 82
Description
There have been a significant API changes in asyncio with deprecations and removals in 3.14
The following APIs are deprecated:
asyncio.iscoroutinefunction- asyncio.AbstractEventLoopPolicy
- asyncio.DefaultEventLoopPolicy
- asyncio.WindowsSelectorEventLoopPolicy
- asyncio.WindowsProactorEventLoopPolicy
- asyncio.get_event_loop_policy()
- asyncio.set_event_loop_policy()
- asyncio.set_event_loop()
The following APIs are removed:
- asyncio.get_child_watcher()
- asyncio.set_child_watcher()
- asyncio.AbstractEventLoopPolicy.get_child_watcher()
- asyncio.AbstractEventLoopPolicy.set_child_watcher()
- asyncio.AbstractChildWatcher
- asyncio.FastChildWatcher
- asyncio.MultiLoopChildWatcher
- asyncio.PidfdChildWatcher
- asyncio.SafeChildWatcher
- asyncio.ThreadedChildWatcher
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by locating the asyncio stubs in typeshed and comparing them with the Python 3.14 asyncio documentation. Update coverage for the listed deprecated and removed APIs, then run the relevant typeshed checks; done means the stubs accurately reflect Python 3.14.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100