Title: Remove typing.AwaitableGenerator · Issue #13804 · python/typeshed · GitHub
Open Graph Title: Remove typing.AwaitableGenerator · Issue #13804 · python/typeshed
X Title: Remove typing.AwaitableGenerator · Issue #13804 · python/typeshed
Description: While manipulating coroutines, I came across AwaitableGenerator. Everything was going well until I noticed it had four type parameters. So, I checked the code. Apparently, they have an additional type variable _S, which, to me, makes no ...
Open Graph Description: While manipulating coroutines, I came across AwaitableGenerator. Everything was going well until I noticed it had four type parameters. So, I checked the code. Apparently, they have an additional t...
X Description: While manipulating coroutines, I came across AwaitableGenerator. Everything was going well until I noticed it had four type parameters. So, I checked the code. Apparently, they have an additional t...
Opengraph URL: https://github.com/python/typeshed/issues/13804
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove typing.AwaitableGenerator","articleBody":"While manipulating coroutines, I came across [AwaitableGenerator](https://github.com/python/typeshed/blob/2b7019b933ac8339e4ae8f4619a2a746446a8532/stdlib/typing.pyi#L538). Everything was going well until I noticed it had four type parameters. So, I checked the code.\nApparently, they have an additional type variable `_S`, which, to me, makes no sense since it's not used in the protocol.\n\nSo, I want to know if this feature is intentional and if it has any use.\nIf not, I think it's appropriate to follow the `Generator[YieldT, SendT, ReturnT]` structure because it is a generator but it supports `await`.\n\n----\n\nBlocked by python/mypy#8240 and pyright.","author":{"url":"https://github.com/AlanBogarin","@type":"Person","name":"AlanBogarin"},"datePublished":"2025-04-07T14:02:51Z","url":"https://github.com/python/typeshed/issues/13804"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0da3e1d2-1e36-804c-ecaf-9bc41656dc67 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8676:A2351:3F01D:57E8B:6B004FF5 |
| html-safe-nonce | ad5ce93741fad9eac6c23b426e3797a1abab8867acdd3a514db7aaee986bc8ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Njc2OkEyMzUxOjNGMDFEOjU3RThCOjZCMDA0RkY1IiwidmlzaXRvcl9pZCI6IjYwMDc0Nzg3MTI3MTMzNjc1NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 22ba9ab4a0a92bb74d428c09084cc1583d8fcdfe3624d36694380055321115a1 |
| hovercard-subject-tag | issue:2976986533 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/typeshed/13804/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36eb1686a753a9b130182771ec1687a16363c69932671b5ffe3e2104a8bed92e/python/typeshed/issues/13804 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36eb1686a753a9b130182771ec1687a16363c69932671b5ffe3e2104a8bed92e/python/typeshed/issues/13804 |
| og:image:alt | While manipulating coroutines, I came across AwaitableGenerator. Everything was going well until I noticed it had four type parameters. So, I checked the code. Apparently, they have an additional t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlanBogarin |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width