| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:53913960-a091-0231-c3c8-4062ff7e17e1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 86FA:5875E:1BC607E:2581B39:6B00040B |
| html-safe-nonce | 9eaa877d66889efe6b633bba8e9d4b32c0b060360be7fe09ff569c404bda27d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkZBOjU4NzVFOjFCQzYwN0U6MjU4MUIzOTo2QjAwMDQwQiIsInZpc2l0b3JfaWQiOiI5MDg5MDM5NTMwOTIwNTE5NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c15b094203bfec87cdf4e45301e77e150d4c8a5f7a89d288507a34f6b58193f |
| hovercard-subject-tag | pull_request:88638832 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typing/296/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4a4fc8290a4a358fe1b943fca03047e0399e0ee38cf2cfa352d2c2177ad292a9/python/typing/pull/296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a4fc8290a4a358fe1b943fca03047e0399e0ee38cf2cfa352d2c2177ad292a9/python/typing/pull/296 |
| og:image:alt | @gvanrossum
Currently, repr for generics acts in naive way, so that sometimes this leads to cumbersome representations. For example,
class C(Generic[T]):
...
C[Tuple[S, T]][T, int][str]
prints... |
| 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 | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-cache |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typing/pull/296#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F296 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F296 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Ftyping |
| Reload | https://github.com/python/typing/pull/296 |
| Reload | https://github.com/python/typing/pull/296 |
| Reload | https://github.com/python/typing/pull/296 |
| python | https://github.com/python |
| typing | https://github.com/python/typing |
| Code | https://github.com/python/typing |
| Issues206 (206) | https://github.com/python/typing/issues |
| Pull requests27 (27) | https://github.com/python/typing/pulls |
| Discussions | https://github.com/python/typing/discussions |
| Actions | https://github.com/python/typing/actions |
| Security and quality | https://github.com/python/typing/security |
| Insights | https://github.com/python/typing/insights |
| https://github.com/python/typing |
| gvanrossum | https://github.com/gvanrossum |
| python:master | https://github.com/python/typing/tree/master |
| ilevkivskyi:new-repr | https://github.com/ilevkivskyi/typehinting/tree/new-repr |
| Conversation | https://github.com/python/typing/pull/296 |
| Commits8 (8) | https://github.com/python/typing/pull/296/commits |
| Checks | https://github.com/python/typing/pull/296/checks |
| Files changed | https://github.com/python/typing/pull/296/files |
| Alternative (simpler) repr for generics | https://github.com/python/typing/pull/296#top |
| gvanrossum | https://github.com/gvanrossum |
| python:master | https://github.com/python/typing/tree/master |
| ilevkivskyi:new-repr | https://github.com/ilevkivskyi/typehinting/tree/new-repr |
|
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 10, 2016 | https://github.com/python/typing/pull/296#issue-181980139 |
| @gvanrossum | https://github.com/gvanrossum |
| Please reload this page | https://github.com/python/typing/pull/296 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| October 10, 2016 11:37 | https://github.com/python/typing/pull/296#commits-pushed-205b4bf |
|
| https://github.com/ilevkivskyi |
| Alternative repr for generics | https://github.com/python/typing/pull/296/commits/205b4bf6c93be7205d0cebbd8e9866fd16feedf7 |
| 205b4bf | https://github.com/python/typing/pull/296/commits/205b4bf6c93be7205d0cebbd8e9866fd16feedf7 |
|
| https://github.com/ilevkivskyi |
| Small fix and tests | https://github.com/python/typing/pull/296/commits/b42f304d203a0abcf12fa0f6ac8d343ff9a48340 |
| b42f304 | https://github.com/python/typing/pull/296/commits/b42f304d203a0abcf12fa0f6ac8d343ff9a48340 |
|
| https://github.com/ilevkivskyi |
| Simply code | https://github.com/python/typing/pull/296/commits/e0caaff7590ed332f1201d7b9295320ff4adb37a |
| e0caaff | https://github.com/python/typing/pull/296/commits/e0caaff7590ed332f1201d7b9295320ff4adb37a |
|
| https://github.com/ilevkivskyi |
| Code formatting | https://github.com/python/typing/pull/296/commits/9d035e35a923d6a86e952c2f5d019ee0a5404e55 |
| 9d035e3 | https://github.com/python/typing/pull/296/commits/9d035e35a923d6a86e952c2f5d019ee0a5404e55 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Oct 10, 2016 | https://github.com/python/typing/pull/296#issuecomment-252674756 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Oct 10, 2016 | https://github.com/python/typing/pull/296#issuecomment-252774326 |
| Please reload this page | https://github.com/python/typing/pull/296 |
|
| https://github.com/ilevkivskyi |
| Reorganize code to take care about Generic[T] and _Protocol[T] | https://github.com/python/typing/pull/296/commits/47bf98f0642de6de8c6d6d5e4db8bff952dea0f9 |
| 47bf98f | https://github.com/python/typing/pull/296/commits/47bf98f0642de6de8c6d6d5e4db8bff952dea0f9 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 11, 2016 | https://github.com/python/typing/pull/296#issuecomment-252844494 |
| #295 | https://github.com/python/typing/pull/295 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 14, 2016 | https://github.com/python/typing/pull/296#issuecomment-253766197 |
| @gvanrossum | https://github.com/gvanrossum |
| http://bugs.python.org/issue27989 | http://bugs.python.org/issue27989 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Oct 14, 2016 | https://github.com/python/typing/pull/296#issuecomment-253823401 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 14, 2016 | https://github.com/python/typing/pull/296#issuecomment-253916422 |
| @gvanrossum | https://github.com/gvanrossum |
| python/mypy#2245 | https://github.com/python/mypy/pull/2245 |
| http://bugs.python.org/issue28107 | http://bugs.python.org/issue28107 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
|
Oct 14, 2016
| https://github.com/python/typing/pull/296#pullrequestreview-4354434 |
|
View reviewed changes
| https://github.com/python/typing/pull/296/files/47bf98f0642de6de8c6d6d5e4db8bff952dea0f9 |
| src/typing.py | https://github.com/python/typing/pull/296/files/9d035e35a923d6a86e952c2f5d019ee0a5404e55..47bf98f0642de6de8c6d6d5e4db8bff952dea0f9#diff-ad6da8dfad5c336100410e57073641a0266b69e1801476d2b1e593b2c04f81f5 |
| gvanrossum | https://github.com/gvanrossum |
| Oct 14, 2016 | https://github.com/python/typing/pull/296#discussion_r83511834 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/296 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| October 16, 2016 10:03 | https://github.com/python/typing/pull/296#commits-pushed-8520984 |
|
| https://github.com/ilevkivskyi |
| Remove unnecessary recursion | https://github.com/python/typing/pull/296/commits/85209842f046639a09d61cb8b73b055ea3606bb1 |
| 8520984 | https://github.com/python/typing/pull/296/commits/85209842f046639a09d61cb8b73b055ea3606bb1 |
|
| https://github.com/ilevkivskyi |
| Add replacement algorithm to Generic | https://github.com/python/typing/pull/296/commits/ff35a80b35b44348234801899e70b14444fc6257 |
| ff35a80 | https://github.com/python/typing/pull/296/commits/ff35a80b35b44348234801899e70b14444fc6257 |
|
| https://github.com/ilevkivskyi |
| Add _subs_repr to other types; fix minor bugs | https://github.com/python/typing/pull/296/commits/232f80ad41efbbaba9ccb546d85ec58a83beab1a |
| 232f80a | https://github.com/python/typing/pull/296/commits/232f80ad41efbbaba9ccb546d85ec58a83beab1a |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 16, 2016 | https://github.com/python/typing/pull/296#issuecomment-254041580 |
| @gvanrossum | https://github.com/gvanrossum |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 16, 2016 | https://github.com/python/typing/pull/296#issuecomment-254048289 |
| @gvanrossum | https://github.com/gvanrossum |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Oct 16, 2016 | https://github.com/python/typing/pull/296#issuecomment-254063482 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Oct 16, 2016
| https://github.com/python/typing/pull/296#ref-issue-63360912 |
|
Allow type aliases such X = List[T] if T is a type variable
python/mypy#606
| https://github.com/python/mypy/issues/606 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| 8988cd9 | https://github.com/python/typing/commit/8988cd9c1c317104852d91fb09a06fb491b91545 |
| Oct 20, 2016 | https://github.com/python/typing/pull/296#event-831336857 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Oct 20, 2016 | https://github.com/python/typing/pull/296#issuecomment-255247867 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F296 |
|
| https://github.com/gvanrossum |
|
gvanrossum
| https://github.com/gvanrossum |
|
| https://github.com/python/typing/pull/296/files/47bf98f0642de6de8c6d6d5e4db8bff952dea0f9 |
| Please reload this page | https://github.com/python/typing/pull/296 |
| Please reload this page | https://github.com/python/typing/pull/296 |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/gvanrossum |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |