René's URL Explorer Experiment


Title: bpo-42500: Fix recursion in or after except by markshannon · Pull Request #23568 · python/cpython · GitHub

Open Graph Title: bpo-42500: Fix recursion in or after except by markshannon · Pull Request #23568 · python/cpython

X Title: bpo-42500: Fix recursion in or after except by markshannon · Pull Request #23568 · python/cpython

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

Open Graph Description: Currently we try to track whether we are handling an exception, and adapt behavior accordingly. This is fragile, and may cause the C stack to overflow, even if the Python stack does not. Instead, t...

X Description: Currently we try to track whether we are handling an exception, and adapt behavior accordingly. This is fragile, and may cause the C stack to overflow, even if the Python stack does not. Instead, t...

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

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:c0593898-e536-1f39-3677-6d5b7da899b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA83E:3A03DF:2790D07:35FE20E:6A54420B
html-safe-nonceff2ef4f05c7050fb0ae949d5bd7f96d62401a5bdfdb39039fe190fcbc0ce6aed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODNFOjNBMDNERjoyNzkwRDA3OjM1RkUyMEU6NkE1NDQyMEIiLCJ2aXNpdG9yX2lkIjoiMzg4NDE5NjkzMDUzNzE0NDg0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0db83cbb1a5a0049961a95324bf7898a1ade72e0840db0b33534e30d75bd8bb6
hovercard-subject-tagpull_request:529594579
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/23568/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9ffc8ee20271e2a3a2d2eefb0c83c6f8d6098a86413d644bb49620c94e9fb5c0/python/cpython/pull/23568
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ffc8ee20271e2a3a2d2eefb0c83c6f8d6098a86413d644bb49620c94e9fb5c0/python/cpython/pull/23568
og:image:altCurrently we try to track whether we are handling an exception, and adapt behavior accordingly. This is fragile, and may cause the C stack to overflow, even if the Python stack does not. Instead, t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/23568#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23568
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%2F23568
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/23568
Reloadhttps://github.com/python/cpython/pull/23568
Reloadhttps://github.com/python/cpython/pull/23568
Please reload this pagehttps://github.com/python/cpython/pull/23568
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/23568
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:fix-recursion-in-excepthttps://github.com/markshannon/cpython/tree/fix-recursion-in-except
Conversationhttps://github.com/python/cpython/pull/23568
Commits2 (2)https://github.com/python/cpython/pull/23568/commits
Checkshttps://github.com/python/cpython/pull/23568/checks
Files changedhttps://github.com/python/cpython/pull/23568/files
bpo-42500: Fix recursion in or after excepthttps://github.com/python/cpython/pull/23568#top
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:fix-recursion-in-excepthttps://github.com/markshannon/cpython/tree/fix-recursion-in-except
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Nov 30, 2020https://github.com/python/cpython/pull/23568#issue-753534812
Please reload this pagehttps://github.com/python/cpython/pull/23568
https://bugs.python.org/issue42500https://bugs.python.org/issue42500
Please reload this pagehttps://github.com/python/cpython/pull/23568
markshannonhttps://github.com/markshannon
November 30, 2020 14:19https://github.com/python/cpython/pull/23568#commits-pushed-0e182dc
https://github.com/markshannon
Use counter, rather boolean state when handling soft overflows.https://github.com/python/cpython/pull/23568/commits/0e182dc0c55d1f9e6718f923b4098ade33e195b2
0e182dchttps://github.com/python/cpython/pull/23568/commits/0e182dc0c55d1f9e6718f923b4098ade33e195b2
https://github.com/markshannon
Add NEWS.https://github.com/python/cpython/pull/23568/commits/04d97f3ba466607023050e278ef36fc8ef144868
04d97f3https://github.com/python/cpython/pull/23568/commits/04d97f3ba466607023050e278ef36fc8ef144868
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
Nov 30, 2020https://github.com/python/cpython/pull/23568#event-4052274232
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
Nov 30, 2020https://github.com/python/cpython/pull/23568#event-4052274384
https://github.com/markshannon
markshannonhttps://github.com/markshannon
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Nov 30, 2020https://github.com/python/cpython/pull/23568#event-4052379036
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 30, 2020https://github.com/python/cpython/pull/23568#issuecomment-735838719
@markshannonhttps://github.com/markshannon
04d97f3https://github.com/python/cpython/commit/04d97f3ba466607023050e278ef36fc8ef144868
Please reload this pagehttps://github.com/python/cpython/pull/23568
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Nov 30, 2020https://github.com/python/cpython/pull/23568#event-4052379279
https://github.com/markshannon
markshannonhttps://github.com/markshannon
serhiy-storchakahttps://github.com/serhiy-storchaka
November 30, 2020 20:05https://github.com/python/cpython/pull/23568#event-4053731417
https://github.com/markshannon
markshannonhttps://github.com/markshannon
4e7a69bhttps://github.com/python/cpython/commit/4e7a69bdb63a104587759d7784124492dcdd496e
Dec 2, 2020https://github.com/python/cpython/pull/23568#event-4062358169
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
Dec 2, 2020https://github.com/python/cpython/pull/23568#event-4062358382
https://github.com/markshannon
markshannonhttps://github.com/markshannon
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Feb 10, 2021https://github.com/python/cpython/pull/23568#event-4314696907
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2021https://github.com/python/cpython/pull/23568#issuecomment-776697184
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/23568
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2021https://github.com/python/cpython/pull/23568#issuecomment-776697434
@markshannonhttps://github.com/markshannon
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/23568
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
markshannonhttps://github.com/markshannon
Feb 10, 2021https://github.com/python/cpython/pull/23568#event-4314699225
markshannonhttps://github.com/markshannon
Feb 10, 2021 https://github.com/python/cpython/pull/23568#ref-commit-4bf4356
https://github.com/markshannon
bpo-42500: Fix recursion in or after except (https://github.com/markshannon/cpython/commit/4bf4356a06a359fb07c259bdaac927c5874779c1
pythonGH-23568https://github.com/python/cpython/pull/23568
)https://github.com/markshannon/cpython/commit/4bf4356a06a359fb07c259bdaac927c5874779c1
4bf4356https://github.com/markshannon/cpython/commit/4bf4356a06a359fb07c259bdaac927c5874779c1
4e7a69bhttps://github.com/markshannon/cpython/commit/4e7a69bdb63a104587759d7784124492dcdd496e
https://github.com/markshannon
markshannonhttps://github.com/markshannon
February 10, 2021 13:37https://github.com/python/cpython/pull/23568#event-4314805913
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 10, 2021https://github.com/python/cpython/pull/23568#issuecomment-776718369
GH-24501https://github.com/python/cpython/pull/24501
3.9 branchhttps://github.com/python/cpython/tree/3.9
Please reload this pagehttps://github.com/python/cpython/pull/23568
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
Feb 10, 2021https://github.com/python/cpython/pull/23568#event-4314872755
ambvhttps://github.com/ambv
Mar 2, 2021 https://github.com/python/cpython/pull/23568#ref-commit-8b795ab
https://github.com/markshannon
bpo-42500https://bugs.python.org/issue?@action=redirect&bpo=42500
: Fix recursion in or after except (https://github.com/python/cpython/commit/8b795ab5541d8a4e69be4137dfdc207714270b77
GH-23568https://github.com/python/cpython/pull/23568
) (https://github.com/python/cpython/commit/8b795ab5541d8a4e69be4137dfdc207714270b77
#24501https://github.com/python/cpython/pull/24501
)https://github.com/python/cpython/commit/8b795ab5541d8a4e69be4137dfdc207714270b77
8b795abhttps://github.com/python/cpython/commit/8b795ab5541d8a4e69be4137dfdc207714270b77
4e7a69bhttps://github.com/python/cpython/commit/4e7a69bdb63a104587759d7784124492dcdd496e
adorilsonhttps://github.com/adorilson
Mar 13, 2021 https://github.com/python/cpython/pull/23568#ref-commit-ee41b10
https://github.com/markshannon
https://github.com/adorilson
bpo-42500: Fix recursion in or after except (https://github.com/adorilson/cpython/commit/ee41b10e5ac48348c847ac69605155c73053e02b
pythonGH-23568https://github.com/python/cpython/pull/23568
)https://github.com/adorilson/cpython/commit/ee41b10e5ac48348c847ac69605155c73053e02b
ee41b10https://github.com/adorilson/cpython/commit/ee41b10e5ac48348c847ac69605155c73053e02b
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
Mar 14, 2021https://github.com/python/cpython/pull/23568#event-4455501764
gpsheadhttps://github.com/gpshead
Apr 4, 2021 https://github.com/python/cpython/pull/23568#ref-commit-4b752c7
https://github.com/gpshead
bpo-43710: Revert "bpo-42500: Fix recursion in or after except (https://github.com/gpshead/cpython/commit/4b752c7f5ec465739fe9410f0cb9c6c5ec183cdd
pytho…https://github.com/python/cpython/pull/23568
4b752c7https://github.com/gpshead/cpython/commit/4b752c7f5ec465739fe9410f0cb9c6c5ec183cdd
…nGH-23568https://github.com/python/cpython/pull/23568
python#24501https://github.com/python/cpython/pull/24501
8b795abhttps://github.com/gpshead/cpython/commit/8b795ab5541d8a4e69be4137dfdc207714270b77
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%2F23568
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/markshannon
markshannon https://github.com/markshannon
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/23568
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/miss-islington
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.