René's URL Explorer Experiment


Title: bpo-25782: avoid hang in PyErr_SetObject when current exception has a… by iritkatriel · Pull Request #27626 · python/cpython · GitHub

Open Graph Title: bpo-25782: avoid hang in PyErr_SetObject when current exception has a… by iritkatriel · Pull Request #27626 · python/cpython

X Title: bpo-25782: avoid hang in PyErr_SetObject when current exception has a… by iritkatriel · Pull Request #27626 · python/cpython

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

Open Graph Description: … cycle in its context chain Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com https://bugs.python.org/issue25782

X Description: … cycle in its context chain Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com https://bugs.python.org/issue25782

Mail addresses
36520290+sweeneyde@users.noreply.github.com

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:985538ee-6193-6721-eed7-da020bc4d3f3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3B6:3F8AB1:3FCEE1E:5100D5D:6B01FFA2
html-safe-noncee89a899b3284fd4f1ee8348939e461ebf51208bed4cec0abb1a21b23d9256ead
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0I2OjNGOEFCMTozRkNFRTFFOjUxMDBENUQ6NkIwMUZGQTIiLCJ2aXNpdG9yX2lkIjoiNTYxNjYyMTI2NTU0OTkxODExNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc1e7fcb3fecbed2e5307d2ab05e874e1160fa4ac46185b4fd9b8408fb0c96c1b
hovercard-subject-tagpull_request:705447009
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/27626/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/90dd794d354e7c44545673284a3a4d8222a70ced89beaea06b32147a751b810b/python/cpython/pull/27626
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90dd794d354e7c44545673284a3a4d8222a70ced89beaea06b32147a751b810b/python/cpython/pull/27626
og:image:alt… cycle in its context chain Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com https://bugs.python.org/issue25782
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameiritkatriel
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/27626#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27626
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27626
Sign uphttps://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/27626
Reloadhttps://github.com/python/cpython/pull/27626
Reloadhttps://github.com/python/cpython/pull/27626
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
iritkatriel:bpo-25782https://github.com/iritkatriel/cpython/tree/bpo-25782
Conversationhttps://github.com/python/cpython/pull/27626
Commits7 (7)https://github.com/python/cpython/pull/27626/commits
Checkshttps://github.com/python/cpython/pull/27626/checks
Files changedhttps://github.com/python/cpython/pull/27626/files
bpo-25782: avoid hang in PyErr_SetObject when current exception has a…https://github.com/python/cpython/pull/27626#top
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
iritkatriel:bpo-25782https://github.com/iritkatriel/cpython/tree/bpo-25782
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Aug 6, 2021https://github.com/python/cpython/pull/27626#issue-962694114
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://bugs.python.org/issue25782https://bugs.python.org/issue25782
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/iritkatriel
bpo-25782: avoid hang in PyErr_SetObject when current exception has a…https://github.com/python/cpython/pull/27626/commits/f33574a3ca5ea92b4d7164b2e4159008213b4139
f33574ahttps://github.com/python/cpython/pull/27626/commits/f33574a3ca5ea92b4d7164b2e4159008213b4139
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
Aug 6, 2021https://github.com/python/cpython/pull/27626#event-5122645293
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
Aug 6, 2021https://github.com/python/cpython/pull/27626#event-5122645398
https://github.com/sweeneyde
sweeneydehttps://github.com/sweeneyde
Aug 7, 2021https://github.com/python/cpython/pull/27626#issuecomment-894654943
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Aug 7, 2021https://github.com/python/cpython/pull/27626#issuecomment-894656209
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/27626/commits/70ebdd4b2519ffdf89ea25442743d658ae5acf39
70ebdd4https://github.com/python/cpython/pull/27626/commits/70ebdd4b2519ffdf89ea25442743d658ae5acf39
https://github.com/cjerdonek
cjerdonekhttps://github.com/cjerdonek
Aug 8, 2021https://github.com/python/cpython/pull/27626#issuecomment-894826749
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/iritkatriel
add testhttps://github.com/python/cpython/pull/27626/commits/dd4f8ec5e7dc6ab1fdf52081228264eff0e92360
dd4f8echttps://github.com/python/cpython/pull/27626/commits/dd4f8ec5e7dc6ab1fdf52081228264eff0e92360
https://github.com/cjerdonek
cjerdonekhttps://github.com/cjerdonek
Aug 8, 2021 https://github.com/python/cpython/pull/27626#pullrequestreview-724922615
View reviewed changes https://github.com/python/cpython/pull/27626/files/dd4f8ec5e7dc6ab1fdf52081228264eff0e92360
cjerdonekhttps://github.com/cjerdonek
https://github.com/python/cpython/pull/27626#pullrequestreview-724922615
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/27626
Lib/test/test_exceptions.pyhttps://github.com/python/cpython/pull/27626/files/dd4f8ec5e7dc6ab1fdf52081228264eff0e92360#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f
cjerdonekhttps://github.com/cjerdonek
Aug 8, 2021https://github.com/python/cpython/pull/27626#discussion_r684804926
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/sweeneyde
sweeneydehttps://github.com/sweeneyde
Aug 8, 2021 https://github.com/python/cpython/pull/27626#ref-pullrequest-627718532
bpo-25782: Do not hang when exception contexts form a cycle. #20539 https://github.com/python/cpython/pull/20539
iritkatrielhttps://github.com/iritkatriel
August 8, 2021 18:43https://github.com/python/cpython/pull/27626#commits-pushed-a97fe66
https://github.com/iritkatriel
add test with cycle at headhttps://github.com/python/cpython/pull/27626/commits/a97fe666901702a23902e5bc870c99f70e339f47
a97fe66https://github.com/python/cpython/pull/27626/commits/a97fe666901702a23902e5bc870c99f70e339f47
https://github.com/iritkatriel
edit commenthttps://github.com/python/cpython/pull/27626/commits/7b2074931dd024ef3469a74d59e6cf5f41f82fb2
7b20749https://github.com/python/cpython/pull/27626/commits/7b2074931dd024ef3469a74d59e6cf5f41f82fb2
https://github.com/iritkatriel
fix test namehttps://github.com/python/cpython/pull/27626/commits/e45bdf2fba0f270410783abc325a265ce28da332
e45bdf2https://github.com/python/cpython/pull/27626/commits/e45bdf2fba0f270410783abc325a265ce28da332
https://github.com/cjerdonek
cjerdonekhttps://github.com/cjerdonek
Aug 8, 2021https://github.com/python/cpython/pull/27626#issuecomment-894868229
Please reload this pagehttps://github.com/python/cpython/pull/27626
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/iritkatriel
add test for not-creating a cycle in raisehttps://github.com/python/cpython/pull/27626/commits/bfc5f6b353f932236ae88fa7277478955a848b7f
bfc5f6bhttps://github.com/python/cpython/pull/27626/commits/bfc5f6b353f932236ae88fa7277478955a848b7f
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Aug 9, 2021https://github.com/python/cpython/pull/27626#issuecomment-895212425
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/cjerdonek
cjerdonekhttps://github.com/cjerdonek
Aug 10, 2021 https://github.com/python/cpython/pull/27626#pullrequestreview-725991081
View reviewed changes https://github.com/python/cpython/pull/27626/files/bfc5f6b353f932236ae88fa7277478955a848b7f
cjerdonekhttps://github.com/cjerdonek
https://github.com/python/cpython/pull/27626#pullrequestreview-725991081
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@iritkatrielhttps://github.com/iritkatriel
Please reload this pagehttps://github.com/python/cpython/pull/27626
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 10, 2021https://github.com/python/cpython/pull/27626#event-5133186111
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Aug 10, 2021https://github.com/python/cpython/pull/27626#issuecomment-895854047
@cjerdonekhttps://github.com/cjerdonek
@pablogsalhttps://github.com/pablogsal
@ambvhttps://github.com/ambv
https://bugs.python.org/issue25782#msg399281https://bugs.python.org/issue25782#msg399281
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Aug 10, 2021https://github.com/python/cpython/pull/27626#event-5134449544
https://github.com/ambv
ambvhttps://github.com/ambv
d5c2174https://github.com/python/cpython/commit/d5c217475c4957a8084ac3f92ae012ece5edc7cb
Aug 10, 2021https://github.com/python/cpython/pull/27626#event-5134453093
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Aug 10, 2021https://github.com/python/cpython/pull/27626#issuecomment-895882831
@iritkatrielhttps://github.com/iritkatriel
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/27626
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
Aug 10, 2021https://github.com/python/cpython/pull/27626#event-5134453282
miss-islingtonhttps://github.com/miss-islington
Aug 10, 2021 https://github.com/python/cpython/pull/27626#ref-commit-eafcb03
https://github.com/iritkatriel
https://github.com/miss-islington
bpo-25782: avoid hang in PyErr_SetObject when current exception has a…https://github.com/miss-islington/cpython/commit/eafcb0387bd619b78c6ddcafd98add1591b4ef0e
eafcb03https://github.com/miss-islington/cpython/commit/eafcb0387bd619b78c6ddcafd98add1591b4ef0e
pythonGH-27626https://github.com/python/cpython/pull/27626
d5c2174https://github.com/miss-islington/cpython/commit/d5c217475c4957a8084ac3f92ae012ece5edc7cb
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Aug 10, 2021https://github.com/python/cpython/pull/27626#event-5134454216
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 10, 2021https://github.com/python/cpython/pull/27626#issuecomment-895882936
GH-27706https://github.com/python/cpython/pull/27706
3.10 branchhttps://github.com/python/cpython/tree/3.10
Please reload this pagehttps://github.com/python/cpython/pull/27626
miss-islingtonhttps://github.com/miss-islington
Aug 10, 2021 https://github.com/python/cpython/pull/27626#ref-commit-6fa3994
https://github.com/iritkatriel
https://github.com/miss-islington
bpo-25782: avoid hang in PyErr_SetObject when current exception has a…https://github.com/miss-islington/cpython/commit/6fa3994907bda849b63fa33eb4ad4c45c0b0b354
6fa3994https://github.com/miss-islington/cpython/commit/6fa3994907bda849b63fa33eb4ad4c45c0b0b354
pythonGH-27626https://github.com/python/cpython/pull/27626
d5c2174https://github.com/miss-islington/cpython/commit/d5c217475c4957a8084ac3f92ae012ece5edc7cb
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 10, 2021https://github.com/python/cpython/pull/27626#issuecomment-895883000
GH-27707https://github.com/python/cpython/pull/27707
3.9 branchhttps://github.com/python/cpython/tree/3.9
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Aug 10, 2021https://github.com/python/cpython/pull/27626#event-5134454789
ambvhttps://github.com/ambv
Aug 10, 2021 https://github.com/python/cpython/pull/27626#ref-commit-6f4cded
https://github.com/miss-islington
https://github.com/iritkatriel
bpo-25782https://bugs.python.org/issue?@action=redirect&bpo=25782
: avoid hang in PyErr_SetObject when current exception has a…https://github.com/python/cpython/commit/6f4cdeddb97532144f93ca37b8b21451f445c7bf
6f4cdedhttps://github.com/python/cpython/commit/6f4cdeddb97532144f93ca37b8b21451f445c7bf
GH-27626https://github.com/python/cpython/pull/27626
GH-27707https://github.com/python/cpython/pull/27707
d5c2174https://github.com/python/cpython/commit/d5c217475c4957a8084ac3f92ae012ece5edc7cb
miss-islingtonhttps://github.com/miss-islington
Aug 10, 2021 https://github.com/python/cpython/pull/27626#ref-commit-d86bbe3
https://github.com/miss-islington
https://github.com/iritkatriel
bpo-25782https://bugs.python.org/issue?@action=redirect&bpo=25782
: avoid hang in PyErr_SetObject when current exception has a…https://github.com/python/cpython/commit/d86bbe3cff0abefc13e5462cca1fb3344d4a5b52
d86bbe3https://github.com/python/cpython/commit/d86bbe3cff0abefc13e5462cca1fb3344d4a5b52
GH-27626https://github.com/python/cpython/pull/27626
d5c2174https://github.com/python/cpython/commit/d5c217475c4957a8084ac3f92ae012ece5edc7cb
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
November 5, 2021 09:57https://github.com/python/cpython/pull/27626#event-5573426002
https://github.com/1st1
1st1https://github.com/1st1
Apr 11, 2023 https://github.com/python/cpython/pull/27626#ref-issue-1198944829
CPython hangs on error __context__ set to the error itself #69968 https://github.com/python/cpython/issues/69968
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%2F27626
https://github.com/cjerdonek
cjerdonek https://github.com/cjerdonek
https://github.com/python/cpython/pull/27626/files/bfc5f6b353f932236ae88fa7277478955a848b7f
Please reload this pagehttps://github.com/python/cpython/pull/27626
Please reload this pagehttps://github.com/python/cpython/pull/27626
https://github.com/iritkatriel
https://github.com/sweeneyde
https://github.com/cjerdonek
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/ambv
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.