]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-96764: rewrite `asyncio.wait_for` to use `asyncio.timeout` (#98518)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Thu, 16 Feb 2023 18:48:21 +0000 (00:18 +0530)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2023 18:48:21 +0000 (00:18 +0530)
commita5024a261a75dafa4fb6613298dcb64a9603d9c7
tree8d54f5f79f74a79822334357f21528e1c138158e
parent226484e47599a93f5bf033ac47198e68ff401432
GH-96764: rewrite `asyncio.wait_for` to use `asyncio.timeout` (#98518)

Changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation.
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_futures2.py
Lib/test/test_asyncio/test_waitfor.py
Misc/NEWS.d/next/Library/2022-10-22-09-26-43.gh-issue-96764.Dh9Y5L.rst [new file with mode: 0644]