René's URL Explorer Experiment


Title: bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). by serhiy-storchaka · Pull Request #2034 · python/cpython · GitHub

Open Graph Title: bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). by serhiy-storchaka · Pull Request #2034 · python/cpython

X Title: bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). by serhiy-storchaka · Pull Request #2034 · python/cpython

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

Open Graph Description: Since PyErr_Fetch() clears the current exception PyErr_ExceptionMatches() always returned 0.

X Description: Since PyErr_Fetch() clears the current exception PyErr_ExceptionMatches() always returned 0.

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

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:16c340b7-0136-5503-7813-4b74702f9bc0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0D2:22DC6E:235E947:2EDACA2:6A51FD6E
html-safe-nonce64433bd88c50384c90cabb33bb06731aa83e92050a62eec95f53b419831b75cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEQyOjIyREM2RToyMzVFOTQ3OjJFREFDQTI6NkE1MUZENkUiLCJ2aXNpdG9yX2lkIjoiNDgzMTM5MzQzNTg1NTQ4NjMxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac996459c581fe5b4dd6d01e093c4fc70ee133bae5aefe1859a9123efde3fee860
hovercard-subject-tagpull_request:124935402
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/2034/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/96e153229382b18cd40dd0bde2b58ff1fe95b472974fe3bb249a323bae9f348b/python/cpython/pull/2034
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/96e153229382b18cd40dd0bde2b58ff1fe95b472974fe3bb249a323bae9f348b/python/cpython/pull/2034
og:image:altSince PyErr_Fetch() clears the current exception PyErr_ExceptionMatches() always returned 0.
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/2034#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2034
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%2F2034
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/2034
Reloadhttps://github.com/python/cpython/pull/2034
Reloadhttps://github.com/python/cpython/pull/2034
Please reload this pagehttps://github.com/python/cpython/pull/2034
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/2034
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:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:atexit-_run_exitfuncs-errorhttps://github.com/serhiy-storchaka/cpython/tree/atexit-_run_exitfuncs-error
Conversationhttps://github.com/python/cpython/pull/2034
Commits3 (3)https://github.com/python/cpython/pull/2034/commits
Checkshttps://github.com/python/cpython/pull/2034/checks
Files changedhttps://github.com/python/cpython/pull/2034/files
bpo-28994: Fixed errors handling in atexit._run_exitfuncs().https://github.com/python/cpython/pull/2034#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:atexit-_run_exitfuncs-errorhttps://github.com/serhiy-storchaka/cpython/tree/atexit-_run_exitfuncs-error
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 9, 2017https://github.com/python/cpython/pull/2034#issue-234919013
Please reload this pagehttps://github.com/python/cpython/pull/2034
Please reload this pagehttps://github.com/python/cpython/pull/2034
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 2.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%202.7%22
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Jun 9, 2017https://github.com/python/cpython/pull/2034#event-1117808701
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 9, 2017https://github.com/python/cpython/pull/2034#event-1117808763
serhiy-storchakahttps://github.com/serhiy-storchaka
June 11, 2017 14:24https://github.com/python/cpython/pull/2034#commits-pushed-9f2f946
https://github.com/serhiy-storchaka
bpo-28994: Fixed errors handling in atexit._run_exitfuncs().https://github.com/python/cpython/pull/2034/commits/9f2f946829fc62088b20682fafb9ef76efbcd33d
9f2f946https://github.com/python/cpython/pull/2034/commits/9f2f946829fc62088b20682fafb9ef76efbcd33d
https://github.com/serhiy-storchaka
Add test and Misc/NEWS entry.https://github.com/python/cpython/pull/2034/commits/7963df25f2ae2fd8cfa6f0198a63925384112385
7963df2https://github.com/python/cpython/pull/2034/commits/7963df25f2ae2fd8cfa6f0198a63925384112385
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
force-pushedhttps://github.com/python/cpython/compare/5b1a985946b1493432baf83d3cbf3dfc6c1fa3b7..7963df25f2ae2fd8cfa6f0198a63925384112385
5b1a985https://github.com/python/cpython/commit/5b1a985946b1493432baf83d3cbf3dfc6c1fa3b7
7963df2https://github.com/python/cpython/commit/7963df25f2ae2fd8cfa6f0198a63925384112385
Compare https://github.com/python/cpython/compare/5b1a985946b1493432baf83d3cbf3dfc6c1fa3b7..7963df25f2ae2fd8cfa6f0198a63925384112385
June 11, 2017 11:48https://github.com/python/cpython/pull/2034#event-1118501964
https://github.com/serhiy-storchaka
Merge branch 'master' into atexit-_run_exitfuncs-errorhttps://github.com/python/cpython/pull/2034/commits/56253a33faa3d1ff12d631de0f0655a3ce905dd0
56253a3https://github.com/python/cpython/pull/2034/commits/56253a33faa3d1ff12d631de0f0655a3ce905dd0
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
3fd54d4https://github.com/python/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
Jun 12, 2017https://github.com/python/cpython/pull/2034#event-1118838398
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
June 12, 2017 05:25https://github.com/python/cpython/pull/2034#event-1118838454
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 12, 2017 https://github.com/python/cpython/pull/2034#ref-commit-7ad4247
https://github.com/serhiy-storchaka
[3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (https://github.com/serhiy-storchaka/cpython/commit/7ad4247bfa5729ffa9481a5fffa2ea655be9ba0a
p…https://github.com/python/cpython/pull/2034
7ad4247https://github.com/serhiy-storchaka/cpython/commit/7ad4247bfa5729ffa9481a5fffa2ea655be9ba0a
…ythonGH-2034https://github.com/python/cpython/pull/2034
3fd54d4https://github.com/serhiy-storchaka/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 12, 2017 https://github.com/python/cpython/pull/2034#ref-commit-f92b889
https://github.com/serhiy-storchaka
[3.5] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (https://github.com/serhiy-storchaka/cpython/commit/f92b889fe254b38b850c6f8e6c852e0f68ab72f6
p…https://github.com/python/cpython/pull/2034
f92b889https://github.com/serhiy-storchaka/cpython/commit/f92b889fe254b38b850c6f8e6c852e0f68ab72f6
…ythonGH-2034https://github.com/python/cpython/pull/2034
3fd54d4https://github.com/serhiy-storchaka/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 12, 2017 https://github.com/python/cpython/pull/2034#ref-commit-58797e3
https://github.com/serhiy-storchaka
[2.7] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (https://github.com/serhiy-storchaka/cpython/commit/58797e3eded5ac67e6116ed8dc61aae3025ee556
p…https://github.com/python/cpython/pull/2034
58797e3https://github.com/serhiy-storchaka/cpython/commit/58797e3eded5ac67e6116ed8dc61aae3025ee556
…ythonGH-2034https://github.com/python/cpython/pull/2034
3fd54d4https://github.com/serhiy-storchaka/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 12, 2017 https://github.com/python/cpython/pull/2034#ref-commit-d89dc84
https://github.com/serhiy-storchaka
[3.6]https://github.com/python/cpython/commit/d89dc844d288ee2e403272f3e4552eed6911cafd
bpo-28994https://bugs.python.org/issue?@action=redirect&bpo=28994
: Fixed errors handling in atexit._run_exitfuncs(). (https://github.com/python/cpython/commit/d89dc844d288ee2e403272f3e4552eed6911cafd
G…https://github.com/python/cpython/pull/2034
d89dc84https://github.com/python/cpython/commit/d89dc844d288ee2e403272f3e4552eed6911cafd
…H-2034https://github.com/python/cpython/pull/2034
#2121https://github.com/python/cpython/pull/2121
3fd54d4https://github.com/python/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 12, 2017 https://github.com/python/cpython/pull/2034#ref-commit-7d8c1eb
https://github.com/serhiy-storchaka
[3.5]https://github.com/python/cpython/commit/7d8c1ebd86ce27b28736c5e97fef58ec60b8ef31
bpo-28994https://bugs.python.org/issue?@action=redirect&bpo=28994
: Fixed errors handling in atexit._run_exitfuncs(). (https://github.com/python/cpython/commit/7d8c1ebd86ce27b28736c5e97fef58ec60b8ef31
G…https://github.com/python/cpython/pull/2034
7d8c1ebhttps://github.com/python/cpython/commit/7d8c1ebd86ce27b28736c5e97fef58ec60b8ef31
…H-2034https://github.com/python/cpython/pull/2034
#2122https://github.com/python/cpython/pull/2122
3fd54d4https://github.com/python/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 12, 2017 https://github.com/python/cpython/pull/2034#ref-commit-0cc43df
https://github.com/serhiy-storchaka
[2.7]https://github.com/python/cpython/commit/0cc43df05e36655220468953e838169966b94ebd
bpo-28994https://bugs.python.org/issue?@action=redirect&bpo=28994
: Fixed errors handling in atexit._run_exitfuncs(). (https://github.com/python/cpython/commit/0cc43df05e36655220468953e838169966b94ebd
G…https://github.com/python/cpython/pull/2034
0cc43dfhttps://github.com/python/cpython/commit/0cc43df05e36655220468953e838169966b94ebd
…H-2034https://github.com/python/cpython/pull/2034
#2123https://github.com/python/cpython/pull/2123
3fd54d4https://github.com/python/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4
https://github.com/Mariatta
Mariattahttps://github.com/Mariatta
needs backport to 2.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%202.7%22
Jun 19, 2017https://github.com/python/cpython/pull/2034#event-1128370568
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 4, 2023 https://github.com/python/cpython/pull/2034#ref-issue-1198965257
Misc fixes and cleanups in error handling C code #73180 https://github.com/python/cpython/issues/73180
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%2F2034
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/2034
https://github.com/serhiy-storchaka
https://github.com/Mariatta
https://github.com/the-knights-who-say-ni
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.