René's URL Explorer Experiment


Title: Support recursive named tuples by ilevkivskyi · Pull Request #13371 · python/mypy · GitHub

Open Graph Title: Support recursive named tuples by ilevkivskyi · Pull Request #13371 · python/mypy

X Title: Support recursive named tuples by ilevkivskyi · Pull Request #13371 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: This is a continuation of #13297 The main change here is that although named tuples are still stored in symbol tables as TypeInfos, when type analyzer sees them, it creates a TypeAliasType targetin...

X Description: This is a continuation of #13297 The main change here is that although named tuples are still stored in symbol tables as TypeInfos, when type analyzer sees them, it creates a TypeAliasType targetin...

Opengraph URL: https://github.com/python/mypy/pull/13371

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:0f796b15-54e4-826f-d35d-e6d961e1ac83
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD300:33DDEF:1E6115A:29836B1:6B001EE2
html-safe-nonced8ae90e8b9260ee6121cf3e1dc41be26ad8d887236c0b3cbb092c58ddf6412b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzAwOjMzRERFRjoxRTYxMTVBOjI5ODM2QjE6NkIwMDFFRTIiLCJ2aXNpdG9yX2lkIjoiODkwMTUwNjU5MjQ4NzI1MTY4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac51f635e5876cc8445a89181c3489337ac364c433e486e1fd5252d2522b95a375
hovercard-subject-tagpull_request:1021886751
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/mypy/13371/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/459d99f18202cae17c393b2d710db1b8f7a3d795218ad3c101851f0d9a8feaf6/python/mypy/pull/13371
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/459d99f18202cae17c393b2d710db1b8f7a3d795218ad3c101851f0d9a8feaf6/python/mypy/pull/13371
og:image:altThis is a continuation of #13297 The main change here is that although named tuples are still stored in symbol tables as TypeInfos, when type analyzer sees them, it creates a TypeAliasType targetin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/13371#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13371
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%2Fmypy%2Fpull%2F13371
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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/13371
Reloadhttps://github.com/python/mypy/pull/13371
Reloadhttps://github.com/python/mypy/pull/13371
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:recursive-named-tuples-2https://github.com/ilevkivskyi/mypy/tree/recursive-named-tuples-2
Conversationhttps://github.com/python/mypy/pull/13371
Commits12 (12)https://github.com/python/mypy/pull/13371/commits
Checkshttps://github.com/python/mypy/pull/13371/checks
Files changedhttps://github.com/python/mypy/pull/13371/files
Support recursive named tupleshttps://github.com/python/mypy/pull/13371#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:recursive-named-tuples-2https://github.com/ilevkivskyi/mypy/tree/recursive-named-tuples-2
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022https://github.com/python/mypy/pull/13371#issue-1333682358
#13297https://github.com/python/mypy/pull/13297
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/13371
ilevkivskyihttps://github.com/ilevkivskyi
August 9, 2022 12:08https://github.com/python/mypy/pull/13371#commits-pushed-f0163c4
https://github.com/ilevkivskyi
Try another approachhttps://github.com/python/mypy/pull/13371/commits/f0163c433c546d4e406539e8c9889c5a6917de2f
f0163c4https://github.com/python/mypy/pull/13371/commits/f0163c433c546d4e406539e8c9889c5a6917de2f
https://github.com/ilevkivskyi
Fix/simplify thingshttps://github.com/python/mypy/pull/13371/commits/dde4b92038f410d244bb55f58da5ac5276f92a52
dde4b92https://github.com/python/mypy/pull/13371/commits/dde4b92038f410d244bb55f58da5ac5276f92a52
https://github.com/ilevkivskyi
Add more tests; fix fine-grainedhttps://github.com/python/mypy/pull/13371/commits/50279bacacde4bda41733422d981b1ee9c7f7f40
50279bahttps://github.com/python/mypy/pull/13371/commits/50279bacacde4bda41733422d981b1ee9c7f7f40
https://github.com/ilevkivskyi
Fix regular tuple bases and newtypeshttps://github.com/python/mypy/pull/13371/commits/68263eeb68feb6e9e120cf3d66ba93e774325006
68263eehttps://github.com/python/mypy/pull/13371/commits/68263eeb68feb6e9e120cf3d66ba93e774325006
https://github.com/ilevkivskyi
Fix newtype testshttps://github.com/python/mypy/pull/13371/commits/786655b3cae74f8081382394b3403e702efc5152
786655bhttps://github.com/python/mypy/pull/13371/commits/786655b3cae74f8081382394b3403e702efc5152
https://github.com/ilevkivskyi
Cleanup; add more testshttps://github.com/python/mypy/pull/13371/commits/952692bc7b89e58bbcb70e9cd59e1ab4dbe17667
952692bhttps://github.com/python/mypy/pull/13371/commits/952692bc7b89e58bbcb70e9cd59e1ab4dbe17667
https://github.com/ilevkivskyi
More cleanup and testshttps://github.com/python/mypy/pull/13371/commits/3aeb47075e029772b227229f1659fc96542534f1
3aeb470https://github.com/python/mypy/pull/13371/commits/3aeb47075e029772b227229f1659fc96542534f1
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
hauntsaninjahttps://github.com/hauntsaninja
sobolevnhttps://github.com/sobolevn
August 9, 2022 19:16https://github.com/python/mypy/pull/13371#event-7158235478
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022 https://github.com/python/mypy/pull/13371#ref-pullrequest-1323540559
Enable recursive type aliases behind a flag #13297 https://github.com/python/mypy/pull/13297
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022https://github.com/python/mypy/pull/13371#issuecomment-1209783717
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
Fix mypychttps://github.com/python/mypy/pull/13371/commits/404d8d10851e7f78a33af4deb43b3f4c2852df00
404d8d1https://github.com/python/mypy/pull/13371/commits/404d8d10851e7f78a33af4deb43b3f4c2852df00
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13371
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13371
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022https://github.com/python/mypy/pull/13371#issuecomment-1209819283
#13352https://github.com/python/mypy/pull/13352
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 9, 2022https://github.com/python/mypy/pull/13371#issuecomment-1209821121
#13029https://github.com/python/mypy/pull/13029
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022https://github.com/python/mypy/pull/13371#issuecomment-1209823982
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
Merge remote-tracking branch 'upstream/master' into recursive-named-t…https://github.com/python/mypy/pull/13371/commits/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3
27b8e35https://github.com/python/mypy/pull/13371/commits/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13371
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022https://github.com/python/mypy/pull/13371#issuecomment-1209939128
#13352https://github.com/python/mypy/pull/13352
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 9, 2022 https://github.com/python/mypy/pull/13371#ref-pullrequest-1333900488
Support recursive TypedDicts #13373 https://github.com/python/mypy/pull/13373
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 10, 2022 https://github.com/python/mypy/pull/13371#pullrequestreview-1067549539
View reviewed changes https://github.com/python/mypy/pull/13371/files/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/13371#pullrequestreview-1067549539
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
Add and fix more incremental testshttps://github.com/python/mypy/pull/13371/commits/dd3d27bbddc17ea7b8f090be564a70651e2ce776
dd3d27bhttps://github.com/python/mypy/pull/13371/commits/dd3d27bbddc17ea7b8f090be564a70651e2ce776
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Aug 10, 2022 https://github.com/python/mypy/pull/13371#pullrequestreview-1068226025
View reviewed changes https://github.com/python/mypy/pull/13371/files/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/13371#pullrequestreview-1068226025
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13371
test-data/unit/check-recursive-types.testhttps://github.com/python/mypy/pull/13371/files/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3#diff-5316e90587279323260896d34a9647ea4fb0106290ca5c6d359a6c5e3270ba22
JukkaLhttps://github.com/JukkaL
Aug 10, 2022https://github.com/python/mypy/pull/13371#discussion_r942414036
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13371
ilevkivskyihttps://github.com/ilevkivskyi
Aug 10, 2022https://github.com/python/mypy/pull/13371#discussion_r942553587
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13371
test-data/unit/fine-grained.testhttps://github.com/python/mypy/pull/13371/files/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3#diff-e165eb7aed9dca0a5ebd93985c8cd263a6462d36ac185f9461348dc5a1396d76
JukkaLhttps://github.com/JukkaL
Aug 10, 2022https://github.com/python/mypy/pull/13371#discussion_r942440602
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
A more principled fix; More CRhttps://github.com/python/mypy/pull/13371/commits/51dd8ad74a425fb44d3dad255ff8094e272cc8ca
51dd8adhttps://github.com/python/mypy/pull/13371/commits/51dd8ad74a425fb44d3dad255ff8094e272cc8ca
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 10, 2022https://github.com/python/mypy/pull/13371#issuecomment-1210781621
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
Fixhttps://github.com/python/mypy/pull/13371/commits/e91f45214d8033fdd2bf39080677bd0195c097df
e91f452https://github.com/python/mypy/pull/13371/commits/e91f45214d8033fdd2bf39080677bd0195c097df
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13371
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 10, 2022https://github.com/python/mypy/pull/13371#issuecomment-1210888939
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
03638ddhttps://github.com/python/mypy/commit/03638dd670373db0b8f00cc3bcec256d09729d06
Aug 10, 2022https://github.com/python/mypy/pull/13371#event-7165066285
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
August 10, 2022 15:46https://github.com/python/mypy/pull/13371#event-7165066788
ilevkivskyihttps://github.com/ilevkivskyi
Aug 11, 2022 https://github.com/python/mypy/pull/13371#ref-commit-cba07d7
https://github.com/ilevkivskyi
Support recursive TypedDicts (https://github.com/python/mypy/commit/cba07d7c375edc5e66c43b0068f5070b99f6f899
#13373https://github.com/python/mypy/pull/13373
)https://github.com/python/mypy/commit/cba07d7c375edc5e66c43b0068f5070b99f6f899
cba07d7https://github.com/python/mypy/commit/cba07d7c375edc5e66c43b0068f5070b99f6f899
#13297https://github.com/python/mypy/pull/13297
#13371https://github.com/python/mypy/pull/13371
https://github.com/matthewhughes934
matthewhughes934https://github.com/matthewhughes934
Aug 23, 2022 https://github.com/python/mypy/pull/13371#ref-pullrequest-1333690592
Add type inference for dict.keys membership #13372 https://github.com/python/mypy/pull/13372
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Sep 12, 2022 https://github.com/python/mypy/pull/13371#ref-issue-787161989
Crash using NamedTuple containing generic Callable #9914 https://github.com/python/mypy/issues/9914
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 18, 2023 https://github.com/python/mypy/pull/13371#ref-pullrequest-1762501027
Delete a ProperType join hack #15461 https://github.com/python/mypy/pull/15461
ilevkivskyihttps://github.com/ilevkivskyi
Jun 19, 2023 https://github.com/python/mypy/pull/13371#ref-commit-32d14ed
https://github.com/ilevkivskyi
Delete a ProperType join hack (https://github.com/python/mypy/commit/32d14ed9928f04bdbd70b6381c5706024dfb4e70
#15461https://github.com/python/mypy/pull/15461
)https://github.com/python/mypy/commit/32d14ed9928f04bdbd70b6381c5706024dfb4e70
32d14edhttps://github.com/python/mypy/commit/32d14ed9928f04bdbd70b6381c5706024dfb4e70
#13371https://github.com/python/mypy/pull/13371
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F13371
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/13371/files/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/13371/files/27b8e35c873805a1e6efe7acfca0bad7eaa9c2e3
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
Please reload this pagehttps://github.com/python/mypy/pull/13371
Please reload this pagehttps://github.com/python/mypy/pull/13371
https://github.com/ilevkivskyi
https://github.com/sobolevn
https://github.com/JukkaL
https://github.com/hauntsaninja
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.