René's URL Explorer Experiment


Title: gh-134036: Improve error messages for invalid `raise` statements by sobolevn · Pull Request #134077 · python/cpython · GitHub

Open Graph Title: gh-134036: Improve error messages for invalid `raise` statements by sobolevn · Pull Request #134077 · python/cpython

X Title: gh-134036: Improve error messages for invalid `raise` statements by sobolevn · Pull Request #134077 · python/cpython

Description: Better error message wordings are welcome! Issue: Improve raise from ValueError() error message #134036

Open Graph Description: Better error message wordings are welcome! Issue: Improve raise from ValueError() error message #134036

X Description: Better error message wordings are welcome! Issue: Improve raise from ValueError() error message #134036

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

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:1ef0d68e-d4d1-18f6-d61c-1661eca33f54
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5FC:3C7D7F:105B896:1688FEF:696A9955
html-safe-nonce8f614562953cc7c4fa13ed49dc43381f261b4b40a7ae84c43c757b0ae6bd25b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUZDOjNDN0Q3RjoxMDVCODk2OjE2ODhGRUY6Njk2QTk5NTUiLCJ2aXNpdG9yX2lkIjoiMTI3Mzk3Nzg0Mzk2Nzc2MDcyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac37468fbec02b82595c949e61e2ac5ffe3c0e488792d4e83299ca481835a18280
hovercard-subject-tagpull_request:2523683911
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/134077/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3f8e0c71626ee7f4f643cfbd4332dbc1c88c3fe2a840bbb7aede4aa2adbb7672/python/cpython/pull/134077
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3f8e0c71626ee7f4f643cfbd4332dbc1c88c3fe2a840bbb7aede4aa2adbb7672/python/cpython/pull/134077
og:image:altBetter error message wordings are welcome! Issue: Improve raise from ValueError() error message #134036
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Nonec0d8175e41e0e55b9e984c935b24b808cabab919dd3174aa45dac3ef503ed1af
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
release99aab454e5ddc8df30805fb76c114c3008a15842
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/134077#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134077
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%2F134077
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/134077
Reloadhttps://github.com/python/cpython/pull/134077
Reloadhttps://github.com/python/cpython/pull/134077
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/134077
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/134077
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/134077#issue-comment-box
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-134036https://github.com/sobolevn/cpython/tree/issue-134036
gh-134036: Improve error messages for invalid raise statements https://github.com/python/cpython/pull/134077#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-134036https://github.com/sobolevn/cpython/tree/issue-134036
Conversation 5 https://github.com/python/cpython/pull/134077
Commits 1 https://github.com/python/cpython/pull/134077/commits
Checks 43 https://github.com/python/cpython/pull/134077/checks
Files changed https://github.com/python/cpython/pull/134077/files
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
May 16, 2025https://github.com/python/cpython/pull/134077#issue-3068037467
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://private-user-images.githubusercontent.com/4660275/444398884-ced16afa-1cbb-48b4-824c-95300b5f7062.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg1OTQwNTAsIm5iZiI6MTc2ODU5Mzc1MCwicGF0aCI6Ii80NjYwMjc1LzQ0NDM5ODg4NC1jZWQxNmFmYS0xY2JiLTQ4YjQtODI0Yy05NTMwMGI1ZjcwNjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDExNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAxMTZUMjAwMjMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODVlZWVhMTY5YzM4ZGUzMDYzOGY4YThiOTk0OWVmNjlmMWZjZjA1M2U4ZDMxOGRjYWVkNGVjYTBhOWM5NTFkZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.GO7Rri3-4r9smez6eOo3p2ysyEa385b_hLMjGTJ_6ck
Improve raise from ValueError() error message #134036https://github.com/python/cpython/issues/134036
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/sobolevn
pythongh-134036https://github.com/python/cpython/issues/134036
: Improve error messages for invalidhttps://github.com/python/cpython/pull/134077/commits/d8c385a791333d5bf3b93bbd254b09032d322835
raisehttps://github.com/python/cpython/pull/134077/commits/d8c385a791333d5bf3b93bbd254b09032d322835
statementshttps://github.com/python/cpython/pull/134077/commits/d8c385a791333d5bf3b93bbd254b09032d322835
d8c385ahttps://github.com/python/cpython/pull/134077/commits/d8c385a791333d5bf3b93bbd254b09032d322835
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/7a504b3d5da98874536834481539c19ba4a265af/.github/CODEOWNERS#L179
May 16, 2025 06:09https://github.com/python/cpython/pull/134077#event-17683205754
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 16, 2025 https://github.com/python/cpython/pull/134077#ref-issue-3065458014
Improve raise from ValueError() error message #134036 https://github.com/python/cpython/issues/134036
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 16, 2025https://github.com/python/cpython/pull/134077#event-17683206623
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
Jun 5, 2025 https://github.com/python/cpython/pull/134077#pullrequestreview-2900192903
View reviewed changes https://github.com/python/cpython/pull/134077/files/d8c385a791333d5bf3b93bbd254b09032d322835
lysnikolaouhttps://github.com/lysnikolaou
https://github.com/python/cpython/pull/134077#pullrequestreview-2900192903
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 5, 2025https://github.com/python/cpython/pull/134077#event-18000385158
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jun 6, 2025 https://github.com/python/cpython/pull/134077#pullrequestreview-2903317822
View reviewed changes https://github.com/python/cpython/pull/134077/files/d8c385a791333d5bf3b93bbd254b09032d322835
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jun 6, 2025https://github.com/python/cpython/pull/134077#issuecomment-2947405019
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
0d9ccc8https://github.com/python/cpython/commit/0d9ccc87a2198a0c1881ab4b17a24fc7fec62418
Jun 6, 2025https://github.com/python/cpython/pull/134077#event-18013967587
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 6, 2025https://github.com/python/cpython/pull/134077#event-18013968325
https://github.com/Wulian233
Wulian233https://github.com/Wulian233
Jun 6, 2025https://github.com/python/cpython/pull/134077#issuecomment-2947950499
Please reload this pagehttps://github.com/python/cpython/pull/134077
@pablogsalhttps://github.com/pablogsal
@sobolevnhttps://github.com/sobolevn
#135002https://github.com/python/cpython/pull/135002
#131796https://github.com/python/cpython/pull/131796
#135198https://github.com/python/cpython/pull/135198
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Jun 6, 2025https://github.com/python/cpython/pull/134077#issuecomment-2948971572
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jun 6, 2025 https://github.com/python/cpython/pull/134077#ref-pullrequest-3038184352
gh-133390: Support SQL keyword completion for sqlite3 CLI #133393 https://github.com/python/cpython/pull/133393
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 6, 2025https://github.com/python/cpython/pull/134077#issuecomment-2949029690
#135204https://github.com/python/cpython/pull/135204
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jun 14, 2025 https://github.com/python/cpython/pull/134077#ref-issue-3139262503
Invalid error messages after GH-134077 #135422 https://github.com/python/cpython/issues/135422
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/134077#ref-commit-9aa467f
https://github.com/sobolevn
https://github.com/Pranjal095
pythongh-134036https://github.com/python/cpython/issues/134036
: Improve error messages for invalidhttps://github.com/Pranjal095/cpython/commit/9aa467f86567a48d276854af78df0b454f2781ac
raisehttps://github.com/Pranjal095/cpython/commit/9aa467f86567a48d276854af78df0b454f2781ac
statements (https://github.com/Pranjal095/cpython/commit/9aa467f86567a48d276854af78df0b454f2781ac
9aa467fhttps://github.com/Pranjal095/cpython/commit/9aa467f86567a48d276854af78df0b454f2781ac
python#134077https://github.com/python/cpython/pull/134077
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/134077#ref-commit-c98fc9c
https://github.com/sobolevn
https://github.com/taegyunkim
pythongh-134036https://github.com/python/cpython/issues/134036
: Improve error messages for invalidhttps://github.com/taegyunkim/cpython/commit/c98fc9c978a120347a8ca28c80d7665854a7bab1
raisehttps://github.com/taegyunkim/cpython/commit/c98fc9c978a120347a8ca28c80d7665854a7bab1
statements (https://github.com/taegyunkim/cpython/commit/c98fc9c978a120347a8ca28c80d7665854a7bab1
c98fc9chttps://github.com/taegyunkim/cpython/commit/c98fc9c978a120347a8ca28c80d7665854a7bab1
python#134077https://github.com/python/cpython/pull/134077
Agent-Hellboyhttps://github.com/Agent-Hellboy
Aug 19, 2025 https://github.com/python/cpython/pull/134077#ref-commit-58453c1
https://github.com/sobolevn
https://github.com/Agent-Hellboy
pythongh-134036https://github.com/python/cpython/issues/134036
: Improve error messages for invalidhttps://github.com/Agent-Hellboy/cpython/commit/58453c11d3c77b1a6582e3b301fac88e7eead3c2
raisehttps://github.com/Agent-Hellboy/cpython/commit/58453c11d3c77b1a6582e3b301fac88e7eead3c2
statements (https://github.com/Agent-Hellboy/cpython/commit/58453c11d3c77b1a6582e3b301fac88e7eead3c2
58453c1https://github.com/Agent-Hellboy/cpython/commit/58453c11d3c77b1a6582e3b301fac88e7eead3c2
python#134077https://github.com/python/cpython/pull/134077
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%2F134077
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/134077/files/d8c385a791333d5bf3b93bbd254b09032d322835
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/python/cpython/pull/134077/files/d8c385a791333d5bf3b93bbd254b09032d322835
Please reload this pagehttps://github.com/python/cpython/pull/134077
https://github.com/sobolevn
https://github.com/pablogsal
https://github.com/Wulian233
https://github.com/Yhg1s
https://github.com/vstinner
https://github.com/lysnikolaou
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.