Title: [3.9] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21964 · python/cpython · GitHub
Open Graph Title: [3.9] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21964 · python/cpython
X Title: [3.9] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21964 · python/cpython
Description: Currently, if asyncio.wait_for() itself is cancelled it will always raise CancelledError regardless if the underlying task is still running. This is similar to a race with the timeout, which is handled already. (cherry picked from commit a2118a1) Co-authored-by: Elvis Pranskevichus elvis@magic.io https://bugs.python.org/issue37658
Open Graph Description: Currently, if asyncio.wait_for() itself is cancelled it will always raise CancelledError regardless if the underlying task is still running. This is similar to a race with the timeout, which is ha...
X Description: Currently, if asyncio.wait_for() itself is cancelled it will always raise CancelledError regardless if the underlying task is still running. This is similar to a race with the timeout, which is ha...
Opengraph URL: https://github.com/python/cpython/pull/21964
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:12b7234e-9da7-d1bf-9399-715c715b23cc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D612:1EF927:1026:13AF:6A5CA894 |
| html-safe-nonce | 7d165131c24a140f4d90fe525beccab3f4165e81f51b8f370fb2afa4cb6dbf48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjEyOjFFRjkyNzoxMDI2OjEzQUY6NkE1Q0E4OTQiLCJ2aXNpdG9yX2lkIjoiODEyNDg2NjM2MDkyMzQzMzEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e32b486ad97bc3035d6c2424a2037c57ff869f613518e5e8e64cf142df7abf2 |
| hovercard-subject-tag | pull_request:474028457 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/21964/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Currently, if asyncio.wait_for() itself is cancelled it will always raise CancelledError regardless if the underlying task is still running. This is similar to a race with the timeout, which is ha... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width