René's URL Explorer Experiment


Title: fix default of `dict.get` by tungol · Pull Request #13222 · python/typeshed · GitHub

Open Graph Title: fix default of `dict.get` by tungol · Pull Request #13222 · python/typeshed

X Title: fix default of `dict.get` by tungol · Pull Request #13222 · python/typeshed

Description: Collection of library stubs for Python, with static types - fix default of `dict.get` by tungol · Pull Request #13222 · python/typeshed

Open Graph Description: This seems like a straightforward fix for a relatively important class/method, so I'm wondering if I'm missing something.

X Description: This seems like a straightforward fix for a relatively important class/method, so I'm wondering if I'm missing something.

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

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:41968963-a061-8b39-ada2-6558ef1b8f0c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9490:3CBF1A:1F2393D:2A99B15:6B002194
html-safe-nonceec4498f0b1ffb74d88cd225eaf661dc633f097159fa01c8f7f355a7174273f8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDkwOjNDQkYxQToxRjIzOTNEOjJBOTlCMTU6NkIwMDIxOTQiLCJ2aXNpdG9yX2lkIjoiODg0ODEwODY2ODU1MDM5MDE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac19e5d31ea9664fc67559b327d1ff1fe520e754e975685adc7c8856aacccefd46
hovercard-subject-tagpull_request:2221886480
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/13222/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/10d75abbc5554c10f45f3db2e321c600c319147e46d5fd4fa5ee05da9d552465/python/typeshed/pull/13222
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/10d75abbc5554c10f45f3db2e321c600c319147e46d5fd4fa5ee05da9d552465/python/typeshed/pull/13222
og:image:altThis seems like a straightforward fix for a relatively important class/method, so I'm wondering if I'm missing something.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametungol
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/13222#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13222
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%2F13222
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/13222
Reloadhttps://github.com/python/typeshed/pull/13222
Reloadhttps://github.com/python/typeshed/pull/13222
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
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
tungol:dict.gethttps://github.com/tungol/typeshed/tree/dict.get
Conversationhttps://github.com/python/typeshed/pull/13222
Commits7 (7)https://github.com/python/typeshed/pull/13222/commits
Checkshttps://github.com/python/typeshed/pull/13222/checks
Files changedhttps://github.com/python/typeshed/pull/13222/files
fix default of dict.gethttps://github.com/python/typeshed/pull/13222#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
tungol:dict.gethttps://github.com/tungol/typeshed/tree/dict.get
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024https://github.com/python/typeshed/pull/13222#issue-2725124105
Please reload this pagehttps://github.com/python/typeshed/pull/13222
tungolhttps://github.com/tungol
December 8, 2024 02:58https://github.com/python/typeshed/pull/13222#commits-pushed-a48e61e
https://github.com/tungol
fix default of dict.gethttps://github.com/python/typeshed/pull/13222/commits/a48e61e5c30978ac5c4c15ff6f3acf1a33a628f9
a48e61ehttps://github.com/python/typeshed/pull/13222/commits/a48e61e5c30978ac5c4c15ff6f3acf1a33a628f9
https://github.com/tungol
fix stubtest for 3.10 and 3.11https://github.com/python/typeshed/pull/13222/commits/f182d185b3cbddf0a5274cb2f2634926bc184c5d
f182d18https://github.com/python/typeshed/pull/13222/commits/f182d185b3cbddf0a5274cb2f2634926bc184c5d
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2525654919
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
December 8, 2024 11:15https://github.com/python/typeshed/pull/13222#event-15572254831
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2525673987
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2525674964
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2526375059
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2526423211
Please reload this pagehttps://github.com/python/typeshed/pull/13222
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 8, 2024 https://github.com/python/typeshed/pull/13222#ref-pullrequest-2725611878
Alternate method of handling dict.get default value #13224 https://github.com/python/typeshed/pull/13224
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 9, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2527599875
https://gist.github.com/tungol/e792212afa4b89153b6479baa0fad3b2https://gist.github.com/tungol/e792212afa4b89153b6479baa0fad3b2
#13222 (comment)https://github.com/python/typeshed/pull/13222#issuecomment-2526423211
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 10, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2529964057
Please reload this pagehttps://github.com/python/typeshed/pull/13222
the weird behavior with a TypeAliashttps://github.com/python/typeshed/pull/13222#issuecomment-2526423211
python/mypy#15497https://github.com/python/mypy/pull/15497
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
Merge branch 'main' into dict.gethttps://github.com/python/typeshed/pull/13222/commits/7d13c25f57189857b30550b4fe9e6cee95c55586
7d13c25https://github.com/python/typeshed/pull/13222/commits/7d13c25f57189857b30550b4fe9e6cee95c55586
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13222
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 10, 2024 https://github.com/python/typeshed/pull/13222#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/13222#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/13222#ref-pullrequest-2731928850
a different alternate of dict.get #13229 https://github.com/python/typeshed/pull/13229
https://github.com/tungol
tungolhttps://github.com/tungol
December 12, 2024 09:59https://github.com/python/typeshed/pull/13222#event-15631935750
https://github.com/tungol
tungolhttps://github.com/tungol
Dec 12, 2024https://github.com/python/typeshed/pull/13222#issuecomment-2538542527
#13224https://github.com/python/typeshed/pull/13224
https://discuss.python.org/t/dict-get-return-values-when-any-involved/73915https://discuss.python.org/t/dict-get-return-values-when-any-involved/73915
I asked Eric about it herehttps://github.com/microsoft/pyright/discussions/9570
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
Merge branch 'main' into dict.gethttps://github.com/python/typeshed/pull/13222/commits/e689fef7bdf00288fd8695328067e0462a93a618
e689fefhttps://github.com/python/typeshed/pull/13222/commits/e689fef7bdf00288fd8695328067e0462a93a618
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13222
https://github.com/srittau
Merge branch 'main' into dict.gethttps://github.com/python/typeshed/pull/13222/commits/b161d6cadb21dfce6353f8299acf03565cccb18f
b161d6chttps://github.com/python/typeshed/pull/13222/commits/b161d6cadb21dfce6353f8299acf03565cccb18f
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13222
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 6, 2025https://github.com/python/typeshed/pull/13222#issuecomment-2703859483
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
tungolhttps://github.com/tungol
Mar 7, 2025https://github.com/python/typeshed/pull/13222#issuecomment-2705647463
Please reload this pagehttps://github.com/python/typeshed/pull/13222
tungolhttps://github.com/tungol
March 6, 2025 22:43https://github.com/python/typeshed/pull/13222#commits-pushed-9e0e9ff
https://github.com/tungol
update dict testshttps://github.com/python/typeshed/pull/13222/commits/9e0e9ffbe25f638b12900167a53271e434735b1c
9e0e9ffhttps://github.com/python/typeshed/pull/13222/commits/9e0e9ffbe25f638b12900167a53271e434735b1c
https://github.com/tungol
fix for pyrighthttps://github.com/python/typeshed/pull/13222/commits/5ed6e180f53f8a3fafb9ee355da69df02bc1fe85
5ed6e18https://github.com/python/typeshed/pull/13222/commits/5ed6e180f53f8a3fafb9ee355da69df02bc1fe85
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 7, 2025https://github.com/python/typeshed/pull/13222#issuecomment-2705680179
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 7, 2025https://github.com/python/typeshed/pull/13222#issuecomment-2706174151
Please reload this pagehttps://github.com/python/typeshed/pull/13222
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 7, 2025 https://github.com/python/typeshed/pull/13222#pullrequestreview-2666959001
View reviewed changes https://github.com/python/typeshed/pull/13222/files/5ed6e180f53f8a3fafb9ee355da69df02bc1fe85
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/13222#pullrequestreview-2666959001
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/srittau
srittauhttps://github.com/srittau
846d167https://github.com/python/typeshed/commit/846d167f5105e13703bb36e30aed2366304f6d51
Mar 9, 2025https://github.com/python/typeshed/pull/13222#event-16644838408
https://github.com/tungol
tungolhttps://github.com/tungol
March 9, 2025 21:48https://github.com/python/typeshed/pull/13222#event-16646097784
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 15, 2025 https://github.com/python/typeshed/pull/13222#ref-pullrequest-2921511746
Sync typeshed python/mypy#18803 https://github.com/python/mypy/pull/18803
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Mar 26, 2025 https://github.com/python/typeshed/pull/13222#ref-pullrequest-2949652387
Update mypy-dev to 1.16.0a7 home-assistant/core#141472 https://github.com/home-assistant/core/pull/141472
mmingyuhttps://github.com/mmingyu
May 16, 2025 https://github.com/python/typeshed/pull/13222#ref-commit-79e41ea
https://github.com/tungol
Fix default ofhttps://github.com/mmingyu/typeshed/commit/79e41eab4a3d1c20dfaa156d0c054e28c92c5557
dict.gethttps://github.com/mmingyu/typeshed/commit/79e41eab4a3d1c20dfaa156d0c054e28c92c5557
(https://github.com/mmingyu/typeshed/commit/79e41eab4a3d1c20dfaa156d0c054e28c92c5557
python#13222https://github.com/python/typeshed/pull/13222
)https://github.com/mmingyu/typeshed/commit/79e41eab4a3d1c20dfaa156d0c054e28c92c5557
79e41eahttps://github.com/mmingyu/typeshed/commit/79e41eab4a3d1c20dfaa156d0c054e28c92c5557
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Apr 27, 2026 https://github.com/python/typeshed/pull/13222#ref-issue-4336348267
[1.20 regression] _Environ.get(key, default) returns str | None when default is an alias to Any python/mypy#21344 https://github.com/python/mypy/issues/21344
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%2F13222
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/13222/files/5ed6e180f53f8a3fafb9ee355da69df02bc1fe85
Please reload this pagehttps://github.com/python/typeshed/pull/13222
Please reload this pagehttps://github.com/python/typeshed/pull/13222
https://github.com/tungol
https://github.com/srittau
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.