Title: [3.8] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21965 · python/cpython · GitHub
Open Graph Title: [3.8] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21965 · python/cpython
X Title: [3.8] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21965 · 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/21965
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9ab7a2b7-a8b7-fb71-0819-6f52da2f9d70 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC14:3393D2:9DAF74:DDC791:6A5F98EB |
| html-safe-nonce | a5e9420012c5415b3e76e6ab4bdee909ecee05ebb681948695a997b4f1bbad8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzE0OjMzOTNEMjo5REFGNzQ6RERDNzkxOjZBNUY5OEVCIiwidmlzaXRvcl9pZCI6IjU2ODg1NTQyNzg2Mzc3OTU2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3e81a234e5713687ec8e01b373fb47f01059bb04391a96543c9d521a65a500db |
| hovercard-subject-tag | pull_request:474028518 |
| 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/21965/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 | 9353cc7b48460319d80daeeb399e4919b4abcfe6f78d37c7b457924d164a40b1 |
| 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 | 755d210ae728fcf699d7ab1cdd9866592be6ad35 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width