René's URL Explorer Experiment


Title: Improve the accuracy of `(default)dict.__(r)or__` by AlexWaygood · Pull Request #10679 · python/typeshed · GitHub

Open Graph Title: Improve the accuracy of `(default)dict.__(r)or__` by AlexWaygood · Pull Request #10679 · python/typeshed

X Title: Improve the accuracy of `(default)dict.__(r)or__` by AlexWaygood · Pull Request #10679 · python/typeshed

Description: Collection of library stubs for Python, with static types - Improve the accuracy of `(default)dict.__(r)or__` by AlexWaygood · Pull Request #10679 · python/typeshed

Open Graph Description: Fixes #10678

X Description: Fixes #10678

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

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:69a1025e-13ac-30f4-1689-57d58cf4e0e7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9796:2EC689:21F54DB:2E13AB9:6B0025A0
html-safe-nonce60632e6ca030382bdde4709e378c61900b63ea2838c0e1d515e4b6f0c26c43bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzk2OjJFQzY4OToyMUY1NERCOjJFMTNBQjk6NkIwMDI1QTAiLCJ2aXNpdG9yX2lkIjoiNTI1NDk4MTcxNjM5Njc0NjE0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1d5ab8e299ba7cd07631624bebf81d91b357f379e07e27dcfc2cc933c730b9fc
hovercard-subject-tagpull_request:1506176471
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/10679/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e9669065714b553735f0c0d5d3d70311f96e07c0981510ba94deaa8fdb883c69/python/typeshed/pull/10679
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e9669065714b553735f0c0d5d3d70311f96e07c0981510ba94deaa8fdb883c69/python/typeshed/pull/10679
og:image:altFixes #10678
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/10679#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
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%2F10679
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/10679
Reloadhttps://github.com/python/typeshed/pull/10679
Reloadhttps://github.com/python/typeshed/pull/10679
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
AlexWaygood:dict-dot-orhttps://github.com/AlexWaygood/typeshed/tree/dict-dot-or
Conversationhttps://github.com/python/typeshed/pull/10679
Commits12 (12)https://github.com/python/typeshed/pull/10679/commits
Checkshttps://github.com/python/typeshed/pull/10679/checks
Files changedhttps://github.com/python/typeshed/pull/10679/files
Improve the accuracy of (default)dict.__(r)or__https://github.com/python/typeshed/pull/10679#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
AlexWaygood:dict-dot-orhttps://github.com/AlexWaygood/typeshed/tree/dict-dot-or
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issue-1885751739
#10678https://github.com/python/typeshed/issues/10678
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
Improve the accuracy of some __(r)or__ methodshttps://github.com/python/typeshed/pull/10679/commits/4f6f513109fce960b3cd56364df695e239698691
4f6f513https://github.com/python/typeshed/pull/10679/commits/4f6f513109fce960b3cd56364df695e239698691
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710043293
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
September 7, 2023 12:13https://github.com/python/typeshed/pull/10679#event-10306660214
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023 https://github.com/python/typeshed/pull/10679#ref-issue-1885641486
False negatives with dict.__(r)or__ #10678 https://github.com/python/typeshed/issues/10678
https://github.com/Akuli
Akulihttps://github.com/Akuli
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710053022
Please reload this pagehttps://github.com/python/typeshed/pull/10679
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/srittau
srittauhttps://github.com/srittau
Sep 7, 2023 https://github.com/python/typeshed/pull/10679#pullrequestreview-1615301546
View reviewed changes https://github.com/python/typeshed/pull/10679/files/4f6f513109fce960b3cd56364df695e239698691
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710055399
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/srittau
srittauhttps://github.com/srittau
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710055871
Please reload this pagehttps://github.com/python/typeshed/pull/10679
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
Test caseshttps://github.com/python/typeshed/pull/10679/commits/9bca9cea8b00527839fcbac5834cf65e6c24ce47
9bca9cehttps://github.com/python/typeshed/pull/10679/commits/9bca9cea8b00527839fcbac5834cf65e6c24ce47
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
September 7, 2023 15:41https://github.com/python/typeshed/pull/10679#event-10309041552
AlexWaygoodhttps://github.com/AlexWaygood
September 7, 2023 17:11https://github.com/python/typeshed/pull/10679#commits-pushed-42787e6
https://github.com/AlexWaygood
Fixeshttps://github.com/python/typeshed/pull/10679/commits/42787e647308103269a09e0bcccb9a34a4e5371b
42787e6https://github.com/python/typeshed/pull/10679/commits/42787e647308103269a09e0bcccb9a34a4e5371b
https://github.com/AlexWaygood
more fixeshttps://github.com/python/typeshed/pull/10679/commits/8a94939e57453696376c7438803df4ff5adf00fd
8a94939https://github.com/python/typeshed/pull/10679/commits/8a94939e57453696376c7438803df4ff5adf00fd
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/10679/commits/f9bbce4b9033ebb9b7d234afc1def095034be1f2
f9bbce4https://github.com/python/typeshed/pull/10679/commits/f9bbce4b9033ebb9b7d234afc1def095034be1f2
https://github.com/AlexWaygood
t h e f u t u r ehttps://github.com/python/typeshed/pull/10679/commits/32ec62fc6f0615e3c14b3dbbc399b43adc9fbcbc
32ec62fhttps://github.com/python/typeshed/pull/10679/commits/32ec62fc6f0615e3c14b3dbbc399b43adc9fbcbc
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
September 7, 2023 16:23https://github.com/python/typeshed/pull/10679#event-10309476990
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710449690
@srittauhttps://github.com/srittau
@Akulihttps://github.com/Akuli
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
Add a missing casehttps://github.com/python/typeshed/pull/10679/commits/0fe6d5e6f83862098a2a735519c6a582edd8e174
0fe6d5ehttps://github.com/python/typeshed/pull/10679/commits/0fe6d5e6f83862098a2a735519c6a582edd8e174
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023https://github.com/python/typeshed/pull/10679#event-10309782224
https://github.com/srittau
srittauhttps://github.com/srittau
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710542975
Please reload this pagehttps://github.com/python/typeshed/pull/10679
AlexWaygoodhttps://github.com/AlexWaygood
September 7, 2023 21:07https://github.com/python/typeshed/pull/10679#commits-pushed-98fb95f
https://github.com/AlexWaygood
try something other than os.environhttps://github.com/python/typeshed/pull/10679/commits/98fb95fad3d5dcfcc96ef56df6e13520c2d6093d
98fb95fhttps://github.com/python/typeshed/pull/10679/commits/98fb95fad3d5dcfcc96ef56df6e13520c2d6093d
https://github.com/AlexWaygood
Try adding __getitem__https://github.com/python/typeshed/pull/10679/commits/dbbe71dbff1862f20db1442cd15ce370ceef312b
dbbe71dhttps://github.com/python/typeshed/pull/10679/commits/dbbe71dbff1862f20db1442cd15ce370ceef312b
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
AlexWaygoodhttps://github.com/AlexWaygood
September 7, 2023 22:38https://github.com/python/typeshed/pull/10679#commits-pushed-2e0c333
https://github.com/AlexWaygood
Last attempthttps://github.com/python/typeshed/pull/10679/commits/2e0c333e3f059c05eb377bb44610559016a98515
2e0c333https://github.com/python/typeshed/pull/10679/commits/2e0c333e3f059c05eb377bb44610559016a98515
https://github.com/AlexWaygood
unused importshttps://github.com/python/typeshed/pull/10679/commits/a1f3bd1de8f9371ba81f22623ce16e51bea2c570
a1f3bd1https://github.com/python/typeshed/pull/10679/commits/a1f3bd1de8f9371ba81f22623ce16e51bea2c570
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10679
https://github.com/AlexWaygood
Just comment out the failing test cases for nowhttps://github.com/python/typeshed/pull/10679/commits/50439f1bf017aa02c29497e16dcad20180e90085
50439f1https://github.com/python/typeshed/pull/10679/commits/50439f1bf017aa02c29497e16dcad20180e90085
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710813030
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Akulihttps://github.com/Akuli
srittauhttps://github.com/srittau
September 7, 2023 21:52https://github.com/python/typeshed/pull/10679#event-10311959055
https://github.com/srittau
srittauhttps://github.com/srittau
Sep 7, 2023 https://github.com/python/typeshed/pull/10679#pullrequestreview-1616290411
View reviewed changes https://github.com/python/typeshed/pull/10679/files/50439f1bf017aa02c29497e16dcad20180e90085
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 7, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1710817423
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/Akuli
Akulihttps://github.com/Akuli
Sep 8, 2023 https://github.com/python/typeshed/pull/10679#pullrequestreview-1617101160
View reviewed changes https://github.com/python/typeshed/pull/10679/files/50439f1bf017aa02c29497e16dcad20180e90085
Akulihttps://github.com/Akuli
https://github.com/python/typeshed/pull/10679#pullrequestreview-1617101160
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 8, 2023https://github.com/python/typeshed/pull/10679#issuecomment-1711436086
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
6eec191https://github.com/python/typeshed/commit/6eec191739f7f39752ae1e95a7d7cf18fca4c12b
Sep 8, 2023https://github.com/python/typeshed/pull/10679#event-10316420687
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
September 8, 2023 10:22https://github.com/python/typeshed/pull/10679#event-10316420852
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 15, 2023 https://github.com/python/typeshed/pull/10679#ref-pullrequest-1898982168
Sync typeshed python/mypy#16121 https://github.com/python/mypy/pull/16121
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 14, 2023 https://github.com/python/typeshed/pull/10679#ref-issue-1993263863
1.7.0 Regression? No overload variant of "__or__" of "dict" matches argument type "Mapping[str, Any]" python/mypy#16489 https://github.com/python/mypy/issues/16489
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Nov 26, 2023 https://github.com/python/typeshed/pull/10679#ref-issue-2011110289
Possible regression in 1.7 with dict unions (PEP 584) python/mypy#16572 https://github.com/python/mypy/issues/16572
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 9, 2024 https://github.com/python/typeshed/pull/10679#ref-issue-2072993252
Dictionary accepting Mapping in a merge operation #11264 https://github.com/python/typeshed/issues/11264
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%2F10679
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/10679/files/50439f1bf017aa02c29497e16dcad20180e90085
https://github.com/Akuli
Akuli https://github.com/Akuli
https://github.com/python/typeshed/pull/10679/files/50439f1bf017aa02c29497e16dcad20180e90085
Please reload this pagehttps://github.com/python/typeshed/pull/10679
False negatives with dict.__(r)or__ https://github.com/python/typeshed/issues/10678
Please reload this pagehttps://github.com/python/typeshed/pull/10679
https://github.com/AlexWaygood
https://github.com/Akuli
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.