René's URL Explorer Experiment


Title: Enable generic TypedDicts by ilevkivskyi · Pull Request #13389 · python/mypy · GitHub

Open Graph Title: Enable generic TypedDicts by ilevkivskyi · Pull Request #13389 · python/mypy

X Title: Enable generic TypedDicts by ilevkivskyi · Pull Request #13389 · python/mypy

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

Open Graph Description: Fixes #3863 This builds on top of some infra I added for recursive types (Ref #13297). Implementation is quite straightforward. The only non-trivial thing is that when extending/merging TypedDicts,...

X Description: Fixes #3863 This builds on top of some infra I added for recursive types (Ref #13297). Implementation is quite straightforward. The only non-trivial thing is that when extending/merging TypedDicts,...

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

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:c9cfacda-8453-1bb6-5367-4ef08f6b7d9f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC650:157BA1:139F29:1AA7A5:6B001EEF
html-safe-nonce87180aa954f81b795b6c829344fed2b6fa0f23f0dc71b69b3590b25d4362e110
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjUwOjE1N0JBMToxMzlGMjk6MUFBN0E1OjZCMDAxRUVGIiwidmlzaXRvcl9pZCI6IjU3MTY0MjQ2ODMzMjczMzIwNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacac35571845f975b4ec72d1665aa5760e08599c6f92bce485e0435fdda14048c6
hovercard-subject-tagpull_request:1024372633
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/13389/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/af84fd31454a3f10d4b6b374c097f5bd6d7086fdd7d19f0a855f417384214a34/python/mypy/pull/13389
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/af84fd31454a3f10d4b6b374c097f5bd6d7086fdd7d19f0a855f417384214a34/python/mypy/pull/13389
og:image:altFixes #3863 This builds on top of some infra I added for recursive types (Ref #13297). Implementation is quite straightforward. The only non-trivial thing is that when extending/merging TypedDicts,...
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/13389#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
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%2F13389
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/13389
Reloadhttps://github.com/python/mypy/pull/13389
Reloadhttps://github.com/python/mypy/pull/13389
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:generic-typeddicthttps://github.com/ilevkivskyi/mypy/tree/generic-typeddict
Conversationhttps://github.com/python/mypy/pull/13389
Commits17 (17)https://github.com/python/mypy/pull/13389/commits
Checkshttps://github.com/python/mypy/pull/13389/checks
Files changedhttps://github.com/python/mypy/pull/13389/files
Enable generic TypedDictshttps://github.com/python/mypy/pull/13389#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:generic-typeddicthttps://github.com/ilevkivskyi/mypy/tree/generic-typeddict
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 11, 2022https://github.com/python/mypy/pull/13389#issue-1336547949
#3863https://github.com/python/mypy/issues/3863
#13297https://github.com/python/mypy/pull/13297
Please reload this pagehttps://github.com/python/mypy/pull/13389
ilevkivskyihttps://github.com/ilevkivskyi
August 11, 2022 14:50https://github.com/python/mypy/pull/13389#commits-pushed-7d3220e
https://github.com/ilevkivskyi
Basic support for generic TypedDictshttps://github.com/python/mypy/pull/13389/commits/7d3220eda34113d03a12d03b3c29b05e0a94201e
7d3220ehttps://github.com/python/mypy/pull/13389/commits/7d3220eda34113d03a12d03b3c29b05e0a94201e
https://github.com/ilevkivskyi
Fix inference; more tests an fixeshttps://github.com/python/mypy/pull/13389/commits/270e82dd2dbe15ec0c0717b5da326f2da66e66a2
270e82dhttps://github.com/python/mypy/pull/13389/commits/270e82dd2dbe15ec0c0717b5da326f2da66e66a2
https://github.com/ilevkivskyi
Add support for extending generic TypedDictshttps://github.com/python/mypy/pull/13389/commits/68744d591b0fc9be025016943c63d3e595e5cf1e
68744d5https://github.com/python/mypy/pull/13389/commits/68744d591b0fc9be025016943c63d3e595e5cf1e
https://github.com/ilevkivskyi
Add test for errorshttps://github.com/python/mypy/pull/13389/commits/8801b878619a27d390689fb8734cf31f2079da2d
8801b87https://github.com/python/mypy/pull/13389/commits/8801b878619a27d390689fb8734cf31f2079da2d
https://github.com/ilevkivskyi
Minor tweakshttps://github.com/python/mypy/pull/13389/commits/48af44ded97ec35bed2e7201c58258a983527e99
48af44dhttps://github.com/python/mypy/pull/13389/commits/48af44ded97ec35bed2e7201c58258a983527e99
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
JukkaLhttps://github.com/JukkaL
hauntsaninjahttps://github.com/hauntsaninja
August 11, 2022 22:10https://github.com/python/mypy/pull/13389#event-7175282313
https://github.com/ilevkivskyi
Fix self-checkhttps://github.com/python/mypy/pull/13389/commits/d64c62aee002952e84008466007b7265e74f700e
d64c62ahttps://github.com/python/mypy/pull/13389/commits/d64c62aee002952e84008466007b7265e74f700e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 11, 2022https://github.com/python/mypy/pull/13389#issuecomment-1212572127
Please reload this pagehttps://github.com/python/mypy/pull/13389
https://github.com/ilevkivskyi
Fix class member accesshttps://github.com/python/mypy/pull/13389/commits/9889c2830349f9eda88fc42abf8792207793d70b
9889c28https://github.com/python/mypy/pull/13389/commits/9889c2830349f9eda88fc42abf8792207793d70b
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
ilevkivskyihttps://github.com/ilevkivskyi
August 12, 2022 01:45https://github.com/python/mypy/pull/13389#commits-pushed-c3b76c8
https://github.com/ilevkivskyi
Handle couple more corner caseshttps://github.com/python/mypy/pull/13389/commits/c3b76c8d4f6eb1ac73da8320a73d239c34df84ed
c3b76c8https://github.com/python/mypy/pull/13389/commits/c3b76c8d4f6eb1ac73da8320a73d239c34df84ed
https://github.com/ilevkivskyi
Oopshttps://github.com/python/mypy/pull/13389/commits/c3b85a19f616a0afebe9988e0366c48077a11130
c3b85a1https://github.com/python/mypy/pull/13389/commits/c3b85a19f616a0afebe9988e0366c48077a11130
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/ilevkivskyi
Make --disallow-any-generics more consistent for type aliaseshttps://github.com/python/mypy/pull/13389/commits/5c0e3ee650d653eddd91f035b6b66d6024b8b35a
5c0e3eehttps://github.com/python/mypy/pull/13389/commits/5c0e3ee650d653eddd91f035b6b66d6024b8b35a
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 12, 2022https://github.com/python/mypy/pull/13389#issuecomment-1212846099
Please reload this pagehttps://github.com/python/mypy/pull/13389
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 13, 2022https://github.com/python/mypy/pull/13389#issuecomment-1214133700
Please reload this pagehttps://github.com/python/mypy/pull/13389
ilevkivskyihttps://github.com/ilevkivskyi
August 13, 2022 11:51https://github.com/python/mypy/pull/13389#commits-pushed-5fd8c44
https://github.com/ilevkivskyi
Be more principled with fallback args (although we don't use the for …https://github.com/python/mypy/pull/13389/commits/5fd8c44fd81d28279c71837ab13f96c75ea82419
5fd8c44https://github.com/python/mypy/pull/13389/commits/5fd8c44fd81d28279c71837ab13f96c75ea82419
https://github.com/ilevkivskyi
Add incremental testshttps://github.com/python/mypy/pull/13389/commits/a8f667d7a9e881417a7cbb8a9d3f06fc09b3dd9b
a8f667dhttps://github.com/python/mypy/pull/13389/commits/a8f667d7a9e881417a7cbb8a9d3f06fc09b3dd9b
https://github.com/ilevkivskyi
Add support for call syntaxhttps://github.com/python/mypy/pull/13389/commits/cf0ba973db92f99f610f70cac6447cc9fb2c1a89
cf0ba97https://github.com/python/mypy/pull/13389/commits/cf0ba973db92f99f610f70cac6447cc9fb2c1a89
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/ilevkivskyi
Cleanup testshttps://github.com/python/mypy/pull/13389/commits/e3c1ecfdc2823f67e5a2c4ae7773ffb0a2da932d
e3c1ecfhttps://github.com/python/mypy/pull/13389/commits/e3c1ecfdc2823f67e5a2c4ae7773ffb0a2da932d
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 13, 2022https://github.com/python/mypy/pull/13389#issuecomment-1214226654
Please reload this pagehttps://github.com/python/mypy/pull/13389
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 14, 2022 https://github.com/python/mypy/pull/13389#ref-issue-1336219147
Mypy 0.980 Release Planning #13385 https://github.com/python/mypy/issues/13385
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Aug 15, 2022 https://github.com/python/mypy/pull/13389#pullrequestreview-1072153959
View reviewed changes https://github.com/python/mypy/pull/13389/files/e3c1ecfdc2823f67e5a2c4ae7773ffb0a2da932d
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/mypy/pull/13389#pullrequestreview-1072153959
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13389
test-data/unit/check-typeddict.testhttps://github.com/python/mypy/pull/13389/files/e3c1ecfdc2823f67e5a2c4ae7773ffb0a2da932d#diff-1db589b0c06e93bf0f492fb32a043ad16c054379c19cd39da57960e98c4b8be0
JelleZijlstrahttps://github.com/JelleZijlstra
Aug 15, 2022https://github.com/python/mypy/pull/13389#discussion_r945368187
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13389
https://github.com/chrisburr
chrisburrhttps://github.com/chrisburr
Aug 15, 2022 https://github.com/python/mypy/pull/13389#ref-pullrequest-1335860248
[v8.0] Annotate ReturnValues.py DIRACGrid/DIRAC#6309 https://github.com/DIRACGrid/DIRAC/pull/6309
ilevkivskyihttps://github.com/ilevkivskyi
August 15, 2022 09:54https://github.com/python/mypy/pull/13389#commits-pushed-1fbc420
https://github.com/ilevkivskyi
Update a test (CR)https://github.com/python/mypy/pull/13389/commits/1fbc42030ee102d8162659646106069f7dcdbe8d
1fbc420https://github.com/python/mypy/pull/13389/commits/1fbc42030ee102d8162659646106069f7dcdbe8d
https://github.com/ilevkivskyi
Merge remote-tracking branch 'upstream/master' into generic-typeddicthttps://github.com/python/mypy/pull/13389/commits/fbf7642d5f16573a34650d31549019b6510a3819
fbf7642https://github.com/python/mypy/pull/13389/commits/fbf7642d5f16573a34650d31549019b6510a3819
https://github.com/ilevkivskyi
Merge remote-tracking branch 'upstream/master' into generic-typeddicthttps://github.com/python/mypy/pull/13389/commits/8834fc260c61905a86f274e2fc0462346edd8905
8834fc2https://github.com/python/mypy/pull/13389/commits/8834fc260c61905a86f274e2fc0462346edd8905
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13389
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 15, 2022https://github.com/python/mypy/pull/13389#issuecomment-1214844123
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/13389
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
dc5f891https://github.com/python/mypy/commit/dc5f89142cb36debc0e804a472f49f51448d76f3
Aug 15, 2022https://github.com/python/mypy/pull/13389#event-7187625284
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
August 15, 2022 10:20https://github.com/python/mypy/pull/13389#event-7187625566
https://github.com/matthewhughes934
matthewhughes934https://github.com/matthewhughes934
Aug 23, 2022 https://github.com/python/mypy/pull/13389#ref-pullrequest-1333690592
Add type inference for dict.keys membership #13372 https://github.com/python/mypy/pull/13372
https://github.com/eflorico
efloricohttps://github.com/eflorico
Oct 18, 2022 https://github.com/python/mypy/pull/13389#ref-pullrequest-1331097144
Allow unpacking of TypedDict into TypedDict #13353 https://github.com/python/mypy/pull/13353
fmigneaulthttps://github.com/fmigneault
Oct 28, 2022 https://github.com/python/mypy/pull/13389#ref-commit-824d112
https://github.com/fmigneault
pin mypy==0.981 to allow Generic+TypedDict combination (seehttps://github.com/fmigneault/schema_salad/commit/824d112028988990ad589b6344ac767e964db0e4
python/my…https://github.com/python/mypy/pull/13389
824d112https://github.com/fmigneault/schema_salad/commit/824d112028988990ad589b6344ac767e964db0e4
…py#13389https://github.com/python/mypy/pull/13389
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
May 1, 2023 https://github.com/python/mypy/pull/13389#ref-issue-358673747
TypedDict: Argument 1 to "f" has incompatible type "test.C"; expected "C" #5593 https://github.com/python/mypy/issues/5593
https://github.com/MtkN1
MtkN1https://github.com/MtkN1
Sep 10, 2024 https://github.com/python/mypy/pull/13389#ref-issue-2515465909
Type arguments are not allowed in TypedDict using functional syntax microsoft/pyright#8942 https://github.com/microsoft/pyright/issues/8942
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%2F13389
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/mypy/pull/13389/files/e3c1ecfdc2823f67e5a2c4ae7773ffb0a2da932d
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/13389
Support for generic TypedDict https://github.com/python/mypy/issues/3863
Please reload this pagehttps://github.com/python/mypy/pull/13389
https://github.com/ilevkivskyi
https://github.com/JelleZijlstra
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.