René's URL Explorer Experiment


Title: Alternative (simpler) repr for generics by ilevkivskyi · Pull Request #296 · python/typing · GitHub

Open Graph Title: Alternative (simpler) repr for generics by ilevkivskyi · Pull Request #296 · python/typing

X Title: Alternative (simpler) repr for generics by ilevkivskyi · Pull Request #296 · python/typing

Description: Python static typing home. Hosts the documentation and a user help forum. - Alternative (simpler) repr for generics by ilevkivskyi · Pull Request #296 · python/typing

Open Graph Description: @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...

X Description: @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...

Opengraph URL: https://github.com/python/typing/pull/296

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:53913960-a091-0231-c3c8-4062ff7e17e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86FA:5875E:1BC607E:2581B39:6B00040B
html-safe-nonce9eaa877d66889efe6b633bba8e9d4b32c0b060360be7fe09ff569c404bda27d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkZBOjU4NzVFOjFCQzYwN0U6MjU4MUIzOTo2QjAwMDQwQiIsInZpc2l0b3JfaWQiOiI5MDg5MDM5NTMwOTIwNTE5NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5c15b094203bfec87cdf4e45301e77e150d4c8a5f7a89d288507a34f6b58193f
hovercard-subject-tagpull_request:88638832
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typing/296/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4a4fc8290a4a358fe1b943fca03047e0399e0ee38cf2cfa352d2c2177ad292a9/python/typing/pull/296
twitter:cardsummary_large_image
og:imagehttps://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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-cache
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typing/pull/296#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F296
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F296
Sign uphttps://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
Reloadhttps://github.com/python/typing/pull/296
Reloadhttps://github.com/python/typing/pull/296
Reloadhttps://github.com/python/typing/pull/296
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
https://github.com/python/typing
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/typing/tree/master
ilevkivskyi:new-reprhttps://github.com/ilevkivskyi/typehinting/tree/new-repr
Conversationhttps://github.com/python/typing/pull/296
Commits8 (8)https://github.com/python/typing/pull/296/commits
Checkshttps://github.com/python/typing/pull/296/checks
Files changedhttps://github.com/python/typing/pull/296/files
Alternative (simpler) repr for genericshttps://github.com/python/typing/pull/296#top
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/typing/tree/master
ilevkivskyi:new-reprhttps://github.com/ilevkivskyi/typehinting/tree/new-repr
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 10, 2016https://github.com/python/typing/pull/296#issue-181980139
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/typing/pull/296
ilevkivskyihttps://github.com/ilevkivskyi
October 10, 2016 11:37https://github.com/python/typing/pull/296#commits-pushed-205b4bf
https://github.com/ilevkivskyi
Alternative repr for genericshttps://github.com/python/typing/pull/296/commits/205b4bf6c93be7205d0cebbd8e9866fd16feedf7
205b4bfhttps://github.com/python/typing/pull/296/commits/205b4bf6c93be7205d0cebbd8e9866fd16feedf7
https://github.com/ilevkivskyi
Small fix and testshttps://github.com/python/typing/pull/296/commits/b42f304d203a0abcf12fa0f6ac8d343ff9a48340
b42f304https://github.com/python/typing/pull/296/commits/b42f304d203a0abcf12fa0f6ac8d343ff9a48340
https://github.com/ilevkivskyi
Simply codehttps://github.com/python/typing/pull/296/commits/e0caaff7590ed332f1201d7b9295320ff4adb37a
e0caaffhttps://github.com/python/typing/pull/296/commits/e0caaff7590ed332f1201d7b9295320ff4adb37a
https://github.com/ilevkivskyi
Code formattinghttps://github.com/python/typing/pull/296/commits/9d035e35a923d6a86e952c2f5d019ee0a5404e55
9d035e3https://github.com/python/typing/pull/296/commits/9d035e35a923d6a86e952c2f5d019ee0a5404e55
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 10, 2016https://github.com/python/typing/pull/296#issuecomment-252674756
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 10, 2016https://github.com/python/typing/pull/296#issuecomment-252774326
Please reload this pagehttps://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
47bf98fhttps://github.com/python/typing/pull/296/commits/47bf98f0642de6de8c6d6d5e4db8bff952dea0f9
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 11, 2016https://github.com/python/typing/pull/296#issuecomment-252844494
#295https://github.com/python/typing/pull/295
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 14, 2016https://github.com/python/typing/pull/296#issuecomment-253766197
@gvanrossumhttps://github.com/gvanrossum
http://bugs.python.org/issue27989http://bugs.python.org/issue27989
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 14, 2016https://github.com/python/typing/pull/296#issuecomment-253823401
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 14, 2016https://github.com/python/typing/pull/296#issuecomment-253916422
@gvanrossumhttps://github.com/gvanrossum
python/mypy#2245https://github.com/python/mypy/pull/2245
http://bugs.python.org/issue28107http://bugs.python.org/issue28107
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/gvanrossum
gvanrossumhttps://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.pyhttps://github.com/python/typing/pull/296/files/9d035e35a923d6a86e952c2f5d019ee0a5404e55..47bf98f0642de6de8c6d6d5e4db8bff952dea0f9#diff-ad6da8dfad5c336100410e57073641a0266b69e1801476d2b1e593b2c04f81f5
gvanrossumhttps://github.com/gvanrossum
Oct 14, 2016https://github.com/python/typing/pull/296#discussion_r83511834
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/296
ilevkivskyihttps://github.com/ilevkivskyi
October 16, 2016 10:03https://github.com/python/typing/pull/296#commits-pushed-8520984
https://github.com/ilevkivskyi
Remove unnecessary recursionhttps://github.com/python/typing/pull/296/commits/85209842f046639a09d61cb8b73b055ea3606bb1
8520984https://github.com/python/typing/pull/296/commits/85209842f046639a09d61cb8b73b055ea3606bb1
https://github.com/ilevkivskyi
Add replacement algorithm to Generichttps://github.com/python/typing/pull/296/commits/ff35a80b35b44348234801899e70b14444fc6257
ff35a80https://github.com/python/typing/pull/296/commits/ff35a80b35b44348234801899e70b14444fc6257
https://github.com/ilevkivskyi
Add _subs_repr to other types; fix minor bugshttps://github.com/python/typing/pull/296/commits/232f80ad41efbbaba9ccb546d85ec58a83beab1a
232f80ahttps://github.com/python/typing/pull/296/commits/232f80ad41efbbaba9ccb546d85ec58a83beab1a
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 16, 2016https://github.com/python/typing/pull/296#issuecomment-254041580
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 16, 2016https://github.com/python/typing/pull/296#issuecomment-254048289
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 16, 2016https://github.com/python/typing/pull/296#issuecomment-254063482
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/ilevkivskyi
ilevkivskyihttps://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
gvanrossumhttps://github.com/gvanrossum
8988cd9https://github.com/python/typing/commit/8988cd9c1c317104852d91fb09a06fb491b91545
Oct 20, 2016https://github.com/python/typing/pull/296#event-831336857
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 20, 2016https://github.com/python/typing/pull/296#issuecomment-255247867
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.co/hiddenchars
https://github.com/python/typing/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/python/typing/pull/296
Please reload this pagehttps://github.com/python/typing/pull/296
https://github.com/ilevkivskyi
https://github.com/gvanrossum
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.