René's URL Explorer Experiment


Title: gh-69968: Prevent cycles in the __context__ chain. by serhiy-storchaka · Pull Request #20543 · python/cpython · GitHub

Open Graph Title: gh-69968: Prevent cycles in the __context__ chain. by serhiy-storchaka · Pull Request #20543 · python/cpython

X Title: gh-69968: Prevent cycles in the __context__ chain. by serhiy-storchaka · Pull Request #20543 · python/cpython

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

Open Graph Description: Setting __context__ to self has no any effect. If set __context__ to the chain contained original exception, it is moved to the start of the context chain. https://bugs.python.org/issue25782 I...

X Description: Setting __context__ to self has no any effect. If set __context__ to the chain contained original exception, it is moved to the start of the context chain. https://bugs.python.org/issue25782 I...

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

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:f3c21c64-8f0d-e9f4-4e71-466224ae3037
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDEE:16AB79:3A702D8:4A4709B:6B01FFA0
html-safe-nonce7f15943e87ab58a4e14f91b7a71b9f60aa5c2f4a2200763b0caac62ebe5ab156
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREVFOjE2QUI3OTozQTcwMkQ4OjRBNDcwOUI6NkIwMUZGQTAiLCJ2aXNpdG9yX2lkIjoiNDM5NzU3NjMyMTM1NDU2MzQ4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3c19589cc7462d479e61ab5516887f2886b81f8631d16e1c71538ab3c964eaaa
hovercard-subject-tagpull_request:425520010
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/20543/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/be4fddf558bdba5dc628120400a1e209955d28db8214a0ba5ebf948654a60f50/python/cpython/pull/20543
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/be4fddf558bdba5dc628120400a1e209955d28db8214a0ba5ebf948654a60f50/python/cpython/pull/20543
og:image:altSetting __context__ to self has no any effect. If set __context__ to the chain contained original exception, it is moved to the start of the context chain. https://bugs.python.org/issue25782 I...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/20543#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20543
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%2F20543
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/20543
Reloadhttps://github.com/python/cpython/pull/20543
Reloadhttps://github.com/python/cpython/pull/20543
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:set-context-reorderinghttps://github.com/serhiy-storchaka/cpython/tree/set-context-reordering
Conversationhttps://github.com/python/cpython/pull/20543
Commits2 (2)https://github.com/python/cpython/pull/20543/commits
Checkshttps://github.com/python/cpython/pull/20543/checks
Files changedhttps://github.com/python/cpython/pull/20543/files
gh-69968: Prevent cycles in the __context__ chain.https://github.com/python/cpython/pull/20543#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:set-context-reorderinghttps://github.com/serhiy-storchaka/cpython/tree/set-context-reordering
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 30, 2020https://github.com/python/cpython/pull/20543#issue-627815825
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://bugs.python.org/issue25782https://bugs.python.org/issue25782
CPython hangs on error __context__ set to the error itself #69968https://github.com/python/cpython/issues/69968
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
May 30, 2020https://github.com/python/cpython/pull/20543#event-3390043913
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
May 30, 2020https://github.com/python/cpython/pull/20543#event-3390043964
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
May 30, 2020https://github.com/python/cpython/pull/20543#event-3390043986
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 23, 2021 https://github.com/python/cpython/pull/20543#pullrequestreview-643164173
View reviewed changes https://github.com/python/cpython/pull/20543/files
Doc/c-api/exceptions.rsthttps://github.com/python/cpython/pull/20543/files#diff-72a55970b70280a1355dd73f4faffc95c8167e778dd8682b342a8ff9c092749a
pablogsalhttps://github.com/pablogsal
Apr 23, 2021https://github.com/python/cpython/pull/20543#discussion_r619121764
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 23, 2021 https://github.com/python/cpython/pull/20543#pullrequestreview-643164315
View reviewed changes https://github.com/python/cpython/pull/20543/files
Doc/builtins/exceptions.rsthttps://github.com/python/cpython/pull/20543/files#diff-15c284c5dcc94c8e4ada89afcc3771dafaa39956b84d2630f97577b740aaba52
pablogsalhttps://github.com/pablogsal
Apr 23, 2021https://github.com/python/cpython/pull/20543#discussion_r619121849
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
May 4, 2021https://github.com/python/cpython/pull/20543#event-4682153909
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
May 10, 2022 https://github.com/python/cpython/pull/20543#pullrequestreview-968359896
View reviewed changes https://github.com/python/cpython/pull/20543/files
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
May 10, 2022https://github.com/python/cpython/pull/20543#event-6584890252
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
May 17, 2022https://github.com/python/cpython/pull/20543#event-6626062793
https://github.com/ambv
ambvhttps://github.com/ambv
May 17, 2022https://github.com/python/cpython/pull/20543#issuecomment-1129087153
Please reload this pagehttps://github.com/python/cpython/pull/20543
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/20543#event-6988864449
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 7, 2022https://github.com/python/cpython/pull/20543#event-7751615039
https://github.com/1st1
1st1https://github.com/1st1
Apr 11, 2023 https://github.com/python/cpython/pull/20543#ref-issue-1198944829
CPython hangs on error __context__ set to the error itself #69968 https://github.com/python/cpython/issues/69968
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 8, 2026https://github.com/python/cpython/pull/20543#issuecomment-4202986870
Please reload this pagehttps://github.com/python/cpython/pull/20543
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
Apr 8, 2026https://github.com/python/cpython/pull/20543#event-24277787839
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 12, 2026https://github.com/python/cpython/pull/20543#event-29325539382
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 14, 2026https://github.com/python/cpython/pull/20543#event-29442672268
https://github.com/serhiy-storchaka
https://github.com/ambv
bpo-25782: Prevent cycles in the __context__ chain.https://github.com/python/cpython/pull/20543/commits/5d329534423f66876471805b852f12ef16c931c1
5d32953https://github.com/python/cpython/pull/20543/commits/5d329534423f66876471805b852f12ef16c931c1
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/cpython/compare/a87b7edd9f30c71f65175b6fb575d356e4a0477e..5d329534423f66876471805b852f12ef16c931c1
a87b7edhttps://github.com/python/cpython/commit/a87b7edd9f30c71f65175b6fb575d356e4a0477e
5d32953https://github.com/python/cpython/commit/5d329534423f66876471805b852f12ef16c931c1
Compare https://github.com/python/cpython/compare/a87b7edd9f30c71f65175b6fb575d356e4a0477e..5d329534423f66876471805b852f12ef16c931c1
October 20, 2026 21:01https://github.com/python/cpython/pull/20543#event-33785208893
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Oct 20, 2026https://github.com/python/cpython/pull/20543#issuecomment-6302642027
Please reload this pagehttps://github.com/python/cpython/pull/20543
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#35285557https://app.readthedocs.org/projects/cpython-previews/builds/35285557/
167dab3https://github.com/python/cpython/commit/167dab3ebbe8f331ab95ee6729d1c4686578133c
mainhttps://cpython-previews.readthedocs.io/en/main/
80040b6https://github.com/python/cpython/commit/80040b6f6304dfd61bb42142d204f6ddea5c6cee
  🔍 Preview build   https://cpython-previews--20543.org.readthedocs.build/en/20543/
