| 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:ead7cba5-88b5-1164-00a8-698ce3a0ea99 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D3B6:531C6:D5420A:12AC3C0:696A23ED |
| html-safe-nonce | 9c0295cee2bba9d8b13ceedfafb0f047255aa8b735c77f6bf902ba1148a9887a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0I2OjUzMUM2OkQ1NDIwQToxMkFDM0MwOjY5NkEyM0VEIiwidmlzaXRvcl9pZCI6IjQ2OTg4MTAzOTgxNjI5NTMxOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52c6199ba35bda1a358fe9b78c3b4ad6980557efd06a4b460da492cf02a66d5d |
| hovercard-subject-tag | pull_request:1315519626 |
| 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/103576/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b6b1f9bf67a4ad44e2700e30faf67e6b027d1d3c3209482eafe066a72352bd45/python/cpython/pull/103576 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6b1f9bf67a4ad44e2700e30faf67e6b027d1d3c3209482eafe066a72352bd45/python/cpython/pull/103576 |
| og:image:alt | @brandtbucher do you agree with this wording? :)
Issue: Confusing error message when attempting to pass a newtype as a match pattern #100530 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103576#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103576 |
| 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%2F103576 |
|
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/103576 |
| Reload | https://github.com/python/cpython/pull/103576 |
| Reload | https://github.com/python/cpython/pull/103576 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
|
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/103576 |
|
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/103576#issue-comment-box |
| brandtbucher | https://github.com/brandtbucher |
| python:main | https://github.com/python/cpython/tree/main |
| sobolevn:issue-100530 | https://github.com/sobolevn/cpython/tree/issue-100530 |
|
gh-100530: Change the error message for MatchClass
| https://github.com/python/cpython/pull/103576#top |
| brandtbucher | https://github.com/brandtbucher |
| python:main | https://github.com/python/cpython/tree/main |
| sobolevn:issue-100530 | https://github.com/sobolevn/cpython/tree/issue-100530 |
|
Conversation
4
| https://github.com/python/cpython/pull/103576 |
|
Commits
2
| https://github.com/python/cpython/pull/103576/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103576/checks |
|
Files changed
| https://github.com/python/cpython/pull/103576/files |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
| Apr 16, 2023 | https://github.com/python/cpython/pull/103576#issue-1669895156 |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
| @brandtbucher | https://github.com/brandtbucher |
| Confusing error message when attempting to pass a newtype as a match pattern #100530 | https://github.com/python/cpython/issues/100530 |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
|
| https://github.com/sobolevn |
| pythongh-100530 | https://github.com/python/cpython/issues/100530 |
| : Change the error message for | https://github.com/python/cpython/pull/103576/commits/26702d01564bed7c4807e7d09d6b85a6a92acb08 |
| MatchClass | https://github.com/python/cpython/pull/103576/commits/26702d01564bed7c4807e7d09d6b85a6a92acb08 |
| 26702d0 | https://github.com/python/cpython/pull/103576/commits/26702d01564bed7c4807e7d09d6b85a6a92acb08 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
| brandtbucher | https://github.com/brandtbucher |
| April 16, 2023 11:40 | https://github.com/python/cpython/pull/103576#event-9017083123 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
| markshannon | https://github.com/markshannon |
| code owner | https://github.com/python/cpython/blob/a210cac77649a18bf0eb7354c9187ec91ccb078a/.github/CODEOWNERS#L26 |
| April 16, 2023 11:40 | https://github.com/python/cpython/pull/103576#event-9017083231 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Apr 16, 2023
| https://github.com/python/cpython/pull/103576#ref-issue-1510675601 |
|
Confusing error message when attempting to pass a newtype as a match pattern
#100530
| https://github.com/python/cpython/issues/100530 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Apr 16, 2023 | https://github.com/python/cpython/pull/103576#event-9017084781 |
| https://github.com/brandtbucher |
| brandtbucher | https://github.com/brandtbucher |
|
Apr 17, 2023
| https://github.com/python/cpython/pull/103576#pullrequestreview-1388699073 |
|
View reviewed changes
| https://github.com/python/cpython/pull/103576/files/26702d01564bed7c4807e7d09d6b85a6a92acb08 |
| brandtbucher | https://github.com/brandtbucher |
| https://github.com/python/cpython/pull/103576#pullrequestreview-1388699073 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
| Misc/NEWS.d/next/Core and Builtins/2023-04-16-14-38-39.gh-issue-100530.OR6-sn.rst | https://github.com/python/cpython/pull/103576/files/26702d01564bed7c4807e7d09d6b85a6a92acb08#diff-177c630dc99883c750d8518fbebf392a421dfa63174bef4cddeda73d79aa8d91 |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
| 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 17, 2023 | https://github.com/python/cpython/pull/103576#event-9027724475 |
|
| https://github.com/sobolevn |
|
| https://github.com/brandtbucher |
| Update Misc/NEWS.d/next/Core and Builtins/2023-04-16-14-38-39.gh-issu… | https://github.com/python/cpython/pull/103576/commits/ad31eb99851a34edeb34d26fa26d36d423e2aa51 |
| ad31eb9 | https://github.com/python/cpython/pull/103576/commits/ad31eb99851a34edeb34d26fa26d36d423e2aa51 |
| https://github.com/brandtbucher |
| brandtbucher | https://github.com/brandtbucher |
| Apr 18, 2023 | https://github.com/python/cpython/pull/103576#issuecomment-1513563924 |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
| https://github.com/brandtbucher |
| brandtbucher | https://github.com/brandtbucher |
| 07804ce | https://github.com/python/cpython/commit/07804ce24c3103ee1bb141af31b9a1a0f92f5e43 |
| Apr 18, 2023 | https://github.com/python/cpython/pull/103576#event-9038613622 |
| 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 18, 2023 | https://github.com/python/cpython/pull/103576#event-9038614082 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Apr 18, 2023 | https://github.com/python/cpython/pull/103576#issuecomment-1513690401 |
| 07804ce | https://github.com/python/cpython/commit/07804ce24c3103ee1bb141af31b9a1a0f92f5e43 |
| the buildbot page in the devguide | https://devguide.python.org/buildbots/ |
| https://buildbot.python.org/all/#builders/234/builds/3465 | https://buildbot.python.org/all/#builders/234/builds/3465 |
| 07804ce | https://github.com/python/cpython/commit/07804ce24c3103ee1bb141af31b9a1a0f92f5e43 |
| https://buildbot.python.org/all/#builders/234/builds/3465 | https://buildbot.python.org/all/#builders/234/builds/3465 |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
| carljm | https://github.com/carljm |
|
Apr 20, 2023
| https://github.com/python/cpython/pull/103576#ref-commit-5c0a21c |
|
| https://github.com/carljm |
| Merge branch 'main' into superopt | https://github.com/carljm/cpython/commit/5c0a21c0a2efd327c7c8a7481b73608ee9b8dfaf |
| 5c0a21c | https://github.com/carljm/cpython/commit/5c0a21c0a2efd327c7c8a7481b73608ee9b8dfaf |
| pythongh-98040 | https://github.com/python/cpython/issues/98040 |
| pythongh-102561 | https://github.com/python/cpython/pull/102561 |
| pythongh-83861 | https://github.com/python/cpython/issues/83861 |
| pythonGH-101545 | https://github.com/python/cpython/pull/101545 |
| pythongh-102856 | https://github.com/python/cpython/issues/102856 |
| python#103634 | https://github.com/python/cpython/pull/103634 |
| pythongh-102856 | https://github.com/python/cpython/issues/102856 |
| python#103633 | https://github.com/python/cpython/pull/103633 |
| pythongh-102856 | https://github.com/python/cpython/issues/102856 |
| python#102855 | https://github.com/python/cpython/pull/102855 |
| pythongh-103583 | https://github.com/python/cpython/issues/103583 |
| python#103589 | https://github.com/python/cpython/pull/103589 |
| pythongh-83004 | https://github.com/python/cpython/issues/83004 |
| python#103420 | https://github.com/python/cpython/pull/103420 |
| pythonGH-88342 | https://github.com/python/cpython/issues/88342 |
| python#103626 | https://github.com/python/cpython/pull/103626 |
| pythongh-102778 | https://github.com/python/cpython/issues/102778 |
| python#103314 | https://github.com/python/cpython/pull/103314 |
| pythongh-103582 | https://github.com/python/cpython/issues/103582 |
| python#103586 | https://github.com/python/cpython/pull/103586 |
| pythongh-103583 | https://github.com/python/cpython/issues/103583 |
| python#103588 | https://github.com/python/cpython/pull/103588 |
| pythongh-103617 | https://github.com/python/cpython/issues/103617 |
| python#103618 | https://github.com/python/cpython/pull/103618 |
| pythongh-103596 | https://github.com/python/cpython/issues/103596 |
| pythonGH-103600 | https://github.com/python/cpython/pull/103600 |
| pythonGH-100530 | https://github.com/python/cpython/issues/100530 |
| pythonGH-103576 | https://github.com/python/cpython/pull/103576 |
| pythongh-95299 | https://github.com/python/cpython/issues/95299 |
| pythonGH-103613 | https://github.com/python/cpython/pull/103613 |
| python#103504 | https://github.com/python/cpython/pull/103504 |
| pythongh-101100 | https://github.com/python/cpython/issues/101100 |
| python#103531 | https://github.com/python/cpython/pull/103531 |
| pythongh-95299 | https://github.com/python/cpython/issues/95299 |
| python#101039 | https://github.com/python/cpython/pull/101039 |
| pythonGH-103484 | https://github.com/python/cpython/issues/103484 |
| python#103569 | https://github.com/python/cpython/pull/103569 |
| pythongh-67230 | https://github.com/python/cpython/issues/67230 |
| python#103598 | https://github.com/python/cpython/pull/103598 |
| 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%2F103576 |
|
| https://github.com/brandtbucher |
|
brandtbucher
| https://github.com/brandtbucher |
|
| https://github.com/python/cpython/pull/103576/files/26702d01564bed7c4807e7d09d6b85a6a92acb08 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
| Please reload this page | https://github.com/python/cpython/pull/103576 |
|
| https://github.com/sobolevn |
|
| https://github.com/brandtbucher |
|
| https://github.com/bedevere-bot |
|
| 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 |