| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:90a318e2-2313-6b72-d614-ff249313f385 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D006:370586:5AF78:7FBD1:6B00509A |
| html-safe-nonce | 4e20828b495dad0321e01cae6a7e93ad4da8e02a00e86b0e487487d984a906bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA2OjM3MDU4Njo1QUY3ODo3RkJEMTo2QjAwNTA5QSIsInZpc2l0b3JfaWQiOiI1MTM0MjQ1ODY0OTY5MDk3MzcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3ebf60c1aaadaec0dadd8106d08131fdb93aabe0ee24c061224f8e752aa1e5fe |
| hovercard-subject-tag | pull_request:2806877037 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/14687/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ec9d66e524dd0ba8be68617cff76ce0d7fa0b2d75d82ea3a18d9958177e1ac4d/python/typeshed/pull/14687 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec9d66e524dd0ba8be68617cff76ce0d7fa0b2d75d82ea3a18d9958177e1ac4d/python/typeshed/pull/14687 |
| og:image:alt | 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 (... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KotlinIsland |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typeshed/pull/14687#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| Sign up | https://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 |
| Reload | https://github.com/python/typeshed/pull/14687 |
| Reload | https://github.com/python/typeshed/pull/14687 |
| Reload | https://github.com/python/typeshed/pull/14687 |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests252 (252) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| https://github.com/python/typeshed |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/typeshed/tree/main |
| KotlinIsland:UnionType | https://github.com/KotlinIsland/typeshed/tree/UnionType |
| Conversation | https://github.com/python/typeshed/pull/14687 |
| Commits5 (5) | https://github.com/python/typeshed/pull/14687/commits |
| Checks | https://github.com/python/typeshed/pull/14687/checks |
| Files changed | https://github.com/python/typeshed/pull/14687/files |
| fix UnionType.__or__ and add UnionType.__getitem__ | https://github.com/python/typeshed/pull/14687#top |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/typeshed/tree/main |
| KotlinIsland:UnionType | https://github.com/KotlinIsland/typeshed/tree/UnionType |
|
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| Sep 8, 2025 | https://github.com/python/typeshed/pull/14687#issue-3392649148 |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| special case Any in righthand-able operators to be NotImplemented lenient DetachHead/basedpyright#1465 | https://github.com/DetachHead/basedpyright/issues/1465 |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| force-pushed | https://github.com/python/typeshed/compare/58cf572213cae998fd086944d8d258c3e9cfa406..0341e8e4771dfd35ca1d1b26b0051eac00c61e70 |
| 58cf572 | https://github.com/python/typeshed/commit/58cf572213cae998fd086944d8d258c3e9cfa406 |
| 0341e8e | https://github.com/python/typeshed/commit/0341e8e4771dfd35ca1d1b26b0051eac00c61e70 |
|
Compare
| https://github.com/python/typeshed/compare/58cf572213cae998fd086944d8d258c3e9cfa406..0341e8e4771dfd35ca1d1b26b0051eac00c61e70 |
| September 22, 2025 02:25 | https://github.com/python/typeshed/pull/14687#event-19826814634 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| JelleZijlstra | https://github.com/JelleZijlstra |
| September 22, 2025 09:44 | https://github.com/python/typeshed/pull/14687#event-19833209565 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| Sep 22, 2025 | https://github.com/python/typeshed/pull/14687#issuecomment-3317873142 |
| @JelleZijlstra | https://github.com/JelleZijlstra |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://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.pyi | https://github.com/python/typeshed/pull/14687/files#diff-9c37f4687cd29f6fafc5e260029185623719376d931254008e0783bcd478241f |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| force-pushed | https://github.com/python/typeshed/compare/d86f827d4f33caaa502e114fa84e1effc902b0e8..178aef144ce27eafc477609b876e4949327b7923 |
| d86f827 | https://github.com/python/typeshed/commit/d86f827d4f33caaa502e114fa84e1effc902b0e8 |
| 178aef1 | https://github.com/python/typeshed/commit/178aef144ce27eafc477609b876e4949327b7923 |
|
Compare
| https://github.com/python/typeshed/compare/d86f827d4f33caaa502e114fa84e1effc902b0e8..178aef144ce27eafc477609b876e4949327b7923 |
| September 23, 2025 01:28 | https://github.com/python/typeshed/pull/14687#event-19854472808 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| AlexWaygood | https://github.com/AlexWaygood |
| September 23, 2025 09:53 | https://github.com/python/typeshed/pull/14687#event-19861899000 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://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 |
| AlexWaygood | https://github.com/AlexWaygood |
| https://github.com/python/typeshed/pull/14687#pullrequestreview-3257460389 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/python/typeshed/blob/main/stdlib/%40tests/test_cases/check_types.py | https://github.com/python/typeshed/blob/main/stdlib/%40tests/test_cases/check_types.py |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| stdlib/types.pyi | https://github.com/python/typeshed/pull/14687/files#diff-9c37f4687cd29f6fafc5e260029185623719376d931254008e0783bcd478241f |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| stdlib/types.pyi | https://github.com/python/typeshed/pull/14687/files#diff-9c37f4687cd29f6fafc5e260029185623719376d931254008e0783bcd478241f |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| KotlinIsland | https://github.com/KotlinIsland |
| September 23, 2025 23:18 | https://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 |
| 5ddc193 | https://github.com/python/typeshed/pull/14687/commits/5ddc1931409cc78d21808dc9124b1f6270d8e749 |
|
| https://github.com/KotlinIsland |
| update comment | https://github.com/python/typeshed/pull/14687/commits/aca7becf37e05ee9a81c50a86cc9aad7f7984668 |
| aca7bec | https://github.com/python/typeshed/pull/14687/commits/aca7becf37e05ee9a81c50a86cc9aad7f7984668 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| force-pushed | https://github.com/python/typeshed/compare/178aef144ce27eafc477609b876e4949327b7923..816305744cb735660e15031e44d6d92197f01542 |
| 178aef1 | https://github.com/python/typeshed/commit/178aef144ce27eafc477609b876e4949327b7923 |
| 8163057 | https://github.com/python/typeshed/commit/816305744cb735660e15031e44d6d92197f01542 |
|
Compare
| https://github.com/python/typeshed/compare/178aef144ce27eafc477609b876e4949327b7923..816305744cb735660e15031e44d6d92197f01542 |
| September 23, 2025 13:38 | https://github.com/python/typeshed/pull/14687#event-19866932491 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://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 |
| AlexWaygood | https://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.py | https://github.com/python/typeshed/pull/14687/files#diff-dba08e32ef510d4bc5a6c0ddc8e9af48a5c5e227cb04ca23fa69a51eee1d7451 |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| force-pushed | https://github.com/python/typeshed/compare/816305744cb735660e15031e44d6d92197f01542..3431c0af6dcd5e98025d468a066a3a41a12371c9 |
| 8163057 | https://github.com/python/typeshed/commit/816305744cb735660e15031e44d6d92197f01542 |
| 3431c0a | https://github.com/python/typeshed/commit/3431c0af6dcd5e98025d468a066a3a41a12371c9 |
|
Compare
| https://github.com/python/typeshed/compare/816305744cb735660e15031e44d6d92197f01542..3431c0af6dcd5e98025d468a066a3a41a12371c9 |
| September 23, 2025 13:44 | https://github.com/python/typeshed/pull/14687#event-19867044806 |
|
| https://github.com/KotlinIsland |
| add tests, update comments, remove type | https://github.com/python/typeshed/pull/14687/commits/8c60e06b27682d9e4e074f39bc0bb8567a91cf27 |
| 8c60e06 | https://github.com/python/typeshed/pull/14687/commits/8c60e06b27682d9e4e074f39bc0bb8567a91cf27 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| force-pushed | https://github.com/python/typeshed/compare/3431c0af6dcd5e98025d468a066a3a41a12371c9..8c60e06b27682d9e4e074f39bc0bb8567a91cf27 |
| 3431c0a | https://github.com/python/typeshed/commit/3431c0af6dcd5e98025d468a066a3a41a12371c9 |
| 8c60e06 | https://github.com/python/typeshed/commit/8c60e06b27682d9e4e074f39bc0bb8567a91cf27 |
|
Compare
| https://github.com/python/typeshed/compare/3431c0af6dcd5e98025d468a066a3a41a12371c9..8c60e06b27682d9e4e074f39bc0bb8567a91cf27 |
| September 23, 2025 13:45 | https://github.com/python/typeshed/pull/14687#event-19867071160 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14687 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://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.py | https://github.com/python/typeshed/pull/14687/files/8c60e06b27682d9e4e074f39bc0bb8567a91cf27#diff-dba08e32ef510d4bc5a6c0ddc8e9af48a5c5e227cb04ca23fa69a51eee1d7451 |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
|
| https://github.com/KotlinIsland |
|
| https://github.com/AlexWaygood |
| Update stdlib/@tests/test_cases/check_types.py | https://github.com/python/typeshed/pull/14687/commits/b8c181133ec7ebb249dabe02d990295ecb363550 |
| b8c1811 | https://github.com/python/typeshed/pull/14687/commits/b8c181133ec7ebb249dabe02d990295ecb363550 |
| https://github.com/apps/github-actions |
| Sign in to view | https://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 |
| eccab05 | https://github.com/python/typeshed/pull/14687/commits/eccab057bdf7c6ddd500c64219c9ca9d4f1a8b15 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Sep 23, 2025 | https://github.com/python/typeshed/pull/14687#issuecomment-3324539363 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| cef4154 | https://github.com/python/typeshed/commit/cef41544d0e52685e53cc0203da9b611424fdc01 |
| Sep 24, 2025 | https://github.com/python/typeshed/pull/14687#event-19890875597 |
| https://github.com/KotlinIsland |
| KotlinIsland | https://github.com/KotlinIsland |
| September 24, 2025 15:00 | https://github.com/python/typeshed/pull/14687#event-19895193380 |
| https://github.com/brianschubert |
| brianschubert | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/python/typeshed/pull/14687 |
| Please reload this page | https://github.com/python/typeshed/pull/14687 |
|
| https://github.com/KotlinIsland |
|
| https://github.com/srittau |
|
| https://github.com/AlexWaygood |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |