Title: gh-97907: use cancellation error from child if possible by duaneg · Pull Request #133243 · python/cpython · GitHub
Open Graph Title: gh-97907: use cancellation error from child if possible by duaneg · Pull Request #133243 · python/cpython
X Title: gh-97907: use cancellation error from child if possible by duaneg · Pull Request #133243 · python/cpython
Description: At present when cancelling the result of an :func:asncio.gather call, the last child is used to create the cancellation error. If that was not cancelled but another child was, its cancellation message and traceback will be lost. Fix this by using the cancellation error from the first of the children to be cancelled, if any, falling back to the last child only if none have been. Issue: gh-97907
Open Graph Description: At present when cancelling the result of an :func:asncio.gather call, the last child is used to create the cancellation error. If that was not cancelled but another child was, its cancellation mess...
X Description: At present when cancelling the result of an :func:asncio.gather call, the last child is used to create the cancellation error. If that was not cancelled but another child was, its cancellation mess...
Opengraph URL: https://github.com/python/cpython/pull/133243
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:8b46e9e7-d1ba-c7ca-17a2-f4f3fa1230df |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9C84:12E713:24AB08:2E96C4:696B3CFF |
| html-safe-nonce | e2349fc9df8c4c128896489bdcba3692b18e417390e2745c203371bb6bd5ed91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Qzg0OjEyRTcxMzoyNEFCMDg6MkU5NkM0OjY5NkIzQ0ZGIiwidmlzaXRvcl9pZCI6IjkxNTA1NDkyNTc1MDY5OTU0NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 614a37503c4c7c6ce51229806b2269babd3f2d3a6e16902d60fd9df1940fb371 |
| hovercard-subject-tag | pull_request:2493450477 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/133243/checks |
| twitter:image | https://avatars.githubusercontent.com/u/713786?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/713786?s=400&v=4 |
| og:image:alt | At present when cancelling the result of an :func:asncio.gather call, the last child is used to create the cancellation error. If that was not cancelled but another child was, its cancellation mess... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width