10000 Rewrite `asyncio.wait_for` using `asyncio.timeout` · Issue #96764 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Rewrite asyncio.wait_for using asyncio.timeout #96764
Closed
@kumaraditya303

Description

@kumaraditya303

Over the years a lot of issues have accumulated for asyncio.wait_for and the code has become complicated. The asyncio.timeout can be used to simplify this a lot and will also fix bugs which are already fixed or don't exist in asyncio.timeout. This rewrite won't be backported. asyncio.wait_for should be nothing more than a wrapper around asyncio.timeout.

asyncio.wait_for issues: https://github.com/python/cpython/issues?q=is%3Aissue+is%3Aopen+wait_for+label%3Aexpert-asyncio

Linked PRs

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0