René's URL Explorer Experiment


Title: Remove unnecessary union in the default type in .get() and .pop() methods by superbobry · Pull Request #10294 · python/typeshed · GitHub

Open Graph Title: Remove unnecessary union in the default type in .get() and .pop() methods by superbobry · Pull Request #10294 · python/typeshed

X Title: Remove unnecessary union in the default type in .get() and .pop() methods by superbobry · Pull Request #10294 · python/typeshed

Description: Collection of library stubs for Python, with static types - Remove unnecessary union in the default type in .get() and .pop() methods by superbobry · Pull Request #10294 · python/typeshed

Open Graph Description: Fixes #10293.

X Description: Fixes #10293.

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

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:a14b31d7-50c2-47fa-465b-b8018a7673b3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BC6:22BD05:20A0364:2C2925B:6B001E48
html-safe-noncead6ee9cbd862036882e8c6cc35da33efd996a2efa5bb24510579e6e8aaccc1f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkM2OjIyQkQwNToyMEEwMzY0OjJDMjkyNUI6NkIwMDFFNDgiLCJ2aXNpdG9yX2lkIjoiNDY3MzU0NzY1Mzk1NzU1NzgzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac754d7a93d43457f3f84de1f2693e92ae550dc23ea5f992d767d2c5f72ffa7f10
hovercard-subject-tagpull_request:1386698526
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/10294/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/edab023bb2ee21c569063351af638d1fef004711efd903f8114a981095de3deb/python/typeshed/pull/10294
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/edab023bb2ee21c569063351af638d1fef004711efd903f8114a981095de3deb/python/typeshed/pull/10294
og:image:altFixes #10293.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesuperbobry
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/10294#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10294
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%2F10294
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/10294
Reloadhttps://github.com/python/typeshed/pull/10294
Reloadhttps://github.com/python/typeshed/pull/10294
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
superbobryhttps://github.com/superbobry
python:mainhttps://github.com/python/typeshed/tree/main
superbobry:dict-pop-gethttps://github.com/superbobry/typeshed/tree/dict-pop-get
Conversationhttps://github.com/python/typeshed/pull/10294
Commits1 (1)https://github.com/python/typeshed/pull/10294/commits
Checkshttps://github.com/python/typeshed/pull/10294/checks
Files changedhttps://github.com/python/typeshed/pull/10294/files
Remove unnecessary union in the default type in .get() and .pop() methodshttps://github.com/python/typeshed/pull/10294#top
superbobryhttps://github.com/superbobry
python:mainhttps://github.com/python/typeshed/tree/main
superbobry:dict-pop-gethttps://github.com/superbobry/typeshed/tree/dict-pop-get
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 9, 2023https://github.com/python/typeshed/pull/10294#issue-1750454864
#10293https://github.com/python/typeshed/issues/10293
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 9, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1585092261
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
force-pushedhttps://github.com/python/typeshed/compare/23f0d998c0343c2b955255d3407d0ffd1c645431..ed515694db69c8a1534dae0317b57d78a00e2e10
23f0d99https://github.com/python/typeshed/commit/23f0d998c0343c2b955255d3407d0ffd1c645431
ed51569https://github.com/python/typeshed/commit/ed515694db69c8a1534dae0317b57d78a00e2e10
Compare https://github.com/python/typeshed/compare/23f0d998c0343c2b955255d3407d0ffd1c645431..ed515694db69c8a1534dae0317b57d78a00e2e10
June 9, 2023 20:34https://github.com/python/typeshed/pull/10294#event-9487990582
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
force-pushedhttps://github.com/python/typeshed/compare/ed515694db69c8a1534dae0317b57d78a00e2e10..8b7e2fb2333c9da462881042d171a2a6918ed713
ed51569https://github.com/python/typeshed/commit/ed515694db69c8a1534dae0317b57d78a00e2e10
8b7e2fbhttps://github.com/python/typeshed/commit/8b7e2fb2333c9da462881042d171a2a6918ed713
Compare https://github.com/python/typeshed/compare/ed515694db69c8a1534dae0317b57d78a00e2e10..8b7e2fb2333c9da462881042d171a2a6918ed713
June 9, 2023 20:54https://github.com/python/typeshed/pull/10294#event-9488112320
https://github.com/superbobry
Remove unnecessary union in the default type in .get() and .pop() met…https://github.com/python/typeshed/pull/10294/commits/d56754cdf48f81d14e97bbc63c0d5105e4787f73
d56754chttps://github.com/python/typeshed/pull/10294/commits/d56754cdf48f81d14e97bbc63c0d5105e4787f73
python#10293https://github.com/python/typeshed/issues/10293
https://github.com/superbobry
superbobryhttps://github.com/superbobry
force-pushedhttps://github.com/python/typeshed/compare/8b7e2fb2333c9da462881042d171a2a6918ed713..d56754cdf48f81d14e97bbc63c0d5105e4787f73
8b7e2fbhttps://github.com/python/typeshed/commit/8b7e2fb2333c9da462881042d171a2a6918ed713
d56754chttps://github.com/python/typeshed/commit/d56754cdf48f81d14e97bbc63c0d5105e4787f73
Compare https://github.com/python/typeshed/compare/8b7e2fb2333c9da462881042d171a2a6918ed713..d56754cdf48f81d14e97bbc63c0d5105e4787f73
June 9, 2023 21:04https://github.com/python/typeshed/pull/10294#event-9488183349
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 9, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1585138918
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 9, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1585188609
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 10, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1585521948
Please reload this pagehttps://github.com/python/typeshed/pull/10294
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 10, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1585526336
https://github.com/pypa/pip/blob/2d168e6e13cf50bfe10a5cf63aa758799de942da/src/pip/_internal/pyproject.py#L162https://github.com/pypa/pip/blob/2d168e6e13cf50bfe10a5cf63aa758799de942da/src/pip/_internal/pyproject.py#L162
https://github.com/pypa/pip/blob/2d168e6e13cf50bfe10a5cf63aa758799de942da/src/pip/_internal/models/link.py#L266https://github.com/pypa/pip/blob/2d168e6e13cf50bfe10a5cf63aa758799de942da/src/pip/_internal/models/link.py#L266
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 12, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1586810086
https://github.com/PyCQA/isort/blob/8f2cd6bd3249ee5439ba6559f5b7f60ad42aee15/isort/output.py#L328https://github.com/PyCQA/isort/blob/8f2cd6bd3249ee5439ba6559f5b7f60ad42aee15/isort/output.py#L328
https://github.com/PyCQA/isort/blob/8f2cd6bd3249ee5439ba6559f5b7f60ad42aee15/isort/output.py#LL456C29-L456C41https://github.com/PyCQA/isort/blob/8f2cd6bd3249ee5439ba6559f5b7f60ad42aee15/isort/output.py#LL456C29-L456C41
https://github.com/PyCQA/isort/blob/8f2cd6bd3249ee5439ba6559f5b7f60ad42aee15/isort/output.py#L666https://github.com/PyCQA/isort/blob/8f2cd6bd3249ee5439ba6559f5b7f60ad42aee15/isort/output.py#L666
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 12, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1587749123
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 12, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1587954740
Please reload this pagehttps://github.com/python/typeshed/pull/10294
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 14, 2023 https://github.com/python/typeshed/pull/10294#ref-issue-1756438230
Specialize empty collections to Any as a fallback python/mypy#15433 https://github.com/python/mypy/issues/15433
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 15, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1592775422
Please reload this pagehttps://github.com/python/typeshed/pull/10294
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/Akuli
Akulihttps://github.com/Akuli
Jun 15, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1593710528
https://github.com/python/mypy/blob/cfec71798175fcbf030d6d114750d6fac454b3c9/misc/sync-typeshed.py#L182-L184https://github.com/python/mypy/blob/cfec71798175fcbf030d6d114750d6fac454b3c9/misc/sync-typeshed.py#L182-L184
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 15, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1593788540
python/mypy#15433https://github.com/python/mypy/issues/15433
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 15, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1593798259
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
superbobryhttps://github.com/superbobry
Jun 15, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1593806403
Please reload this pagehttps://github.com/python/typeshed/pull/10294
typeshed/pyrightconfig.scripts_and_tests.jsonhttps://github.com/python/typeshed/blob/67fb6c0cabb30fa5e9f2ed00dbe1cac82a120c7e/pyrightconfig.scripts_and_tests.json#L8
67fb6c0https://github.com/python/typeshed/commit/67fb6c0cabb30fa5e9f2ed00dbe1cac82a120c7e
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/tmke8
tmke8https://github.com/tmke8
Jun 27, 2023 https://github.com/python/typeshed/pull/10294#ref-issue-1776954527
Mypy infers x.get("a") or x.get("b", "c") to str | None, even when x is dict[str, str] python/mypy#15534 https://github.com/python/mypy/issues/15534
https://github.com/eltoder
eltoderhttps://github.com/eltoder
Jul 11, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1631287523
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 26, 2023https://github.com/python/typeshed/pull/10294#issuecomment-1652073862
#10501https://github.com/python/typeshed/pull/10501
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 26, 2023https://github.com/python/typeshed/pull/10294#event-9925906239
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 10, 2024 https://github.com/python/typeshed/pull/10294#ref-pullrequest-2728941671
test suite characterizing dict.get() #13225 https://github.com/python/typeshed/pull/13225
tungolhttps://github.com/tungol
Dec 11, 2024 https://github.com/python/typeshed/pull/10294#ref-commit-c6449d7
https://github.com/tungol
a different alternate of dict.gethttps://github.com/tungol/typeshed/commit/c6449d7d1eca654b7af8dac9c5ba53e81fc789ca
c6449d7https://github.com/tungol/typeshed/commit/c6449d7d1eca654b7af8dac9c5ba53e81fc789ca
python#13222https://github.com/python/typeshed/pull/13222
python#10294https://github.com/python/typeshed/pull/10294
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 11, 2024 https://github.com/python/typeshed/pull/10294#ref-pullrequest-2731928850
a different alternate of dict.get #13229 https://github.com/python/typeshed/pull/13229
https://github.com/ndmitchell
ndmitchellhttps://github.com/ndmitchell
Jul 2, 2025 https://github.com/python/typeshed/pull/10294#ref-pullrequest-3195068434
Make Mapping.get(default) more constrained #14360 https://github.com/python/typeshed/pull/14360
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%2F10294
Please reload this pagehttps://github.com/python/typeshed/pull/10294
The type of __default= in dict.pop and dict.get doesn't look right https://github.com/python/typeshed/issues/10293
Please reload this pagehttps://github.com/python/typeshed/pull/10294
https://github.com/superbobry
https://github.com/JelleZijlstra
https://github.com/Akuli
https://github.com/AlexWaygood
https://github.com/eltoder
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.