| 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:e1fcafc2-0834-28d8-b7d4-3c7a582369a2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A160:531C6:CFA7CA:122FC07:696A22F4 |
| html-safe-nonce | 37945a1d8f5bc9c963b868e80809055d07f2c52e669c73832fc6f5d847edfa88 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTYwOjUzMUM2OkNGQTdDQToxMjJGQzA3OjY5NkEyMkY0IiwidmlzaXRvcl9pZCI6IjY2MDQ0ODczNzg4MDgyMTgzNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d684621f71619cdbe9b52cebd41e9df2fdf5e9c011d830474eeaf1257ac93bb0 |
| hovercard-subject-tag | pull_request:1324439947 |
| 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/103720/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5a8e50ad19bde77961cf60791122dce0865bc154a7bdf051d2a4c8d482c34153/python/cpython/pull/103720 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a8e50ad19bde77961cf60791122dce0865bc154a7bdf051d2a4c8d482c34153/python/cpython/pull/103720 |
| og:image:alt | (cherry picked from commit 5041c2b)
Co-authored-by: Nikita Sobolev mail@sobolevn.me
Issue: Incorrect deduplication of Enum values in Union[Literal[1], Literal[SomeEnum.one]] #103592 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miss-islington |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| 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 | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103720#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103720 |
| 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%2F103720 |
|
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/103720 |
| Reload | https://github.com/python/cpython/pull/103720 |
| Reload | https://github.com/python/cpython/pull/103720 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103720 |
|
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/103720 |
|
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/103720#issue-comment-box |
| AlexWaygood | https://github.com/AlexWaygood |
| python:3.11 | https://github.com/python/cpython/tree/3.11 |
| miss-islington:backport-5041c2b-3.11 | https://github.com/miss-islington/cpython/tree/backport-5041c2b-3.11 |
|
[3.11] gh-103592: Add tests of Literal with Enum and Union of Literals (GH-103706)
| https://github.com/python/cpython/pull/103720#top |
| AlexWaygood | https://github.com/AlexWaygood |
| python:3.11 | https://github.com/python/cpython/tree/3.11 |
| miss-islington:backport-5041c2b-3.11 | https://github.com/miss-islington/cpython/tree/backport-5041c2b-3.11 |
|
Conversation
0
| https://github.com/python/cpython/pull/103720 |
|
Commits
1
| https://github.com/python/cpython/pull/103720/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103720/checks |
|
Files changed
| https://github.com/python/cpython/pull/103720/files |
| Please reload this page | https://github.com/python/cpython/pull/103720 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#issue-1680109898 |
| Please reload this page | https://github.com/python/cpython/pull/103720 |
| 5041c2b | https://github.com/python/cpython/commit/5041c2ba6e9c992d1c54834481c9be64581c0235 |
| Incorrect deduplication of Enum values in Union[Literal[1], Literal[SomeEnum.one]] #103592 | https://github.com/python/cpython/issues/103592 |
| Please reload this page | https://github.com/python/cpython/pull/103720 |
|
| https://github.com/sobolevn |
|
| https://github.com/miss-islington |
| pythongh-103592 | https://github.com/python/cpython/issues/103592 |
| : Add tests of | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| Literal | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| with | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| Enum | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| and | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| Union | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| of `L… | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| 14db874 | https://github.com/python/cpython/pull/103720/commits/14db874a5a0331662331001d89440121cc0e58ee |
| pythonGH-103706 | https://github.com/python/cpython/pull/103706 |
| 5041c2b | https://github.com/miss-islington/cpython/commit/5041c2ba6e9c992d1c54834481c9be64581c0235 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| AlexWaygood | https://github.com/AlexWaygood |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
| JelleZijlstra | https://github.com/JelleZijlstra |
| gvanrossum | https://github.com/gvanrossum |
| code owners | https://github.com/python/cpython/blob/ec29d0c0916af129eaafb0ad392449ca173309ed/.github/CODEOWNERS#L136 |
| April 23, 2023 17:50 | https://github.com/python/cpython/pull/103720#event-9075280706 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
tests
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075280760 |
|
Incorrect deduplication of Enum values in Union[Literal[1], Literal[SomeEnum.one]]
#103592
| https://github.com/python/cpython/issues/103592 |
|
gh-103592: Add tests of Literal with Enum and Union of Literals
#103706
| https://github.com/python/cpython/pull/103706 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075280865 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 23, 2023
| https://github.com/python/cpython/pull/103720#pullrequestreview-1396943634 |
|
View reviewed changes
| https://github.com/python/cpython/pull/103720/files/14db874a5a0331662331001d89440121cc0e58ee |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075281340 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075281433 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
topic-typing
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-typing |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075281738 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| 4e9635e | https://github.com/python/cpython/commit/4e9635e2b110b4d0d38d8e839e9604075b43a7f4 |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075315234 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Apr 23, 2023 | https://github.com/python/cpython/pull/103720#event-9075315309 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| April 23, 2023 18:15 | https://github.com/python/cpython/pull/103720#event-9075315393 |
| 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%2F103720 |
|
| https://github.com/AlexWaygood |
|
AlexWaygood
| https://github.com/AlexWaygood |
|
| https://github.com/python/cpython/pull/103720/files/14db874a5a0331662331001d89440121cc0e58ee |
|
| https://github.com/gvanrossum |
|
gvanrossum
| https://github.com/gvanrossum |
|
| https://github.com/Fidget-Spinner |
|
Fidget-Spinner
| https://github.com/Fidget-Spinner |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/AlexWaygood |
|
AlexWaygood
| https://github.com/AlexWaygood |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
tests
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests |
|
topic-typing
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-typing |
| Please reload this page | https://github.com/python/cpython/pull/103720 |
|
| https://github.com/miss-islington |
|
| https://github.com/AlexWaygood |
|
| https://github.com/bedevere-bot |
|
| https://github.com/sobolevn |
|
| 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 |