René's URL Explorer Experiment


Title: Fix MutableMapping.update to require string keys by ndmitchell · Pull Request #14099 · python/typeshed · GitHub

Open Graph Title: Fix MutableMapping.update to require string keys by ndmitchell · Pull Request #14099 · python/typeshed

X Title: Fix MutableMapping.update to require string keys by ndmitchell · Pull Request #14099 · python/typeshed

Description: Collection of library stubs for Python, with static types - Fix MutableMapping.update to require string keys by ndmitchell · Pull Request #14099 · python/typeshed

Open Graph Description: Currently with most type checkers you can do: d: dict[int, int] = {} d.update(a=2) The reason for that is that update merely requires MutableMapping[_KT, _VT], whereas as soon as you are passing kw...

X Description: Currently with most type checkers you can do: d: dict[int, int] = {} d.update(a=2) The reason for that is that update merely requires MutableMapping[_KT, _VT], whereas as soon as you are passing kw...

Opengraph URL: https://github.com/python/typeshed/pull/14099

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:0c1471f7-76bf-94ed-f83d-7421f6b9a642
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7DE:B7CF9:39F331:4DED01:6B0028DF
html-safe-noncea43d53f7369c389af89b8d7ee2c54f43bc991c2a0ddd244aa24c72c4130f6479
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0RFOkI3Q0Y5OjM5RjMzMTo0REVEMDE6NkIwMDI4REYiLCJ2aXNpdG9yX2lkIjoiODM2ODgwNzM5NTEwNjc2MDkyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb82a60ef2229ec7007d8633f092dbe7c4cc4920c9422a73e9fd78ef6e7ea317f
hovercard-subject-tagpull_request:2529094331
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/typeshed/14099/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b372fe9de04cc71e3a9c9f86eb99ea88724efa648537b9f4589f385dc08f753f/python/typeshed/pull/14099
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b372fe9de04cc71e3a9c9f86eb99ea88724efa648537b9f4589f385dc08f753f/python/typeshed/pull/14099
og:image:altCurrently with most type checkers you can do: d: dict[int, int] = {} d.update(a=2) The reason for that is that update merely requires MutableMapping[_KT, _VT], whereas as soon as you are passing kw...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamendmitchell
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/14099#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14099
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%2Ftypeshed%2Fpull%2F14099
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/14099
Reloadhttps://github.com/python/typeshed/pull/14099
Reloadhttps://github.com/python/typeshed/pull/14099
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
ndmitchell:patch-1https://github.com/ndmitchell/typeshed/tree/patch-1
Conversationhttps://github.com/python/typeshed/pull/14099
Commits1 (1)https://github.com/python/typeshed/pull/14099/commits
Checkshttps://github.com/python/typeshed/pull/14099/checks
Files changedhttps://github.com/python/typeshed/pull/14099/files
Fix MutableMapping.update to require string keyshttps://github.com/python/typeshed/pull/14099#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
ndmitchell:patch-1https://github.com/ndmitchell/typeshed/tree/patch-1
https://github.com/ndmitchell
ndmitchellhttps://github.com/ndmitchell
May 19, 2025https://github.com/python/typeshed/pull/14099#issue-3074247589
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/ndmitchell
Fix MutableMapping.update to require string keyshttps://github.com/python/typeshed/pull/14099/commits/7680e2ef77853c927d834ae560225760c390e391
7680e2ehttps://github.com/python/typeshed/pull/14099/commits/7680e2ef77853c927d834ae560225760c390e391
https://github.com/ndmitchell
ndmitchellhttps://github.com/ndmitchell
May 19, 2025 https://github.com/python/typeshed/pull/14099#ref-issue-3071285306
Update is not handled well with empty dict type inference pyrefly-org/pyrefly#245 https://github.com/pyrefly-org/pyrefly/issues/245
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
May 19, 2025 https://github.com/python/typeshed/pull/14099#pullrequestreview-2851233296
View reviewed changes https://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/typeshed/pull/14099#pullrequestreview-2851233296
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
typeshed/stdlib/typing.pyihttps://github.com/python/typeshed/blob/ec8b6eca5ec0ae0699bba4ad3025f34135a6f1e0/stdlib/typing.pyi#L790-L800
ec8b6echttps://github.com/python/typeshed/commit/ec8b6eca5ec0ae0699bba4ad3025f34135a6f1e0
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
May 19, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2891470801
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
May 19, 2025 https://github.com/python/typeshed/pull/14099#pullrequestreview-2851239790
View reviewed changes https://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 19, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2891485463
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
May 19, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2891526574
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
929aca4https://github.com/python/typeshed/commit/929aca4026557a460fd74ceb352a01c6c5ba871d
May 19, 2025https://github.com/python/typeshed/pull/14099#event-17717994923
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
May 19, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2891533936
https://github.com/pallets/werkzeug/blob/99fc293bc7dccd6a7dc96b96012d4aa849794ba4/src/werkzeug/datastructures/mixins.py#L301-L311https://github.com/pallets/werkzeug/blob/99fc293bc7dccd6a7dc96b96012d4aa849794ba4/src/werkzeug/datastructures/mixins.py#L301-L311
https://github.com/mesonbuild/meson/blob/c4431549478f1678cb014a10eccbcfd438d6bdfc/mesonbuild/options.py#L1147-L1149https://github.com/mesonbuild/meson/blob/c4431549478f1678cb014a10eccbcfd438d6bdfc/mesonbuild/options.py#L1147-L1149
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/srittau
srittauhttps://github.com/srittau
May 19, 2025 https://github.com/python/typeshed/pull/14099#pullrequestreview-2851372365
View reviewed changes https://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391
stdlib/typing.pyihttps://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e
srittauhttps://github.com/srittau
May 19, 2025https://github.com/python/typeshed/pull/14099#discussion_r2096094651
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/14099
JelleZijlstrahttps://github.com/JelleZijlstra
May 19, 2025https://github.com/python/typeshed/pull/14099#discussion_r2096107541
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/14099
ndmitchellhttps://github.com/ndmitchell
May 19, 2025https://github.com/python/typeshed/pull/14099#discussion_r2096129224
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#14100https://github.com/python/typeshed/pull/14100
Please reload this pagehttps://github.com/python/typeshed/pull/14099
stdlib/typing.pyihttps://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e
srittauhttps://github.com/srittau
May 19, 2025https://github.com/python/typeshed/pull/14099#discussion_r2096095125
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/ndmitchell
ndmitchellhttps://github.com/ndmitchell
May 19, 2025 16:34https://github.com/python/typeshed/pull/14099#event-17718652704
ndmitchellhttps://github.com/ndmitchell
May 19, 2025 https://github.com/python/typeshed/pull/14099#ref-commit-63b5686
https://github.com/ndmitchell
Minor cleanups afterhttps://github.com/ndmitchell/typeshed/commit/63b5686749124404953618516e4317279775fc43
python#14099https://github.com/python/typeshed/pull/14099
63b5686https://github.com/ndmitchell/typeshed/commit/63b5686749124404953618516e4317279775fc43
srittauhttps://github.com/srittau
May 19, 2025 https://github.com/python/typeshed/pull/14099#ref-commit-a7ae4ec
https://github.com/ndmitchell
Minor cleanups afterhttps://github.com/python/typeshed/commit/a7ae4ecc61362b65a8e830c52f6df62d501e0ab7
#14099https://github.com/python/typeshed/pull/14099
(https://github.com/python/typeshed/commit/a7ae4ecc61362b65a8e830c52f6df62d501e0ab7
#14100https://github.com/python/typeshed/pull/14100
)https://github.com/python/typeshed/commit/a7ae4ecc61362b65a8e830c52f6df62d501e0ab7
a7ae4echttps://github.com/python/typeshed/commit/a7ae4ecc61362b65a8e830c52f6df62d501e0ab7
https://github.com/QEDady
QEDadyhttps://github.com/QEDady
May 19, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2892389081
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/srittau
srittauhttps://github.com/srittau
May 20, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2893392362
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/srittau
srittauhttps://github.com/srittau
May 20, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2893421126
Please reload this pagehttps://github.com/python/typeshed/pull/14099
srittauhttps://github.com/srittau
May 20, 2025 https://github.com/python/typeshed/pull/14099#ref-commit-46206d0
https://github.com/srittau
Add a test for MutableMapping.update()https://github.com/srittau/typeshed/commit/46206d03cce232372450c0657c450255ba228886
46206d0https://github.com/srittau/typeshed/commit/46206d03cce232372450c0657c450255ba228886
python#14099https://github.com/python/typeshed/pull/14099
https://github.com/srittau
srittauhttps://github.com/srittau
May 20, 2025 https://github.com/python/typeshed/pull/14099#ref-pullrequest-3076148402
Add tests for MutableMapping.update() #14104 https://github.com/python/typeshed/pull/14104
https://github.com/srittau
srittauhttps://github.com/srittau
May 20, 2025https://github.com/python/typeshed/pull/14099#issuecomment-2893449065
#14104https://github.com/python/typeshed/pull/14104
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jun 1, 2025 https://github.com/python/typeshed/pull/14099#ref-pullrequest-3107017735
Sync typeshed python/mypy#19194 https://github.com/python/mypy/pull/19194
BUG: false positive in df.attrs.update() astral-sh/ty#1048 https://github.com/astral-sh/ty/issues/1048
Improve MutableMapping.update's overloads to reflect relationship between key type and **kwargs #12456 https://github.com/python/typeshed/issues/12456
Loosen Mapping.update() overloads a little #14593 https://github.com/python/typeshed/pull/14593
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F14099
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/14099/files/7680e2ef77853c927d834ae560225760c390e391
Please reload this pagehttps://github.com/python/typeshed/pull/14099
Please reload this pagehttps://github.com/python/typeshed/pull/14099
https://github.com/ndmitchell
https://github.com/AlexWaygood
https://github.com/QEDady
https://github.com/srittau
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.