René's URL Explorer Experiment


Title: Add support for operators with union operands by Michael0x2a · Pull Request #5545 · python/mypy · GitHub

Open Graph Title: Add support for operators with union operands by Michael0x2a · Pull Request #5545 · python/mypy

X Title: Add support for operators with union operands by Michael0x2a · Pull Request #5545 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: This pull request resolves #2128 -- it modifies how we check operators to add support for operations like Union[int, float] + Union[int, float]. This approach basically iterates over all possible v...

X Description: This pull request resolves #2128 -- it modifies how we check operators to add support for operations like Union[int, float] + Union[int, float]. This approach basically iterates over all possible v...

Opengraph URL: https://github.com/python/mypy/pull/5545

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:05982d81-015f-b8a3-9287-4dce461520ca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC1D6:278022:142EBA5:1A9EED8:6B001698
html-safe-nonce36be2451b8a4f51b1739c51eb5d15b1fffb68159bf255479d2056757ed729aa0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUQ2OjI3ODAyMjoxNDJFQkE1OjFBOUVFRDg6NkIwMDE2OTgiLCJ2aXNpdG9yX2lkIjoiOTU1NjY0NTc2MzAzNjAxMzA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac80a3c01647289d4fa0a6d0718670d80fc80beeb5c2f2890dd3662f1034055394
hovercard-subject-tagpull_request:212280881
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/mypy/5545/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5e6251e1c10fa13693446efff8654639dd03ea2e5fcb6fa9f0f0eeeadcec0eb8/python/mypy/pull/5545
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e6251e1c10fa13693446efff8654639dd03ea2e5fcb6fa9f0f0eeeadcec0eb8/python/mypy/pull/5545
og:image:altThis pull request resolves #2128 -- it modifies how we check operators to add support for operations like Union[int, float] + Union[int, float]. This approach basically iterates over all possible v...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMichael0x2a
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/5545#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F5545
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%2Fmypy%2Fpull%2F5545
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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/5545
Reloadhttps://github.com/python/mypy/pull/5545
Reloadhttps://github.com/python/mypy/pull/5545
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
Michael0x2a:double-union-operatorshttps://github.com/Michael0x2a/mypy/tree/double-union-operators
Conversationhttps://github.com/python/mypy/pull/5545
Commits11 (11)https://github.com/python/mypy/pull/5545/commits
Checkshttps://github.com/python/mypy/pull/5545/checks
Files changedhttps://github.com/python/mypy/pull/5545/files
Add support for operators with union operandshttps://github.com/python/mypy/pull/5545#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
Michael0x2a:double-union-operatorshttps://github.com/Michael0x2a/mypy/tree/double-union-operators
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Aug 31, 2018https://github.com/python/mypy/pull/5545#issue-355848318
Please reload this pagehttps://github.com/python/mypy/pull/5545
#2128https://github.com/python/mypy/issues/2128
Mypy fails on Union[float, int] + Union[float, int] #2128 (comment)https://github.com/python/mypy/issues/2128#issuecomment-398015973
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/Michael0x2a
Add support for operators with union operandshttps://github.com/python/mypy/pull/5545/commits/b8c84cc79f278eee0520f2ada313687358a8c2f3
b8c84cchttps://github.com/python/mypy/pull/5545/commits/b8c84cc79f278eee0520f2ada313687358a8c2f3
python#2128https://github.com/python/mypy/issues/2128
python#2128 (comment)https://github.com/python/mypy/issues/2128#issuecomment-398015973
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Aug 31, 2018https://github.com/python/mypy/pull/5545#event-1819809921
Michael0x2ahttps://github.com/Michael0x2a
August 30, 2018 23:22https://github.com/python/mypy/pull/5545#commits-pushed-4fb3e15
https://github.com/Michael0x2a
Revert left expr propagationhttps://github.com/python/mypy/pull/5545/commits/4fb3e15d809f5e64c66f38f8d6f4bbf92af81928
4fb3e15https://github.com/python/mypy/pull/5545/commits/4fb3e15d809f5e64c66f38f8d6f4bbf92af81928
https://github.com/Michael0x2a
Add staggered checkhttps://github.com/python/mypy/pull/5545/commits/54dddc6e269ff92ff0f8a2e450f6fdbd861c18af
54dddc6https://github.com/python/mypy/pull/5545/commits/54dddc6e269ff92ff0f8a2e450f6fdbd861c18af
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Aug 31, 2018https://github.com/python/mypy/pull/5545#event-1819898694
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
ilevkivskyihttps://github.com/ilevkivskyi
August 31, 2018 07:15https://github.com/python/mypy/pull/5545#event-1819899233
https://github.com/Michael0x2a
Fix lint errorshttps://github.com/python/mypy/pull/5545/commits/49af0ae747f22c3062e7c59da6c2542e028599e2
49af0aehttps://github.com/python/mypy/pull/5545/commits/49af0ae747f22c3062e7c59da6c2542e028599e2
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Aug 31, 2018https://github.com/python/mypy/pull/5545#issuecomment-417578342
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 1, 2018 https://github.com/python/mypy/pull/5545#ref-issue-356239826
Regression since 0.620: Argument 1 to "__div__" of "int" has incompatible type "float"; expected "int" #5557 https://github.com/python/mypy/issues/5557
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 2, 2018 https://github.com/python/mypy/pull/5545#pullrequestreview-151606001
View reviewed changes https://github.com/python/mypy/pull/5545/files/49af0ae747f22c3062e7c59da6c2542e028599e2
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/5545#pullrequestreview-151606001
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
mypy/checkexpr.pyhttps://github.com/python/mypy/pull/5545/files/49af0ae747f22c3062e7c59da6c2542e028599e2#diff-42eda644ce5003e33ea0766d7601fcfb4934ad106429abfe115954a1fccddd07
ilevkivskyihttps://github.com/ilevkivskyi
Sep 2, 2018https://github.com/python/mypy/pull/5545#discussion_r214525459
Please reload this pagehttps://github.com/python/mypy/pull/5545
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
Michael0x2ahttps://github.com/Michael0x2a
Sep 4, 2018https://github.com/python/mypy/pull/5545#discussion_r215056331
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
ilevkivskyihttps://github.com/ilevkivskyi
Sep 5, 2018https://github.com/python/mypy/pull/5545#discussion_r215105915
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
test-data/unit/check-generics.testhttps://github.com/python/mypy/pull/5545/files/49af0ae747f22c3062e7c59da6c2542e028599e2#diff-66e952c0f29c9c94526c50e69b4eaae5bad35ea0e249c9fd2edcf0b4be9f93af
ilevkivskyihttps://github.com/ilevkivskyi
Sep 2, 2018https://github.com/python/mypy/pull/5545#discussion_r214525579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
mypy/checkexpr.pyhttps://github.com/python/mypy/pull/5545/files/49af0ae747f22c3062e7c59da6c2542e028599e2#diff-42eda644ce5003e33ea0766d7601fcfb4934ad106429abfe115954a1fccddd07
ilevkivskyihttps://github.com/ilevkivskyi
Sep 2, 2018https://github.com/python/mypy/pull/5545#discussion_r214525612
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
Michael0x2ahttps://github.com/Michael0x2a
Sep 4, 2018https://github.com/python/mypy/pull/5545#discussion_r215056508
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
Michael0x2ahttps://github.com/Michael0x2a
September 4, 2018 07:46https://github.com/python/mypy/pull/5545#commits-pushed-71832fe
https://github.com/Michael0x2a
Merge branch 'master' into double-union-operatorshttps://github.com/python/mypy/pull/5545/commits/71832fe319a9cb190499a742ad3ed47dcd0ecaa6
71832fehttps://github.com/python/mypy/pull/5545/commits/71832fe319a9cb190499a742ad3ed47dcd0ecaa6
https://github.com/Michael0x2a
Change how we construct the inferred callable typehttps://github.com/python/mypy/pull/5545/commits/a0d906c3ba8e647e8004221bc5f685b64a02de60
a0d906chttps://github.com/python/mypy/pull/5545/commits/a0d906c3ba8e647e8004221bc5f685b64a02de60
https://github.com/Michael0x2a
WIPhttps://github.com/python/mypy/pull/5545/commits/ca5e0acaebf43ede4cb4c82b0e77eedccc94b090
ca5e0achttps://github.com/python/mypy/pull/5545/commits/ca5e0acaebf43ede4cb4c82b0e77eedccc94b090
https://github.com/Michael0x2a
Fix failing testhttps://github.com/python/mypy/pull/5545/commits/4a3bda962a86e90416470b92e1fb4d1d3af24815
4a3bda9https://github.com/python/mypy/pull/5545/commits/4a3bda962a86e90416470b92e1fb4d1d3af24815
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Sep 4, 2018https://github.com/python/mypy/pull/5545#issuecomment-418507651
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/ilevkivskyi
Add a little TODO itemhttps://github.com/python/mypy/pull/5545/commits/7d92e70d862c827114c9b4a0141081c1d1b2dc4e
7d92e70https://github.com/python/mypy/pull/5545/commits/7d92e70d862c827114c9b4a0141081c1d1b2dc4e
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 5, 2018 https://github.com/python/mypy/pull/5545#pullrequestreview-152301083
View reviewed changes https://github.com/python/mypy/pull/5545/files/7d92e70d862c827114c9b4a0141081c1d1b2dc4e
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/5545#pullrequestreview-152301083
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/5545
ilevkivskyihttps://github.com/ilevkivskyi
September 5, 2018 01:40https://github.com/python/mypy/pull/5545#commits-pushed-b124a79
https://github.com/ilevkivskyi
Merge branch 'master' into double-union-operatorshttps://github.com/python/mypy/pull/5545/commits/b124a794c1ce8e1b652c28fc81a5dbd3f46b9f1a
b124a79https://github.com/python/mypy/pull/5545/commits/b124a794c1ce8e1b652c28fc81a5dbd3f46b9f1a
https://github.com/ilevkivskyi
Try to fix a careless mergehttps://github.com/python/mypy/pull/5545/commits/73c3e6792604d924fa748e14b91303f453341c5f
73c3e67https://github.com/python/mypy/pull/5545/commits/73c3e6792604d924fa748e14b91303f453341c5f
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
eb41417https://github.com/python/mypy/commit/eb41417ee8327e7d41e30f56a9cd2850b660b51e
Sep 5, 2018https://github.com/python/mypy/pull/5545#event-1826667251
https://github.com/appraveen
appraveenhttps://github.com/appraveen
Jan 4, 2019https://github.com/python/mypy/pull/5545#issuecomment-451596908
Please reload this pagehttps://github.com/python/mypy/pull/5545
@Michael0x2ahttps://github.com/Michael0x2a
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jan 5, 2019https://github.com/python/mypy/pull/5545#issuecomment-451681150
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/appraveen
appraveenhttps://github.com/appraveen
Jan 7, 2019https://github.com/python/mypy/pull/5545#issuecomment-451790578
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
January 7, 2019 00:35https://github.com/python/mypy/pull/5545#event-2056538064
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Jan 7, 2019https://github.com/python/mypy/pull/5545#issuecomment-451791460
@appraveenhttps://github.com/appraveen
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/appraveen
appraveenhttps://github.com/appraveen
Jan 7, 2019 https://github.com/python/mypy/pull/5545#ref-issue-396563148
Generics is not supported with some operators #6157 https://github.com/python/mypy/issues/6157
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F5545
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/5545/files/7d92e70d862c827114c9b4a0141081c1d1b2dc4e
Please reload this pagehttps://github.com/python/mypy/pull/5545
Mypy fails on Union[float, int] + Union[float, int] https://github.com/python/mypy/issues/2128
Please reload this pagehttps://github.com/python/mypy/pull/5545
https://github.com/Michael0x2a
https://github.com/appraveen
https://github.com/JelleZijlstra
https://github.com/ilevkivskyi
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.