builtins/exceptions.htmlhttps://cpython-previews--20543.org.readthedocs.build/en/20543/builtins/exceptions.html
c-api/exceptions.htmlhttps://cpython-previews--20543.org.readthedocs.build/en/20543/c-api/exceptions.html
library/ast.htmlhttps://cpython-previews--20543.org.readthedocs.build/en/20543/library/ast.html
whatsnew/changelog.htmlhttps://cpython-previews--20543.org.readthedocs.build/en/20543/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Oct 21, 2026https://github.com/python/cpython/pull/20543#issuecomment-6305752450
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://github.com/ambv
Fix CI: repair critical-section scoping in PyException_SetContext (https://github.com/python/cpython/pull/20543/commits/167dab3ebbe8f331ab95ee6729d1c4686578133c
py…https://github.com/python/cpython/issues/69968
167dab3https://github.com/python/cpython/pull/20543/commits/167dab3ebbe8f331ab95ee6729d1c4686578133c
…thongh-69968https://github.com/python/cpython/issues/69968
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/cpython/compare/e0f22af6b00a25a575a612fa0ca2d5aa5407224f..167dab3ebbe8f331ab95ee6729d1c4686578133c
e0f22afhttps://github.com/python/cpython/commit/e0f22af6b00a25a575a612fa0ca2d5aa5407224f
167dab3https://github.com/python/cpython/commit/167dab3ebbe8f331ab95ee6729d1c4686578133c
Compare https://github.com/python/cpython/compare/e0f22af6b00a25a575a612fa0ca2d5aa5407224f..167dab3ebbe8f331ab95ee6729d1c4686578133c
October 21, 2026 01:52https://github.com/python/cpython/pull/20543#event-33802810487
https://github.com/ashm-dev
ashm-devhttps://github.com/ashm-dev
Nov 1, 2026https://github.com/python/cpython/pull/20543#issuecomment-6561247682
the quadratic-cost objectionhttps://github.com/python/cpython/issues/69968#issuecomment-1504253533
Please reload this pagehttps://github.com/python/cpython/pull/20543
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%2F20543
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/20543/files/a87b7edd9f30c71f65175b6fb575d356e4a0477e
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
https://github.com/python/cpython/pull/20543/files/a87b7edd9f30c71f65175b6fb575d356e4a0477e
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/20543
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/20543
https://github.com/serhiy-storchaka
https://github.com/ambv
https://github.com/ashm-dev
https://github.com/rhettinger
https://github.com/pablogsal
https://github.com/iritkatriel
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.