René's URL Explorer Experiment


Title: gh-73180: Chain exceptions rather than dropping the old exception. by serhiy-storchaka · Pull Request #2072 · python/cpython · GitHub

Open Graph Title: gh-73180: Chain exceptions rather than dropping the old exception. by serhiy-storchaka · Pull Request #2072 · python/cpython

X Title: gh-73180: Chain exceptions rather than dropping the old exception. by serhiy-storchaka · Pull Request #2072 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: Misc fixes and cleanups in error handling C code #73180

X Description: Issue: Misc fixes and cleanups in error handling C code #73180

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

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:f2ef9608-611c-19fc-0cf3-4023975c371e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED4A:1CF03F:3E4D0:52710:6A516B42
html-safe-nonce6425565c35114588112fb09bd9cfba3e2562bc6c87d6e7a64c71ffbe0159765c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDRBOjFDRjAzRjozRTREMDo1MjcxMDo2QTUxNkI0MiIsInZpc2l0b3JfaWQiOiI2ODc2MDc4MDQyMzUzMDY4ODY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1dcd353c609f8f516a00ceb0ab0c08dd6f197f57b5c40b7b191a06402d652b95
hovercard-subject-tagpull_request:124981042
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/2072/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ddb8162c024049795488ca93cb267192530b7b686c75049884e2543857d1525e/python/cpython/pull/2072
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ddb8162c024049795488ca93cb267192530b7b686c75049884e2543857d1525e/python/cpython/pull/2072
og:image:altIssue: Misc fixes and cleanups in error handling C code #73180
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release60eaaf6d4dbaa817031b556aebd8a0a7eeb81b97
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/2072#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2072
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F2072
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/2072
Reloadhttps://github.com/python/cpython/pull/2072
Reloadhttps://github.com/python/cpython/pull/2072
Please reload this pagehttps://github.com/python/cpython/pull/2072
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/2072
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:chain-exceptionshttps://github.com/serhiy-storchaka/cpython/tree/chain-exceptions
Conversationhttps://github.com/python/cpython/pull/2072
Commits4 (4)https://github.com/python/cpython/pull/2072/commits
Checkshttps://github.com/python/cpython/pull/2072/checks
Files changedhttps://github.com/python/cpython/pull/2072/files
gh-73180: Chain exceptions rather than dropping the old exception.https://github.com/python/cpython/pull/2072#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:chain-exceptionshttps://github.com/serhiy-storchaka/cpython/tree/chain-exceptions
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 10, 2017https://github.com/python/cpython/pull/2072#issue-234985337
Please reload this pagehttps://github.com/python/cpython/pull/2072
Misc fixes and cleanups in error handling C code #73180https://github.com/python/cpython/issues/73180
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Jun 10, 2017https://github.com/python/cpython/pull/2072#event-1118164453
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jun 10, 2017https://github.com/python/cpython/pull/2072#event-1118164458
https://github.com/mention-bot
mention-bothttps://github.com/mention-bot
Jun 10, 2017https://github.com/python/cpython/pull/2072#issuecomment-307547526
@serhiy-storchakahttps://github.com/serhiy-storchaka
@1st1https://github.com/1st1
@loewishttps://github.com/loewis
@benjaminphttps://github.com/benjaminp
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
force-pushedhttps://github.com/python/cpython/compare/162f0548122bfe7cb4a9e0a79677b3dc13ea8cf8..8c5cb16fa33506dc7347c0f58c92d712acb0a62e
162f054https://github.com/python/cpython/commit/162f0548122bfe7cb4a9e0a79677b3dc13ea8cf8
8c5cb16https://github.com/python/cpython/commit/8c5cb16fa33506dc7347c0f58c92d712acb0a62e
Compare https://github.com/python/cpython/compare/162f0548122bfe7cb4a9e0a79677b3dc13ea8cf8..8c5cb16fa33506dc7347c0f58c92d712acb0a62e
June 12, 2017 11:27https://github.com/python/cpython/pull/2072#event-1119286579
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
1st1https://github.com/1st1
vstinnerhttps://github.com/vstinner
June 12, 2017 11:27https://github.com/python/cpython/pull/2072#event-1119287139
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 6, 2017https://github.com/python/cpython/pull/2072#issuecomment-342204627
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 6, 2017https://github.com/python/cpython/pull/2072#issuecomment-342206361
bpo-31949https://bugs.python.org/issue?@action=redirect&bpo=31949
Please reload this pagehttps://github.com/python/cpython/pull/2072
serhiy-storchakahttps://github.com/serhiy-storchaka
November 6, 2017 18:41https://github.com/python/cpython/pull/2072#commits-pushed-0966866
https://github.com/serhiy-storchaka
bpo-28994: Chain exceptions rather than dropping the old exception.https://github.com/python/cpython/pull/2072/commits/09668664af1fe3f828c20ffd859d3a7c08b0527f
0966866https://github.com/python/cpython/pull/2072/commits/09668664af1fe3f828c20ffd859d3a7c08b0527f
https://github.com/serhiy-storchaka
Withdraw changes in Python/traceback.c.https://github.com/python/cpython/pull/2072/commits/d69a99622e1c5b515cca6bb9da8bbdf760606dec
d69a996https://github.com/python/cpython/pull/2072/commits/d69a99622e1c5b515cca6bb9da8bbdf760606dec
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
force-pushedhttps://github.com/python/cpython/compare/8c5cb16fa33506dc7347c0f58c92d712acb0a62e..d69a99622e1c5b515cca6bb9da8bbdf760606dec
8c5cb16https://github.com/python/cpython/commit/8c5cb16fa33506dc7347c0f58c92d712acb0a62e
d69a996https://github.com/python/cpython/commit/d69a99622e1c5b515cca6bb9da8bbdf760606dec
Compare https://github.com/python/cpython/compare/8c5cb16fa33506dc7347c0f58c92d712acb0a62e..d69a99622e1c5b515cca6bb9da8bbdf760606dec
November 6, 2017 16:41https://github.com/python/cpython/pull/2072#event-1327972416
https://github.com/serhiy-storchaka
Merge branch 'master' into chain-exceptionshttps://github.com/python/cpython/pull/2072/commits/50c2947b89dc51f735eccf3dba9f43fa711e16e5
50c2947https://github.com/python/cpython/pull/2072/commits/50c2947b89dc51f735eccf3dba9f43fa711e16e5
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 2, 2018https://github.com/python/cpython/pull/2072#event-1455984642
https://github.com/serhiy-storchaka
Merge branch 'master' into chain-exceptionshttps://github.com/python/cpython/pull/2072/commits/a3120c26afadc15b5fb175c4b17c9379431e3f1a
a3120c2https://github.com/python/cpython/pull/2072/commits/a3120c26afadc15b5fb175c4b17c9379431e3f1a
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 19, 2022https://github.com/python/cpython/pull/2072#issuecomment-1045398644
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Feb 19, 2022https://github.com/python/cpython/pull/2072#event-6103479960
https://github.com/MaxwellDupre
MaxwellDuprehttps://github.com/MaxwellDupre
Mar 17, 2022 https://github.com/python/cpython/pull/2072#pullrequestreview-913088536
View reviewed changes https://github.com/python/cpython/pull/2072/files/a3120c26afadc15b5fb175c4b17c9379431e3f1a
MaxwellDuprehttps://github.com/MaxwellDupre
https://github.com/python/cpython/pull/2072#pullrequestreview-913088536
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 17, 2022https://github.com/python/cpython/pull/2072#event-6259078627
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/2072#event-6988866012
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jul 28, 2022https://github.com/python/cpython/pull/2072#event-7077258536
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 28, 2022https://github.com/python/cpython/pull/2072#issuecomment-1229344171
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 28, 2022https://github.com/python/cpython/pull/2072#event-7272711702
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Feb 3, 2023https://github.com/python/cpython/pull/2072#issuecomment-1415027353
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
pending https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Apending
Feb 3, 2023https://github.com/python/cpython/pull/2072#event-8428339968
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Feb 4, 2023https://github.com/python/cpython/pull/2072#event-8437279132
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Mar 4, 2023https://github.com/python/cpython/pull/2072#event-8666605754
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 4, 2023 https://github.com/python/cpython/pull/2072#ref-issue-1198965257
Misc fixes and cleanups in error handling C code #73180 https://github.com/python/cpython/issues/73180
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 5, 2023https://github.com/python/cpython/pull/2072#issuecomment-1497722734
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 5, 2023https://github.com/python/cpython/pull/2072#event-8936805845
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/96e1901a59ed3bb6188743d60395666969a3ba42/.github/CODEOWNERS#L26
April 5, 2023 15:51https://github.com/python/cpython/pull/2072#event-8936805961
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Apr 5, 2023https://github.com/python/cpython/pull/2072#event-8937313833
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
pending https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Apending
Apr 21, 2023https://github.com/python/cpython/pull/2072#event-9066481128
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 22, 2023https://github.com/python/cpython/pull/2072#issuecomment-1556338903
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
May 22, 2023https://github.com/python/cpython/pull/2072#event-9296840261
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F2072
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/MaxwellDupre
MaxwellDupre https://github.com/MaxwellDupre
https://github.com/python/cpython/pull/2072/files/a3120c26afadc15b5fb175c4b17c9379431e3f1a
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/2072
https://github.com/serhiy-storchaka
https://github.com/mention-bot
https://github.com/vstinner
https://github.com/arhadthedev
https://github.com/MaxwellDupre
https://github.com/brettcannon
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
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.