| 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:7c8fcae7-5510-4443-cd90-d6b22c221fb3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B208:28AE23:2A1D8A3:38EC0DD:696AE4E3 |
| html-safe-nonce | 842e128d193ecbb9ea6c2bd7e5e0aad7ca2e0bb2450cc99f46f8654a03b8cfe9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjA4OjI4QUUyMzoyQTFEOEEzOjM4RUMwREQ6Njk2QUU0RTMiLCJ2aXNpdG9yX2lkIjoiMzU4MDg1MTE2ODU5MTE0NDE2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7bd92397e738b59a4618e73452d442a123df55c5a46c83cc80b7d2efcd911782 |
| hovercard-subject-tag | pull_request:2832167941 |
| 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/cpython/138967/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/40e4b67bc041189c664d892e4da4490c827125536fa961252f42c2b26a11e661/python/cpython/pull/138967 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/40e4b67bc041189c664d892e4da4490c827125536fa961252f42c2b26a11e661/python/cpython/pull/138967 |
| og:image:alt | This reverts commit d1db43c.
This reverts commit 0f511d8.
This reverts commit dc6d66f.
Issue: Merge 'types.UnionType' with typing._UnionGenericAlias, not typing.Union #137065
📚 Docume... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 3d84d50b3c75fa36755c3cf392edbc09e626f979 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/138967#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138967 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138967 |
|
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%2Fcpython |
| Reload | https://github.com/python/cpython/pull/138967 |
| Reload | https://github.com/python/cpython/pull/138967 |
| Reload | https://github.com/python/cpython/pull/138967 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/138967#issue-comment-box |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| serhiy-storchaka:revert-gh-105499 | https://github.com/serhiy-storchaka/cpython/tree/revert-gh-105499 |
|
gh-137065: Revert "gh-105499: Merge typing.Union and types.UnionType (#105511)"
| https://github.com/python/cpython/pull/138967#top |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| serhiy-storchaka:revert-gh-105499 | https://github.com/serhiy-storchaka/cpython/tree/revert-gh-105499 |
|
Conversation
5
| https://github.com/python/cpython/pull/138967 |
|
Commits
2
| https://github.com/python/cpython/pull/138967/commits |
|
Checks
43
| https://github.com/python/cpython/pull/138967/checks |
|
Files changed
26
| https://github.com/python/cpython/pull/138967/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Sep 16, 2025 | https://github.com/python/cpython/pull/138967#issue-3421229513 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| d1db43c | https://github.com/python/cpython/commit/d1db43c139121202898e2d75df43ed2eb06a8470 |
| 0f511d8 | https://github.com/python/cpython/commit/0f511d8b44dd9993474402411af8c83f4964bc95 |
| dc6d66f | https://github.com/python/cpython/commit/dc6d66f44c0a25b69dfec7e4ffc4a6fa5e4feada |
| Merge 'types.UnionType' with typing._UnionGenericAlias, not typing.Union #137065 | https://github.com/python/cpython/issues/137065 |
| https://cpython-previews--138967.org.readthedocs.build/ | https://cpython-previews--138967.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| AA-Turner | https://github.com/AA-Turner |
| code owner | https://github.com/python/cpython/blob/d61dda52bac93927829f853c952485e2b0c42899/.github/CODEOWNERS#L110 |
| September 16, 2025 09:03 | https://github.com/python/cpython/pull/138967#event-19720708983 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
release-blocker
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Arelease-blocker |
| Sep 16, 2025 | https://github.com/python/cpython/pull/138967#event-19720709028 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| AlexWaygood | https://github.com/AlexWaygood |
| JelleZijlstra | https://github.com/JelleZijlstra |
| rhettinger | https://github.com/rhettinger |
| code owners | https://github.com/python/cpython/blob/d61dda52bac93927829f853c952485e2b0c42899/.github/CODEOWNERS#L578 |
| September 16, 2025 09:03 | https://github.com/python/cpython/pull/138967#event-19720709037 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Sep 16, 2025 | https://github.com/python/cpython/pull/138967#event-19720709113 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| ericvsmith | https://github.com/ericvsmith |
| code owner | https://github.com/python/cpython/blob/d61dda52bac93927829f853c952485e2b0c42899/.github/CODEOWNERS#L405 |
| September 16, 2025 09:03 | https://github.com/python/cpython/pull/138967#event-19720709135 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Release and Deferred blockers 🚫 | https://github.com/orgs/python/projects/2 |
| Sep 16, 2025 | https://github.com/python/cpython/pull/138967#event-19720709692 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Release and Deferred blockers 🚫 | https://github.com/orgs/python/projects/2 |
| Sep 16, 2025 | https://github.com/python/cpython/pull/138967#event-19720710431 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Sep 16, 2025 | https://github.com/python/cpython/pull/138967#event-19720710059 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Sep 16, 2025
| https://github.com/python/cpython/pull/138967#ref-issue-3258527900 |
|
Merge 'types.UnionType' with typing._UnionGenericAlias, not typing.Union
#137065
| https://github.com/python/cpython/issues/137065 |
|
| https://github.com/serhiy-storchaka |
| pythongh-137065 | https://github.com/python/cpython/issues/137065 |
| : Revert " | https://github.com/python/cpython/pull/138967/commits/5cd4a72256bc3ab81c19a24d61e98ded7349b6c6 |
| pythongh-105499 | https://github.com/python/cpython/issues/105499 |
| : Merge typing.Union and type… | https://github.com/python/cpython/pull/138967/commits/5cd4a72256bc3ab81c19a24d61e98ded7349b6c6 |
| 5cd4a72 | https://github.com/python/cpython/pull/138967/commits/5cd4a72256bc3ab81c19a24d61e98ded7349b6c6 |
| python#105511 | https://github.com/python/cpython/pull/105511 |
| d1db43c | https://github.com/serhiy-storchaka/cpython/commit/d1db43c139121202898e2d75df43ed2eb06a8470 |
| 0f511d8 | https://github.com/serhiy-storchaka/cpython/commit/0f511d8b44dd9993474402411af8c83f4964bc95 |
| dc6d66f | https://github.com/serhiy-storchaka/cpython/commit/dc6d66f44c0a25b69dfec7e4ffc4a6fa5e4feada |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| force-pushed | https://github.com/python/cpython/compare/efdd22896172aeef20f9afb9a8a650b4b995c47c..5cd4a72256bc3ab81c19a24d61e98ded7349b6c6 |
| efdd228 | https://github.com/python/cpython/commit/efdd22896172aeef20f9afb9a8a650b4b995c47c |
| 5cd4a72 | https://github.com/python/cpython/commit/5cd4a72256bc3ab81c19a24d61e98ded7349b6c6 |
|
Compare
| https://github.com/python/cpython/compare/efdd22896172aeef20f9afb9a8a650b4b995c47c..5cd4a72256bc3ab81c19a24d61e98ded7349b6c6 |
| September 16, 2025 09:07 | https://github.com/python/cpython/pull/138967#event-19720781792 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Sep 16, 2025
| https://github.com/python/cpython/pull/138967#ref-pullrequest-3258996394 |
|
gh-137065: Unmerge types.UnionType and typing.Union
#137069
| https://github.com/python/cpython/pull/137069 |
|
| https://github.com/serhiy-storchaka |
| Fix annotationlib. | https://github.com/python/cpython/pull/138967/commits/e719e23988a9b3cfc81c12f0dd0eff2319abce18 |
| e719e23 | https://github.com/python/cpython/pull/138967/commits/e719e23988a9b3cfc81c12f0dd0eff2319abce18 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Sep 17, 2025 | https://github.com/python/cpython/pull/138967#issuecomment-3304051853 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| Sep 18, 2025 | https://github.com/python/cpython/pull/138967#issuecomment-3306144820 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
release-blocker
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Arelease-blocker |
| Sep 18, 2025 | https://github.com/python/cpython/pull/138967#event-19768834748 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Sep 18, 2025 | https://github.com/python/cpython/pull/138967#issuecomment-3306554761 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Sep 18, 2025 | https://github.com/python/cpython/pull/138967#issuecomment-3307216800 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| Sep 18, 2025 | https://github.com/python/cpython/pull/138967#issuecomment-3307247431 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
| 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%2Fcpython%2Fpull%2F138967 |
|
| https://github.com/AA-Turner |
|
AA-Turner
| https://github.com/AA-Turner |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/AlexWaygood |
|
AlexWaygood
| https://github.com/AlexWaygood |
|
| https://github.com/rhettinger |
|
rhettinger
| https://github.com/rhettinger |
|
| https://github.com/ericvsmith |
|
ericvsmith
| https://github.com/ericvsmith |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
|
Release and Deferred blockers 🚫
| https://github.com/orgs/python/projects/2 |
| Please reload this page | https://github.com/python/cpython/pull/138967 |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/rhettinger |
|
| https://github.com/hugovk |
|
| 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 |