René's URL Explorer Experiment


Title: [3.15] gh-156545: Fix flamegraph export RecursionError on deeply recursive programs (GH-156546) by pablogsal · Pull Request #158851 · python/cpython · GitHub

Open Graph Title: [3.15] gh-156545: Fix flamegraph export RecursionError on deeply recursive programs (GH-156546) by pablogsal · Pull Request #158851 · python/cpython

X Title: [3.15] gh-156545: Fix flamegraph export RecursionError on deeply recursive programs (GH-156546) by pablogsal · Pull Request #158851 · python/cpython

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

Open Graph Description: Backport of #156546 to 3.15. Allow export of the unwinder's maximum captured stack depth and restore the recursion limit on every exit path. The combined 3.15 profiling and external-inspection ...

X Description: Backport of #156546 to 3.15. Allow export of the unwinder's maximum captured stack depth and restore the recursion limit on every exit path. The combined 3.15 profiling and external-inspect...

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

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:f4a395a5-682b-bb1a-2b93-ffc0231f036d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94E2:E9D16:365C941:44F36F1:6B021BD1
html-safe-noncef191e0adcd4022e348714be4df39ead5911db39a0a50e108ee59eff742adc1fb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEUyOkU5RDE2OjM2NUM5NDE6NDRGMzZGMTo2QjAyMUJEMSIsInZpc2l0b3JfaWQiOiI2NTM2Njk3MzY3MzgxNTQ3OTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1ee205dc0f298ba19cbaa8db17471c1b6a228c7d24223a6cd98705f21df32d52
hovercard-subject-tagpull_request:4746218814
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/158851/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/31296590ebd10b2d27574681f7ddcc30eba12e05e906cab0b9b9b980a96a4159/python/cpython/pull/158851
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/31296590ebd10b2d27574681f7ddcc30eba12e05e906cab0b9b9b980a96a4159/python/cpython/pull/158851
og:image:altBackport of #156546 to 3.15. Allow export of the unwinder's maximum captured stack depth and restore the recursion limit on every exit path. The combined 3.15 profiling and external-inspection ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
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/158851#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158851
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%2F158851
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/158851
Reloadhttps://github.com/python/cpython/pull/158851
Reloadhttps://github.com/python/cpython/pull/158851
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
pablogsalhttps://github.com/pablogsal
python:3.15https://github.com/python/cpython/tree/3.15
pablogsal:tachyon-backport-156546-315https://github.com/pablogsal/cpython/tree/tachyon-backport-156546-315
Conversationhttps://github.com/python/cpython/pull/158851
Commits1 (1)https://github.com/python/cpython/pull/158851/commits
Checkshttps://github.com/python/cpython/pull/158851/checks
Files changedhttps://github.com/python/cpython/pull/158851/files
[3.15] gh-156545: Fix flamegraph export RecursionError on deeply recursive programs (GH-156546)https://github.com/python/cpython/pull/158851#top
pablogsalhttps://github.com/pablogsal
python:3.15https://github.com/python/cpython/tree/3.15
pablogsal:tachyon-backport-156546-315https://github.com/pablogsal/cpython/tree/tachyon-backport-156546-315
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Oct 5, 2026https://github.com/python/cpython/pull/158851#issue-5713541643
Please reload this pagehttps://github.com/python/cpython/pull/158851
#156546https://github.com/python/cpython/pull/156546
profiling: flamegraph export fails with RecursionError on a deeply recursive program #156545https://github.com/python/cpython/issues/156545
Please reload this pagehttps://github.com/python/cpython/pull/158851
https://github.com/pablogsal
https://github.com/tonghuaroot
[3.15]https://github.com/python/cpython/pull/158851/commits/f25d17815399d95e0df46807594b198016e1ead8
pythongh-156545https://github.com/python/cpython/issues/156545
: Fix flamegraph export RecursionError on deepl…https://github.com/python/cpython/pull/158851/commits/f25d17815399d95e0df46807594b198016e1ead8
f25d178https://github.com/python/cpython/pull/158851/commits/f25d17815399d95e0df46807594b198016e1ead8
pythonGH-156546https://github.com/python/cpython/pull/156546
pythonGH-156546https://github.com/python/cpython/pull/156546
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2026 https://github.com/python/cpython/pull/158851#ref-issue-5284330428
profiling: flamegraph export fails with RecursionError on a deeply recursive program #156545 https://github.com/python/cpython/issues/156545
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 5, 2026https://github.com/python/cpython/pull/158851#event-32515732522
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2026 https://github.com/python/cpython/pull/158851#ref-pullrequest-5284353218
gh-156545: Fix flamegraph export RecursionError on deeply recursive programs #156546 https://github.com/python/cpython/pull/156546
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
October 5, 2026 14:37https://github.com/python/cpython/pull/158851#event-32517968252
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
0ac7217https://github.com/python/cpython/commit/0ac721704092d8f96720c6fd1d68c5941a4a530a
Oct 5, 2026https://github.com/python/cpython/pull/158851#event-32518539323
Please reload this pagehttps://github.com/python/cpython/pull/158851
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
October 5, 2026 14:43https://github.com/python/cpython/pull/158851#event-32518543358
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 5, 2026https://github.com/python/cpython/pull/158851#event-32518545633
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Oct 5, 2026 https://github.com/python/cpython/pull/158851#ref-pullrequest-5715678122
[3.15] Revert backports merged during the 3.15.0 release freeze on 5 October #158873 https://github.com/python/cpython/pull/158873
pablogsalhttps://github.com/pablogsal
Oct 5, 2026 https://github.com/python/cpython/pull/158851#ref-commit-ebe784e
https://github.com/pablogsal
Revert "[3.15]https://github.com/pablogsal/cpython/commit/ebe784edaae37ea849975061f8712227b7e8ffb9
pythongh-156545https://github.com/python/cpython/issues/156545
: Fix flamegraph export RecursionError …https://github.com/pablogsal/cpython/commit/ebe784edaae37ea849975061f8712227b7e8ffb9
ebe784ehttps://github.com/pablogsal/cpython/commit/ebe784edaae37ea849975061f8712227b7e8ffb9
pythonGH-156546https://github.com/python/cpython/pull/156546
python#158851https://github.com/python/cpython/pull/158851
0ac7217https://github.com/pablogsal/cpython/commit/0ac721704092d8f96720c6fd1d68c5941a4a530a
pablogsalhttps://github.com/pablogsal
Oct 11, 2026 https://github.com/python/cpython/pull/158851#ref-commit-4ceb3fa
https://github.com/pablogsal
https://github.com/miss-islington
https://github.com/maurycy
https://github.com/claude
https://github.com/vstinner
https://github.com/StanFromIreland
https://github.com/tonghuaroot
https://github.com/hetaozdh
https://github.com/edvilme
https://github.com/deadlovelll
[3.15] Restore deferred backports for 3.15.1, includinghttps://github.com/python/cpython/commit/4ceb3faf2c1f5bf17c56be085c4b1c1b38e47f9e
GH-158874https://github.com/python/cpython/pull/158874
(https://github.com/python/cpython/commit/4ceb3faf2c1f5bf17c56be085c4b1c1b38e47f9e
#1…https://github.com/python/cpython/pull/158882
4ceb3fahttps://github.com/python/cpython/commit/4ceb3faf2c1f5bf17c56be085c4b1c1b38e47f9e
…58882https://github.com/python/cpython/pull/158882
gh-153364https://github.com/python/cpython/issues/153364
GH-153365https://github.com/python/cpython/pull/153365
#158813https://github.com/python/cpython/pull/158813
gh-153364https://github.com/python/cpython/issues/153364
GH-153365https://github.com/python/cpython/pull/153365
e0861c6https://github.com/python/cpython/commit/e0861c6ae70c7e6f16c28399bd2b28c521e11e84
9e401cfhttps://github.com/python/cpython/commit/9e401cf7f5a53d8b46702e6c4bcb8849b9bf2829
gh-155811https://github.com/python/cpython/issues/155811
GH-155828https://github.com/python/cpython/pull/155828
#158829https://github.com/python/cpython/pull/158829
gh-155811https://github.com/python/cpython/issues/155811
5fecd44https://github.com/python/cpython/commit/5fecd448bb120378978a37dde65dfce233d88c0d
0281240https://github.com/python/cpython/commit/028124039c276f73fbc26036f1629c91be4c2891
gh-151292https://github.com/python/cpython/issues/151292
GH-152892https://github.com/python/cpython/pull/152892
#158830https://github.com/python/cpython/pull/158830
gh-151292https://github.com/python/cpython/issues/151292
GH-152892https://github.com/python/cpython/pull/152892
gh-151292https://github.com/python/cpython/issues/151292
f839c06https://github.com/python/cpython/commit/f839c061d383bc87c3456d19bbdcbc1c30ed399b
8a7c23fhttps://github.com/python/cpython/commit/8a7c23f316a6bdb3cc60c6920d465d2a81d3cf35
gh-158583https://github.com/python/cpython/issues/158583
GH-158584https://github.com/python/cpython/pull/158584
#158691https://github.com/python/cpython/pull/158691
gh-158583https://github.com/python/cpython/issues/158583
GH-158584https://github.com/python/cpython/pull/158584
9d22a53https://github.com/python/cpython/commit/9d22a5334bd5273962adceeb697a1337e9a0ca21
4f7af46https://github.com/python/cpython/commit/4f7af46e25f09bf54b6f499c5c40b661786f0d69
gh-154194https://github.com/python/cpython/issues/154194
GH-154195https://github.com/python/cpython/pull/154195
#158831https://github.com/python/cpython/pull/158831
gh-154194https://github.com/python/cpython/issues/154194
#154195https://github.com/python/cpython/pull/154195
#157790https://github.com/python/cpython/pull/157790
7d25916https://github.com/python/cpython/commit/7d25916b41de4fc28e04b4944864ad1094a9e8e0
c27f494https://github.com/python/cpython/commit/c27f4940612b094fe225875a815f8ee6a4f7f9ec
GH-158625https://github.com/python/cpython/pull/158625
#158832https://github.com/python/cpython/pull/158832
#158625https://github.com/python/cpython/pull/158625
b93fb19https://github.com/python/cpython/commit/b93fb19a6e3118857d9a1dc4ffcc179b632a88c1
1bc78dehttps://github.com/python/cpython/commit/1bc78dea18dfaff6900eeac5edb1ca651ff700d7
gh-156810https://github.com/python/cpython/issues/156810
GH-156811https://github.com/python/cpython/pull/156811
#156814https://github.com/python/cpython/pull/156814
gh-156810https://github.com/python/cpython/issues/156810
GH-156811https://github.com/python/cpython/pull/156811
c3706f4https://github.com/python/cpython/commit/c3706f4c687d76b85702c1f946abd3f3d3eafcb8
fce28dahttps://github.com/python/cpython/commit/fce28da9b75d429a7b65eec450df8e804fada001
gh-158552https://github.com/python/cpython/issues/158552
GH-158802https://github.com/python/cpython/pull/158802
#158845https://github.com/python/cpython/pull/158845
gh-158552https://github.com/python/cpython/issues/158552
GH-158802https://github.com/python/cpython/pull/158802
gh-158552https://github.com/python/cpython/issues/158552
1643525https://github.com/python/cpython/commit/1643525f0f89438d87daf4cdbb1cbb1de9df08e8
31288dahttps://github.com/python/cpython/commit/31288da21d4536eccd8df2e8222687919164e867
gh-152721https://github.com/python/cpython/issues/152721
GH-152722https://github.com/python/cpython/pull/152722
#158850https://github.com/python/cpython/pull/158850
GH-152722https://github.com/python/cpython/pull/152722
ebaca2ahttps://github.com/python/cpython/commit/ebaca2ac2d3ac29cd2760b6a5e4617c3fc5f6333
gh-156545https://github.com/python/cpython/issues/156545
GH-156546https://github.com/python/cpython/pull/156546
#158851https://github.com/python/cpython/pull/158851
GH-156546https://github.com/python/cpython/pull/156546
0ac7217https://github.com/python/cpython/commit/0ac721704092d8f96720c6fd1d68c5941a4a530a
gh-158540https://github.com/python/cpython/issues/158540
GH-158548https://github.com/python/cpython/pull/158548
#158844https://github.com/python/cpython/pull/158844
gh-158540https://github.com/python/cpython/issues/158540
GH-158548https://github.com/python/cpython/pull/158548
gh-158540https://github.com/python/cpython/issues/158540
gh-158540https://github.com/python/cpython/issues/158540
3f02aabhttps://github.com/python/cpython/commit/3f02aab9faa338853425da23541e44e4bd24d478
f52d831https://github.com/python/cpython/commit/f52d831397ec77cf969c71c1ef339c1e28494eca
gh-153838https://github.com/python/cpython/issues/153838
GH-153839https://github.com/python/cpython/pull/153839
#158853https://github.com/python/cpython/pull/158853
GH-153839https://github.com/python/cpython/pull/153839
48998dfhttps://github.com/python/cpython/commit/48998df2510c0daa837f98bbbbe6cc49ef60dc43
gh-158539https://github.com/python/cpython/issues/158539
GH-158581https://github.com/python/cpython/pull/158581
#158852https://github.com/python/cpython/pull/158852
gh-158539https://github.com/python/cpython/issues/158539
GH-158581https://github.com/python/cpython/pull/158581
GH-158581https://github.com/python/cpython/pull/158581
gh-158539https://github.com/python/cpython/issues/158539
gh-158539https://github.com/python/cpython/issues/158539
gh-158539https://github.com/python/cpython/issues/158539
d625ecbhttps://github.com/python/cpython/commit/d625ecbb8d36b7dd26c61b13d1c97de117d36642
gh-158522https://github.com/python/cpython/issues/158522
GH-158526https://github.com/python/cpython/pull/158526
#158870https://github.com/python/cpython/pull/158870
a904b39https://github.com/python/cpython/commit/a904b397ed324e404a8abd682b056c146cb48263
gh-156545https://github.com/python/cpython/issues/156545
gh-158539https://github.com/python/cpython/issues/158539
#158874https://github.com/python/cpython/pull/158874
114de19https://github.com/python/cpython/commit/114de198c0a05d8169cdbbd8f1e0976dc1319284
ce5ae29https://github.com/python/cpython/commit/ce5ae29ef9b8ccb32683c922d135339311c36c9d
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%2F158851
Please reload this pagehttps://github.com/python/cpython/pull/158851
Please reload this pagehttps://github.com/python/cpython/pull/158851
https://github.com/pablogsal
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.