René's URL Explorer Experiment


Title: gh-100530: Change the error message for `MatchClass` by sobolevn · Pull Request #103576 · python/cpython · GitHub

Open Graph Title: gh-100530: Change the error message for `MatchClass` by sobolevn · Pull Request #103576 · python/cpython

X Title: gh-100530: Change the error message for `MatchClass` by sobolevn · Pull Request #103576 · python/cpython

Description: @brandtbucher do you agree with this wording? :) Issue: Confusing error message when attempting to pass a newtype as a match pattern #100530

Open Graph Description: @brandtbucher do you agree with this wording? :) Issue: Confusing error message when attempting to pass a newtype as a match pattern #100530

X Description: @brandtbucher do you agree with this wording? :) Issue: Confusing error message when attempting to pass a newtype as a match pattern #100530

Opengraph URL: https://github.com/python/cpython/pull/103576

X: @github

direct link

Domain: github.com

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:ead7cba5-88b5-1164-00a8-698ce3a0ea99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD3B6:531C6:D5420A:12AC3C0:696A23ED
html-safe-nonce9c0295cee2bba9d8b13ceedfafb0f047255aa8b735c77f6bf902ba1148a9887a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0I2OjUzMUM2OkQ1NDIwQToxMkFDM0MwOjY5NkEyM0VEIiwidmlzaXRvcl9pZCI6IjQ2OTg4MTAzOTgxNjI5NTMxOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac52c6199ba35bda1a358fe9b78c3b4ad6980557efd06a4b460da492cf02a66d5d
hovercard-subject-tagpull_request:1315519626
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/cpython/103576/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b6b1f9bf67a4ad44e2700e30faf67e6b027d1d3c3209482eafe066a72352bd45/python/cpython/pull/103576
twitter:cardsummary_large_image
og:imagehttps://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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/103576
Reloadhttps://github.com/python/cpython/pull/103576
Reloadhttps://github.com/python/cpython/pull/103576
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/103576#issue-comment-box
brandtbucherhttps://github.com/brandtbucher
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-100530https://github.com/sobolevn/cpython/tree/issue-100530
gh-100530: Change the error message for MatchClass https://github.com/python/cpython/pull/103576#top
brandtbucherhttps://github.com/brandtbucher
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-100530https://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 pagehttps://github.com/python/cpython/pull/103576
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Apr 16, 2023https://github.com/python/cpython/pull/103576#issue-1669895156
Please reload this pagehttps://github.com/python/cpython/pull/103576
@brandtbucherhttps://github.com/brandtbucher
Confusing error message when attempting to pass a newtype as a match pattern #100530https://github.com/python/cpython/issues/100530
Please reload this pagehttps://github.com/python/cpython/pull/103576
https://github.com/sobolevn
pythongh-100530https://github.com/python/cpython/issues/100530
: Change the error message forhttps://github.com/python/cpython/pull/103576/commits/26702d01564bed7c4807e7d09d6b85a6a92acb08
MatchClasshttps://github.com/python/cpython/pull/103576/commits/26702d01564bed7c4807e7d09d6b85a6a92acb08
26702d0https://github.com/python/cpython/pull/103576/commits/26702d01564bed7c4807e7d09d6b85a6a92acb08
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
brandtbucherhttps://github.com/brandtbucher
April 16, 2023 11:40https://github.com/python/cpython/pull/103576#event-9017083123
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/a210cac77649a18bf0eb7354c9187ec91ccb078a/.github/CODEOWNERS#L26
April 16, 2023 11:40https://github.com/python/cpython/pull/103576#event-9017083231
https://github.com/bedevere-bot
bedevere-bothttps://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-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 16, 2023https://github.com/python/cpython/pull/103576#event-9017084781
https://github.com/brandtbucher
brandtbucherhttps://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
brandtbucherhttps://github.com/brandtbucher
https://github.com/python/cpython/pull/103576#pullrequestreview-1388699073
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103576
Misc/NEWS.d/next/Core and Builtins/2023-04-16-14-38-39.gh-issue-100530.OR6-sn.rsthttps://github.com/python/cpython/pull/103576/files/26702d01564bed7c4807e7d09d6b85a6a92acb08#diff-177c630dc99883c750d8518fbebf392a421dfa63174bef4cddeda73d79aa8d91
Please reload this pagehttps://github.com/python/cpython/pull/103576
https://github.com/bedevere-bot
bedevere-bothttps://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, 2023https://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
ad31eb9https://github.com/python/cpython/pull/103576/commits/ad31eb99851a34edeb34d26fa26d36d423e2aa51
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Apr 18, 2023https://github.com/python/cpython/pull/103576#issuecomment-1513563924
Please reload this pagehttps://github.com/python/cpython/pull/103576
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
07804cehttps://github.com/python/cpython/commit/07804ce24c3103ee1bb141af31b9a1a0f92f5e43
Apr 18, 2023https://github.com/python/cpython/pull/103576#event-9038613622
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 18, 2023https://github.com/python/cpython/pull/103576#event-9038614082
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 18, 2023https://github.com/python/cpython/pull/103576#issuecomment-1513690401
07804cehttps://github.com/python/cpython/commit/07804ce24c3103ee1bb141af31b9a1a0f92f5e43
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/all/#builders/234/builds/3465https://buildbot.python.org/all/#builders/234/builds/3465
07804cehttps://github.com/python/cpython/commit/07804ce24c3103ee1bb141af31b9a1a0f92f5e43
https://buildbot.python.org/all/#builders/234/builds/3465https://buildbot.python.org/all/#builders/234/builds/3465
Please reload this pagehttps://github.com/python/cpython/pull/103576
carljmhttps://github.com/carljm
Apr 20, 2023 https://github.com/python/cpython/pull/103576#ref-commit-5c0a21c
https://github.com/carljm
Merge branch 'main' into superopthttps://github.com/carljm/cpython/commit/5c0a21c0a2efd327c7c8a7481b73608ee9b8dfaf
5c0a21chttps://github.com/carljm/cpython/commit/5c0a21c0a2efd327c7c8a7481b73608ee9b8dfaf
pythongh-98040https://github.com/python/cpython/issues/98040
pythongh-102561https://github.com/python/cpython/pull/102561
pythongh-83861https://github.com/python/cpython/issues/83861
pythonGH-101545https://github.com/python/cpython/pull/101545
pythongh-102856https://github.com/python/cpython/issues/102856
python#103634https://github.com/python/cpython/pull/103634
pythongh-102856https://github.com/python/cpython/issues/102856
python#103633https://github.com/python/cpython/pull/103633
pythongh-102856https://github.com/python/cpython/issues/102856
python#102855https://github.com/python/cpython/pull/102855
pythongh-103583https://github.com/python/cpython/issues/103583
python#103589https://github.com/python/cpython/pull/103589
pythongh-83004https://github.com/python/cpython/issues/83004
python#103420https://github.com/python/cpython/pull/103420
pythonGH-88342https://github.com/python/cpython/issues/88342
python#103626https://github.com/python/cpython/pull/103626
pythongh-102778https://github.com/python/cpython/issues/102778
python#103314https://github.com/python/cpython/pull/103314
pythongh-103582https://github.com/python/cpython/issues/103582
python#103586https://github.com/python/cpython/pull/103586
pythongh-103583https://github.com/python/cpython/issues/103583
python#103588https://github.com/python/cpython/pull/103588
pythongh-103617https://github.com/python/cpython/issues/103617
python#103618https://github.com/python/cpython/pull/103618
pythongh-103596https://github.com/python/cpython/issues/103596
pythonGH-103600https://github.com/python/cpython/pull/103600
pythonGH-100530https://github.com/python/cpython/issues/100530
pythonGH-103576https://github.com/python/cpython/pull/103576
pythongh-95299https://github.com/python/cpython/issues/95299
pythonGH-103613https://github.com/python/cpython/pull/103613
python#103504https://github.com/python/cpython/pull/103504
pythongh-101100https://github.com/python/cpython/issues/101100
python#103531https://github.com/python/cpython/pull/103531
pythongh-95299https://github.com/python/cpython/issues/95299
python#101039https://github.com/python/cpython/pull/101039
pythonGH-103484https://github.com/python/cpython/issues/103484
python#103569https://github.com/python/cpython/pull/103569
pythongh-67230https://github.com/python/cpython/issues/67230
python#103598https://github.com/python/cpython/pull/103598
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%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 pagehttps://github.com/python/cpython/pull/103576
https://github.com/sobolevn
https://github.com/brandtbucher
https://github.com/bedevere-bot
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.