René's URL Explorer Experiment


Title: Allow objects matching `SupportsKeysAndGetItem` to be unpacked by bryanforbes · Pull Request #14990 · python/mypy · GitHub

Open Graph Title: Allow objects matching `SupportsKeysAndGetItem` to be unpacked by bryanforbes · Pull Request #14990 · python/mypy

X Title: Allow objects matching `SupportsKeysAndGetItem` to be unpacked by bryanforbes · Pull Request #14990 · python/mypy

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

Open Graph Description: Fixes #14986 This PR allows any object matching _typeshed.SupportsKeysAndGetItem[str, Any] to be unpacked with **.

X Description: Fixes #14986 This PR allows any object matching _typeshed.SupportsKeysAndGetItem[str, Any] to be unpacked with **.

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

X: @github

direct link

Domain: redirect.github.com

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:991f6e64-f70e-17d5-37cb-3ee0d94f4762
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD352:118805:2998B20:3569873:6992A577
html-safe-noncedd680da8b4e9fdaef29535eea697e52ce623ba27e7a57199755e724b83ab82b0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzUyOjExODgwNToyOTk4QjIwOjM1Njk4NzM6Njk5MkE1NzciLCJ2aXNpdG9yX2lkIjoiMzk4MjYzNjE4MDc4OTQzNzgxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaeb5ded97d848789edbb1c961050447160da2ae96fb39730670ac8dec19af3c1
hovercard-subject-tagpull_request:1298444554
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/14990/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/06563a30784e2ac0920d07e867a68ce940e5e999741bc1fa5d5ecebdc67b4cfb/python/mypy/pull/14990
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/06563a30784e2ac0920d07e867a68ce940e5e999741bc1fa5d5ecebdc67b4cfb/python/mypy/pull/14990
og:image:altFixes #14986 This PR allows any object matching _typeshed.SupportsKeysAndGetItem[str, Any] to be unpacked with **.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebryanforbes
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/python/mypy/issues/14990#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
Sign up https://redirect.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://redirect.github.com/python/mypy/issues/14990
Reloadhttps://redirect.github.com/python/mypy/issues/14990
Reloadhttps://redirect.github.com/python/mypy/issues/14990
python https://redirect.github.com/python
mypyhttps://redirect.github.com/python/mypy
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
Notifications https://redirect.github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.1k https://redirect.github.com/login?return_to=%2Fpython%2Fmypy
Star 20.2k https://redirect.github.com/login?return_to=%2Fpython%2Fmypy
Code https://redirect.github.com/python/mypy
Issues 2.7k https://redirect.github.com/python/mypy/issues
Pull requests 429 https://redirect.github.com/python/mypy/pulls
Actions https://redirect.github.com/python/mypy/actions
Projects 0 https://redirect.github.com/python/mypy/projects
Wiki https://redirect.github.com/python/mypy/wiki
Security 0 https://redirect.github.com/python/mypy/security
Insights https://redirect.github.com/python/mypy/pulse
Code https://redirect.github.com/python/mypy
Issues https://redirect.github.com/python/mypy/issues
Pull requests https://redirect.github.com/python/mypy/pulls
Actions https://redirect.github.com/python/mypy/actions
Projects https://redirect.github.com/python/mypy/projects
Wiki https://redirect.github.com/python/mypy/wiki
Security https://redirect.github.com/python/mypy/security
Insights https://redirect.github.com/python/mypy/pulse
hauntsaninjahttps://redirect.github.com/hauntsaninja
python:masterhttps://redirect.github.com/python/mypy/tree/master
bryanforbes:bugfix/allow-unpacking-supportskeysandgetitemhttps://redirect.github.com/bryanforbes/mypy/tree/bugfix/allow-unpacking-supportskeysandgetitem
Conversationhttps://redirect.github.com/python/mypy/pull/14990
Commits6 (6)https://redirect.github.com/python/mypy/pull/14990/commits
Checkshttps://redirect.github.com/python/mypy/pull/14990/checks
Files changedhttps://redirect.github.com/python/mypy/pull/14990/files
Allow objects matching SupportsKeysAndGetItem to be unpackedhttps://redirect.github.com/python/mypy/issues/14990#top
hauntsaninjahttps://redirect.github.com/hauntsaninja
python:masterhttps://redirect.github.com/python/mypy/tree/master
bryanforbes:bugfix/allow-unpacking-supportskeysandgetitemhttps://redirect.github.com/bryanforbes/mypy/tree/bugfix/allow-unpacking-supportskeysandgetitem
https://redirect.github.com/bryanforbes
bryanforbeshttps://redirect.github.com/bryanforbes
Mar 31, 2023https://redirect.github.com/python/mypy/issues/14990#issue-1650150429
#14986https://github.com/python/mypy/issues/14986
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
https://redirect.github.com/bryanforbes
Allow objects matching SupportsKeysAndGetItem to be unpackedhttps://redirect.github.com/python/mypy/pull/14990/commits/c2fe0aa4e9a35759af7a8d17611753d2e85d1539
c2fe0aahttps://redirect.github.com/python/mypy/pull/14990/commits/c2fe0aa4e9a35759af7a8d17611753d2e85d1539
https://redirect.github.com/apps/github-actions
Sign in to viewhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
https://redirect.github.com/JelleZijlstra
JelleZijlstrahttps://redirect.github.com/JelleZijlstra
Mar 31, 2023 https://redirect.github.com/python/mypy/issues/14990#pullrequestreview-1367757302
View reviewed changes https://redirect.github.com/python/mypy/pull/14990/files/c2fe0aa4e9a35759af7a8d17611753d2e85d1539
mypy/test/data.pyhttps://redirect.github.com/python/mypy/pull/14990/files/c2fe0aa4e9a35759af7a8d17611753d2e85d1539#diff-37a6d75aa7e2778959e27eff15466ac487c02c5026524afc6a62476315199051
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
https://redirect.github.com/bryanforbes
Fix some failing testshttps://redirect.github.com/python/mypy/pull/14990/commits/0f4354949e7298acc1199d00ce49b406fa3aad99
0f43549https://redirect.github.com/python/mypy/pull/14990/commits/0f4354949e7298acc1199d00ce49b406fa3aad99
https://redirect.github.com/apps/github-actions
Sign in to viewhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
https://redirect.github.com/bryanforbes
Fix more failing testshttps://redirect.github.com/python/mypy/pull/14990/commits/197916b1d357007c03a95c51df64feb582f5526f
197916bhttps://redirect.github.com/python/mypy/pull/14990/commits/197916b1d357007c03a95c51df64feb582f5526f
https://redirect.github.com/apps/github-actions
Sign in to viewhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
https://redirect.github.com/bryanforbes
bryanforbeshttps://redirect.github.com/bryanforbes
Apr 4, 2023https://redirect.github.com/python/mypy/issues/14990#issuecomment-1496722694
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/bryanforbes/mypy/blob/197916b1d357007c03a95c51df64feb582f5526f/test-data/unit/fine-grained-modules.test#L1280-L1309https://github.com/bryanforbes/mypy/blob/197916b1d357007c03a95c51df64feb582f5526f/test-data/unit/fine-grained-modules.test#L1280-L1309
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
bryanforbeshttps://redirect.github.com/bryanforbes
April 4, 2023 19:43https://redirect.github.com/python/mypy/issues/14990#commits-pushed-5a88f04
https://redirect.github.com/bryanforbes
Add more unpacking expression typeshttps://redirect.github.com/python/mypy/pull/14990/commits/5a88f04410cad581f4466ea399601d3e971f8b68
5a88f04https://redirect.github.com/python/mypy/pull/14990/commits/5a88f04410cad581f4466ea399601d3e971f8b68
https://redirect.github.com/bryanforbes
Format checkexprhttps://redirect.github.com/python/mypy/pull/14990/commits/57803e884fab5e873e687c3365f7da7e7915741a
57803e8https://redirect.github.com/python/mypy/pull/14990/commits/57803e884fab5e873e687c3365f7da7e7915741a
https://redirect.github.com/apps/github-actions
Sign in to viewhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
https://redirect.github.com/bryanforbes
Fix fine grained cache testhttps://redirect.github.com/python/mypy/pull/14990/commits/f306debce7bc2153c663cc34b5609ee65e842a5f
f306debhttps://redirect.github.com/python/mypy/pull/14990/commits/f306debce7bc2153c663cc34b5609ee65e842a5f
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Apr 6, 2023https://redirect.github.com/python/mypy/issues/14990#issuecomment-1499670723
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
https://redirect.github.com/bryanforbes
bryanforbeshttps://redirect.github.com/bryanforbes
April 6, 2023 22:25https://redirect.github.com/python/mypy/issues/14990#event-8950178028
https://redirect.github.com/hauntsaninja
hauntsaninjahttps://redirect.github.com/hauntsaninja
upnext https://redirect.github.com/python/mypy/issues?q=state%3Aopen%20label%3Aupnext
Apr 7, 2023https://redirect.github.com/python/mypy/issues/14990#event-8952241171
https://redirect.github.com/hauntsaninja
hauntsaninjahttps://redirect.github.com/hauntsaninja
Apr 15, 2023 https://redirect.github.com/python/mypy/issues/14990#pullrequestreview-1386614162
View reviewed changes https://redirect.github.com/python/mypy/pull/14990/files/f306debce7bc2153c663cc34b5609ee65e842a5f
hauntsaninjahttps://redirect.github.com/hauntsaninja
https://redirect.github.com/python/mypy/issues/14990#pullrequestreview-1386614162
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
https://redirect.github.com/hauntsaninja
hauntsaninjahttps://redirect.github.com/hauntsaninja
1449366https://redirect.github.com/python/mypy/commit/14493660eadf35553a3cecb746704b58a401c68d
Apr 15, 2023https://github.com/python/mypy/pull/14990#event-9015154542
https://redirect.github.com/bryanforbes
bryanforbeshttps://redirect.github.com/bryanforbes
April 21, 2023 17:28https://redirect.github.com/python/mypy/issues/14990#event-9069733393
https://redirect.github.com/hauntsaninja
hauntsaninjahttps://redirect.github.com/hauntsaninja
Apr 25, 2023 https://redirect.github.com/python/mypy/issues/14990#ref-issue-1683942525
Support unpacking non dictionary types mypyc/mypyc#994 https://redirect.github.com/mypyc/mypyc/issues/994
asyncpg.Record is not a mapping bryanforbes/asyncpg-stubs#122 https://redirect.github.com/bryanforbes/asyncpg-stubs/issues/122
Base class for the Record class bryanforbes/asyncpg-stubs#123 https://redirect.github.com/bryanforbes/asyncpg-stubs/pull/123
https://redirect.github.com/eabruzzese
eabruzzesehttps://redirect.github.com/eabruzzese
May 15, 2023 https://redirect.github.com/python/mypy/issues/14990#ref-issue-1710545974
Mypy 1.3.0 crashes when using dictionary unpacking #15246 https://redirect.github.com/python/mypy/issues/15246
https://github.co/hiddenchars
https://redirect.github.com/python/mypy/issues/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14990
https://redirect.github.com/JelleZijlstra
JelleZijlstra https://redirect.github.com/JelleZijlstra
https://redirect.github.com/python/mypy/pull/14990/files/c2fe0aa4e9a35759af7a8d17611753d2e85d1539
https://redirect.github.com/hauntsaninja
hauntsaninja https://redirect.github.com/hauntsaninja
https://redirect.github.com/python/mypy/pull/14990/files/f306debce7bc2153c663cc34b5609ee65e842a5f
upnext https://redirect.github.com/python/mypy/issues?q=state%3Aopen%20label%3Aupnext
Objects matching SupportsKeysAndGetItem[str, Any] cannot be used after ** https://github.com/python/mypy/issues/14986
Please reload this pagehttps://redirect.github.com/python/mypy/issues/14990
https://redirect.github.com/bryanforbes
https://redirect.github.com/JelleZijlstra
https://redirect.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.