René's URL Explorer Experiment


Title: allow disjoint types in Mapping.get MutableMapping.pop, dict.get, dic… by randolf-scholz · Pull Request #15292 · python/typeshed · GitHub

Open Graph Title: allow disjoint types in Mapping.get MutableMapping.pop, dict.get, dic… by randolf-scholz · Pull Request #15292 · python/typeshed

X Title: allow disjoint types in Mapping.get MutableMapping.pop, dict.get, dic… by randolf-scholz · Pull Request #15292 · python/typeshed

Description: Fixes #15271

Open Graph Description: Fixes #15271

X Description: Fixes #15271

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

X: @github

direct link

Domain: patch-diff.githubusercontent.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:307eb488-a2a1-1fe2-c3a6-3aa1fd26c021
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9768:36133E:71064B5:9588FA9:696DE1FD
html-safe-nonce672a7cae37d8ffdf96f91461c4e9e4bb3ed73156256e621b398b6ce20b6ad6a1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzY4OjM2MTMzRTo3MTA2NEI1Ojk1ODhGQTk6Njk2REUxRkQiLCJ2aXNpdG9yX2lkIjoiMjUxODg4NDI2ODAxNjI2MzY3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac79ddbb09f6476c5dabc33e402eb6f4d5fa55e3b7223f0bf0fc79b05c89358140
hovercard-subject-tagpull_request:3182321776
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/15292/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/12176c012f2ea44a551e8d755363b5e45d46214ab93ff42797d75980bb570b23/python/typeshed/pull/15292
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/12176c012f2ea44a551e8d755363b5e45d46214ab93ff42797d75980bb570b23/python/typeshed/pull/15292
og:image:altFixes #15271
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerandolf-scholz
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
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
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15292
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15292
Sign up https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/python/typeshed/pull/15292
Reloadhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
Reloadhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
python https://patch-diff.githubusercontent.com/python
typeshedhttps://patch-diff.githubusercontent.com/python/typeshed
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed
Star 5k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed
Code https://patch-diff.githubusercontent.com/python/typeshed
Issues 217 https://patch-diff.githubusercontent.com/python/typeshed/issues
Pull requests 130 https://patch-diff.githubusercontent.com/python/typeshed/pulls
Actions https://patch-diff.githubusercontent.com/python/typeshed/actions
Projects 0 https://patch-diff.githubusercontent.com/python/typeshed/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python/typeshed/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
Insights https://patch-diff.githubusercontent.com/python/typeshed/pulse
Code https://patch-diff.githubusercontent.com/python/typeshed
Issues https://patch-diff.githubusercontent.com/python/typeshed/issues
Pull requests https://patch-diff.githubusercontent.com/python/typeshed/pulls
Actions https://patch-diff.githubusercontent.com/python/typeshed/actions
Projects https://patch-diff.githubusercontent.com/python/typeshed/projects
Security https://patch-diff.githubusercontent.com/python/typeshed/security
Insights https://patch-diff.githubusercontent.com/python/typeshed/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292#issue-comment-box
randolf-scholzhttps://patch-diff.githubusercontent.com/randolf-scholz
python:mainhttps://patch-diff.githubusercontent.com/python/typeshed/tree/main
randolf-scholz:allow_arbitrary_mapping_gethttps://patch-diff.githubusercontent.com/randolf-scholz/typeshed/tree/allow_arbitrary_mapping_get
allow disjoint types in Mapping.get MutableMapping.pop, dict.get, dic… https://patch-diff.githubusercontent.com/python/typeshed/pull/15292#top
randolf-scholzhttps://patch-diff.githubusercontent.com/randolf-scholz
python:mainhttps://patch-diff.githubusercontent.com/python/typeshed/tree/main
randolf-scholz:allow_arbitrary_mapping_gethttps://patch-diff.githubusercontent.com/randolf-scholz/typeshed/tree/allow_arbitrary_mapping_get
Conversation 3 https://patch-diff.githubusercontent.com/python/typeshed/pull/15292
Commits 3 https://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits
Checks 62 https://patch-diff.githubusercontent.com/python/typeshed/pull/15292/checks
Files changed 4 https://patch-diff.githubusercontent.com/python/typeshed/pull/15292/files
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python/typeshed/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/randolf-scholz
randolf-scholzhttps://patch-diff.githubusercontent.com/randolf-scholz
Jan 16, 2026https://patch-diff.githubusercontent.com/python/typeshed/pull/15292#issue-3823225008
#15271https://github.com/python/typeshed/issues/15271
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
https://patch-diff.githubusercontent.com/randolf-scholz
allow disjoint types in Mapping.get MutableMapping.pop, dict.get, dic…https://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits/58fe50be604e88f84f775dd0fc0ab049d61f104b
58fe50bhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits/58fe50be604e88f84f775dd0fc0ab049d61f104b
https://patch-diff.githubusercontent.com/randolf-scholz
randolf-scholzhttps://patch-diff.githubusercontent.com/randolf-scholz
January 16, 2026 19:05https://patch-diff.githubusercontent.com/python/typeshed/pull/15292#event-22103162320
https://patch-diff.githubusercontent.com/apps/github-actions
Sign in to viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15292
https://patch-diff.githubusercontent.com/randolf-scholz
reverted Mapping.get changes, lets first try dict onlyhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits/dcffb9ff035aca3774362f51714b57bd7cc049f6
dcffb9fhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits/dcffb9ff035aca3774362f51714b57bd7cc049f6
https://patch-diff.githubusercontent.com/apps/github-actions
Sign in to viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15292
https://patch-diff.githubusercontent.com/randolf-scholz
try without overload (using defaul=None)https://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits/5e59debae69b9933e0d99bdb53d8560819aa1365
5e59debhttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292/commits/5e59debae69b9933e0d99bdb53d8560819aa1365
https://patch-diff.githubusercontent.com/apps/github-actions
github-actionshttps://patch-diff.githubusercontent.com/apps/github-actions
Jan 16, 2026https://patch-diff.githubusercontent.com/python/typeshed/pull/15292#issuecomment-3761816332
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15292
Several methods on built-in types are too strict. https://github.com/python/typeshed/issues/15271
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typeshed/pull/15292
https://patch-diff.githubusercontent.com/randolf-scholz
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.