Title: All geneneric types should be indexable. · Issue #298 · python/typing · GitHub
Open Graph Title: All geneneric types should be indexable. · Issue #298 · python/typing
X Title: All geneneric types should be indexable. · Issue #298 · python/typing
Description: Now one can write Dict[T, int][str], while Callable[[T], int][str] raises an error. However, most of the arguments for allowing indexable generics also apply for Union, Tuple, Callable, etc. Actually, these types are also generic in the ...
Open Graph Description: Now one can write Dict[T, int][str], while Callable[[T], int][str] raises an error. However, most of the arguments for allowing indexable generics also apply for Union, Tuple, Callable, etc. Actual...
X Description: Now one can write Dict[T, int][str], while Callable[[T], int][str] raises an error. However, most of the arguments for allowing indexable generics also apply for Union, Tuple, Callable, etc. Actual...
Opengraph URL: https://github.com/python/typing/issues/298
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"All geneneric types should be indexable.","articleBody":"Now one can write `Dict[T, int][str]`, while `Callable[[T], int][str]` raises an error. However, most of the arguments for allowing indexable generics also apply for `Union, Tuple, Callable`, etc. Actually, these types are also generic in the sense that they could depend on other types or type variables (for example `Callable` takes two types `str` and `int`, and returns a new type `Callable[[str], int]`).\n\n@gvanrossum If you agree, then you can assign this issue to me.\n","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2016-10-16T11:48:29Z","url":"https://github.com/python/typing/issues/298"}
| 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:66469c44-906d-40a9-d434-5f60675c87b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B696:1DA187:2C7057F:3A780FD:6B001719 |
| html-safe-nonce | e46055e1ecd8091cf5264551d790e382ec909c587534313c437f037a3c3682fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjk2OjFEQTE4NzoyQzcwNTdGOjNBNzgwRkQ6NkIwMDE3MTkiLCJ2aXNpdG9yX2lkIjoiMTU0ODcyODA1NzI2NTY1NzYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 80ad1891f6aebbc01d83ac78f1ae3b104de223ad38332884b4434096bccb65a9 |
| hovercard-subject-tag | issue:183262911 |
| 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/typing/298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5981b65977bdc459f2dee337037827878cebf0d08aeb7922ae2fdfbabc6cc6a9/python/typing/issues/298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5981b65977bdc459f2dee337037827878cebf0d08aeb7922ae2fdfbabc6cc6a9/python/typing/issues/298 |
| og:image:alt | Now one can write Dict[T, int][str], while Callable[[T], int][str] raises an error. However, most of the arguments for allowing indexable generics also apply for Union, Tuple, Callable, etc. Actual... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width