René's URL Explorer Experiment


Title: fix `UnionType.__or__` and add `UnionType.__getitem__` by KotlinIsland · Pull Request #14687 · python/typeshed · GitHub

Open Graph Title: fix `UnionType.__or__` and add `UnionType.__getitem__` by KotlinIsland · Pull Request #14687 · python/typeshed

X Title: fix `UnionType.__or__` and add `UnionType.__getitem__` by KotlinIsland · Pull Request #14687 · python/typeshed

Description: Collection of library stubs for Python, with static types - fix `UnionType.__or__` and add `UnionType.__getitem__` by KotlinIsland · Pull Request #14687 · python/typeshed

Open Graph Description: UnionType.__or__/__ror__ from types import UnionType from typing import _SpecialForm def f(u: UnionType, s: _SpecialForm): x = u | s reveal_type(x) # UnionType, is actually _SpecialForm (...

X Description: UnionType.__or__/__ror__ from types import UnionType from typing import _SpecialForm def f(u: UnionType, s: _SpecialForm): x = u | s reveal_type(x) # UnionType, is actually _SpecialForm (...

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

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:90a318e2-2313-6b72-d614-ff249313f385
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD006:370586:5AF78:7FBD1:6B00509A
html-safe-nonce4e20828b495dad0321e01cae6a7e93ad4da8e02a00e86b0e487487d984a906bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA2OjM3MDU4Njo1QUY3ODo3RkJEMTo2QjAwNTA5QSIsInZpc2l0b3JfaWQiOiI1MTM0MjQ1ODY0OTY5MDk3MzcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3ebf60c1aaadaec0dadd8106d08131fdb93aabe0ee24c061224f8e752aa1e5fe
hovercard-subject-tagpull_request:2806877037
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/14687/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ec9d66e524dd0ba8be68617cff76ce0d7fa0b2d75d82ea3a18d9958177e1ac4d/python/typeshed/pull/14687
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec9d66e524dd0ba8be68617cff76ce0d7fa0b2d75d82ea3a18d9958177e1ac4d/python/typeshed/pull/14687
og:image:altUnionType.__or__/__ror__ from types import UnionType from typing import _SpecialForm def f(u: UnionType, s: _SpecialForm): x = u | s reveal_type(x) # UnionType, is actually _SpecialForm (...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKotlinIsland
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
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
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/14687#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
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%2F14687
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/14687
Reloadhttps://github.com/python/typeshed/pull/14687
Reloadhttps://github.com/python/typeshed/pull/14687
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)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
KotlinIsland:UnionTypehttps://github.com/KotlinIsland/typeshed/tree/UnionType
Conversationhttps://github.com/python/typeshed/pull/14687
Commits5 (5)https://github.com/python/typeshed/pull/14687/commits
Checkshttps://github.com/python/typeshed/pull/14687/checks
Files changedhttps://github.com/python/typeshed/pull/14687/files
fix UnionType.__or__ and add UnionType.__getitem__https://github.com/python/typeshed/pull/14687#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
KotlinIsland:UnionTypehttps://github.com/KotlinIsland/typeshed/tree/UnionType
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
Sep 8, 2025https://github.com/python/typeshed/pull/14687#issue-3392649148
Please reload this pagehttps://github.com/python/typeshed/pull/14687
special case Any in righthand-able operators to be NotImplemented lenient DetachHead/basedpyright#1465https://github.com/DetachHead/basedpyright/issues/1465
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
force-pushedhttps://github.com/python/typeshed/compare/58cf572213cae998fd086944d8d258c3e9cfa406..0341e8e4771dfd35ca1d1b26b0051eac00c61e70
58cf572https://github.com/python/typeshed/commit/58cf572213cae998fd086944d8d258c3e9cfa406
0341e8ehttps://github.com/python/typeshed/commit/0341e8e4771dfd35ca1d1b26b0051eac00c61e70
Compare https://github.com/python/typeshed/compare/58cf572213cae998fd086944d8d258c3e9cfa406..0341e8e4771dfd35ca1d1b26b0051eac00c61e70
September 22, 2025 02:25https://github.com/python/typeshed/pull/14687#event-19826814634
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
https://github.com/srittau
srittauhttps://github.com/srittau
JelleZijlstrahttps://github.com/JelleZijlstra
September 22, 2025 09:44https://github.com/python/typeshed/pull/14687#event-19833209565
https://github.com/srittau
srittauhttps://github.com/srittau
Sep 22, 2025https://github.com/python/typeshed/pull/14687#issuecomment-3317873142
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 22, 2025 https://github.com/python/typeshed/pull/14687#pullrequestreview-3252303639
View reviewed changes https://github.com/python/typeshed/pull/14687/files
stdlib/types.pyihttps://github.com/python/typeshed/pull/14687/files#diff-9c37f4687cd29f6fafc5e260029185623719376d931254008e0783bcd478241f
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
force-pushedhttps://github.com/python/typeshed/compare/d86f827d4f33caaa502e114fa84e1effc902b0e8..178aef144ce27eafc477609b876e4949327b7923
d86f827https://github.com/python/typeshed/commit/d86f827d4f33caaa502e114fa84e1effc902b0e8
178aef1https://github.com/python/typeshed/commit/178aef144ce27eafc477609b876e4949327b7923
Compare https://github.com/python/typeshed/compare/d86f827d4f33caaa502e114fa84e1effc902b0e8..178aef144ce27eafc477609b876e4949327b7923
September 23, 2025 01:28https://github.com/python/typeshed/pull/14687#event-19854472808
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
AlexWaygoodhttps://github.com/AlexWaygood
September 23, 2025 09:53https://github.com/python/typeshed/pull/14687#event-19861899000
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 23, 2025 https://github.com/python/typeshed/pull/14687#pullrequestreview-3257460389
View reviewed changes https://github.com/python/typeshed/pull/14687/files
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/typeshed/pull/14687#pullrequestreview-3257460389
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/python/typeshed/blob/main/stdlib/%40tests/test_cases/check_types.pyhttps://github.com/python/typeshed/blob/main/stdlib/%40tests/test_cases/check_types.py
Please reload this pagehttps://github.com/python/typeshed/pull/14687
stdlib/types.pyihttps://github.com/python/typeshed/pull/14687/files#diff-9c37f4687cd29f6fafc5e260029185623719376d931254008e0783bcd478241f
Please reload this pagehttps://github.com/python/typeshed/pull/14687
stdlib/types.pyihttps://github.com/python/typeshed/pull/14687/files#diff-9c37f4687cd29f6fafc5e260029185623719376d931254008e0783bcd478241f
Please reload this pagehttps://github.com/python/typeshed/pull/14687
KotlinIslandhttps://github.com/KotlinIsland
September 23, 2025 23:18https://github.com/python/typeshed/pull/14687#commits-pushed-5ddc193
https://github.com/KotlinIsland
fix UnionType.__or__ and add UnionType.__getitem__https://github.com/python/typeshed/pull/14687/commits/5ddc1931409cc78d21808dc9124b1f6270d8e749
5ddc193https://github.com/python/typeshed/pull/14687/commits/5ddc1931409cc78d21808dc9124b1f6270d8e749
https://github.com/KotlinIsland
update commenthttps://github.com/python/typeshed/pull/14687/commits/aca7becf37e05ee9a81c50a86cc9aad7f7984668
aca7bechttps://github.com/python/typeshed/pull/14687/commits/aca7becf37e05ee9a81c50a86cc9aad7f7984668
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
force-pushedhttps://github.com/python/typeshed/compare/178aef144ce27eafc477609b876e4949327b7923..816305744cb735660e15031e44d6d92197f01542
178aef1https://github.com/python/typeshed/commit/178aef144ce27eafc477609b876e4949327b7923
8163057https://github.com/python/typeshed/commit/816305744cb735660e15031e44d6d92197f01542
Compare https://github.com/python/typeshed/compare/178aef144ce27eafc477609b876e4949327b7923..816305744cb735660e15031e44d6d92197f01542
September 23, 2025 13:38https://github.com/python/typeshed/pull/14687#event-19866932491
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 23, 2025 https://github.com/python/typeshed/pull/14687#pullrequestreview-3258099917
View reviewed changes https://github.com/python/typeshed/pull/14687/files
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 23, 2025 https://github.com/python/typeshed/pull/14687#pullrequestreview-3258108361
View reviewed changes https://github.com/python/typeshed/pull/14687/files
stdlib/@tests/test_cases/check_types.pyhttps://github.com/python/typeshed/pull/14687/files#diff-dba08e32ef510d4bc5a6c0ddc8e9af48a5c5e227cb04ca23fa69a51eee1d7451
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
force-pushedhttps://github.com/python/typeshed/compare/816305744cb735660e15031e44d6d92197f01542..3431c0af6dcd5e98025d468a066a3a41a12371c9
8163057https://github.com/python/typeshed/commit/816305744cb735660e15031e44d6d92197f01542
3431c0ahttps://github.com/python/typeshed/commit/3431c0af6dcd5e98025d468a066a3a41a12371c9
Compare https://github.com/python/typeshed/compare/816305744cb735660e15031e44d6d92197f01542..3431c0af6dcd5e98025d468a066a3a41a12371c9
September 23, 2025 13:44https://github.com/python/typeshed/pull/14687#event-19867044806
https://github.com/KotlinIsland
add tests, update comments, remove typehttps://github.com/python/typeshed/pull/14687/commits/8c60e06b27682d9e4e074f39bc0bb8567a91cf27
8c60e06https://github.com/python/typeshed/pull/14687/commits/8c60e06b27682d9e4e074f39bc0bb8567a91cf27
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
force-pushedhttps://github.com/python/typeshed/compare/3431c0af6dcd5e98025d468a066a3a41a12371c9..8c60e06b27682d9e4e074f39bc0bb8567a91cf27
3431c0ahttps://github.com/python/typeshed/commit/3431c0af6dcd5e98025d468a066a3a41a12371c9
8c60e06https://github.com/python/typeshed/commit/8c60e06b27682d9e4e074f39bc0bb8567a91cf27
Compare https://github.com/python/typeshed/compare/3431c0af6dcd5e98025d468a066a3a41a12371c9..8c60e06b27682d9e4e074f39bc0bb8567a91cf27
September 23, 2025 13:45https://github.com/python/typeshed/pull/14687#event-19867071160
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 23, 2025 https://github.com/python/typeshed/pull/14687#pullrequestreview-3258167894
View reviewed changes https://github.com/python/typeshed/pull/14687/files/8c60e06b27682d9e4e074f39bc0bb8567a91cf27
stdlib/@tests/test_cases/check_types.pyhttps://github.com/python/typeshed/pull/14687/files/8c60e06b27682d9e4e074f39bc0bb8567a91cf27#diff-dba08e32ef510d4bc5a6c0ddc8e9af48a5c5e227cb04ca23fa69a51eee1d7451
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/KotlinIsland
https://github.com/AlexWaygood
Update stdlib/@tests/test_cases/check_types.pyhttps://github.com/python/typeshed/pull/14687/commits/b8c181133ec7ebb249dabe02d990295ecb363550
b8c1811https://github.com/python/typeshed/pull/14687/commits/b8c181133ec7ebb249dabe02d990295ecb363550
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687
https://github.com/AlexWaygood
.https://github.com/python/typeshed/pull/14687/commits/eccab057bdf7c6ddd500c64219c9ca9d4f1a8b15
eccab05https://github.com/python/typeshed/pull/14687/commits/eccab057bdf7c6ddd500c64219c9ca9d4f1a8b15
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 23, 2025https://github.com/python/typeshed/pull/14687#issuecomment-3324539363
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
cef4154https://github.com/python/typeshed/commit/cef41544d0e52685e53cc0203da9b611424fdc01
Sep 24, 2025https://github.com/python/typeshed/pull/14687#event-19890875597
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
September 24, 2025 15:00https://github.com/python/typeshed/pull/14687#event-19895193380
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Feb 23, 2026 https://github.com/python/typeshed/pull/14687#ref-pullrequest-3979099546
Make types.UnionType.__getitem__ parameter positional-only #15458 https://github.com/python/typeshed/pull/15458
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%2F14687
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/14687/files/8c60e06b27682d9e4e074f39bc0bb8567a91cf27
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/typeshed/pull/14687
Please reload this pagehttps://github.com/python/typeshed/pull/14687
https://github.com/KotlinIsland
https://github.com/srittau
https://github.com/AlexWaygood
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.