Skip to content

[3.15] gh-156545: Fix flamegraph export RecursionError on deeply recursive programs (GH-156546) - #158851

Merged
pablogsal merged 1 commit into
python:3.15from
pablogsal:tachyon-backport-156546-315
Oct 5, 2026
Merged

pablogsal merged 1 commit into
python:3.15from
pablogsal:tachyon-backport-156546-315

Conversation

@pablogsal

@pablogsal pablogsal commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

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 tests pass.

…y recursive programs (pythonGH-156546)

Backport of pythonGH-156546.

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
@pablogsal
pablogsal enabled auto-merge (squash) October 5, 2026 14:37
@pablogsal
pablogsal merged commit 0ac7217 into python:3.15 Oct 5, 2026
56 checks passed
@pablogsal
pablogsal deleted the tachyon-backport-156546-315 branch October 5, 2026 14:43
pablogsal added a commit to pablogsal/cpython that referenced this pull request Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant