René's URL Explorer Experiment


Title: [3.15] gh-158539: Fix exception mode missing handlers in generators/coroutines (GH-158581) by pablogsal · Pull Request #158852 · python/cpython · GitHub

Open Graph Title: [3.15] gh-158539: Fix exception mode missing handlers in generators/coroutines (GH-158581) by pablogsal · Pull Request #158852 · python/cpython

X Title: [3.15] gh-158539: Fix exception mode missing handlers in generators/coroutines (GH-158581) by pablogsal · Pull Request #158852 · python/cpython

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

Open Graph Description: Backport of #158581 to 3.15. Follow the active exception chain, including nested generators, without changing the exported debug-offset layout. The combined 3.15 profiling and external-inspection t...

X Description: Backport of #158581 to 3.15. Follow the active exception chain, including nested generators, without changing the exported debug-offset layout. The combined 3.15 profiling and external-inspection t...

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

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:fc4ff07d-380f-31bd-da85-e06f9f9f8bf6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE6E:19B6A2:1AC4139:2356B42:6B021B14
html-safe-nonce0f5a92c77e9c7010cde2990b1c81d9c36d6992a87bf683b29e296c52a286fae7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTZFOjE5QjZBMjoxQUM0MTM5OjIzNTZCNDI6NkIwMjFCMTQiLCJ2aXNpdG9yX2lkIjoiNzAzMDQ4Mzk5Nzg1MTUyMzg2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac715b37277ca6ce83a6ccc56ecd83a8fdaa8e5d85909d8417cb2dd98255c57050
hovercard-subject-tagpull_request:4746219396
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/158852/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/93a08579722127d4e367d6e85e144e424717829e6e42cbfc13a31309571f9a96/python/cpython/pull/158852
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/93a08579722127d4e367d6e85e144e424717829e6e42cbfc13a31309571f9a96/python/cpython/pull/158852
og:image:altBackport of #158581 to 3.15. Follow the active exception chain, including nested generators, without changing the exported debug-offset layout. The combined 3.15 profiling and external-inspection t...
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/158852#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158852
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%2F158852
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/158852
Reloadhttps://github.com/python/cpython/pull/158852
Reloadhttps://github.com/python/cpython/pull/158852
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-158581-315https://github.com/pablogsal/cpython/tree/tachyon-backport-158581-315
Conversationhttps://github.com/python/cpython/pull/158852
Commits4 (4)https://github.com/python/cpython/pull/158852/commits
Checkshttps://github.com/python/cpython/pull/158852/checks
Files changedhttps://github.com/python/cpython/pull/158852/files
[3.15] gh-158539: Fix exception mode missing handlers in generators/coroutines (GH-158581)https://github.com/python/cpython/pull/158852#top
pablogsalhttps://github.com/pablogsal
python:3.15https://github.com/python/cpython/tree/3.15
pablogsal:tachyon-backport-158581-315https://github.com/pablogsal/cpython/tree/tachyon-backport-158581-315
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Oct 5, 2026https://github.com/python/cpython/pull/158852#issue-5713542330
Please reload this pagehttps://github.com/python/cpython/pull/158852
#158581https://github.com/python/cpython/pull/158581
profiling.sampling: exception mode misses except blocks running in generators and coroutines #158539https://github.com/python/cpython/issues/158539
Please reload this pagehttps://github.com/python/cpython/pull/158852
https://github.com/pablogsal
https://github.com/hetaozdh
[3.15]https://github.com/python/cpython/pull/158852/commits/35144d8cd3ce253723b8543821253a37f0a207a9
pythongh-158539https://github.com/python/cpython/issues/158539
: Fix exception mode missing handlers in genera…https://github.com/python/cpython/pull/158852/commits/35144d8cd3ce253723b8543821253a37f0a207a9
35144d8https://github.com/python/cpython/pull/158852/commits/35144d8cd3ce253723b8543821253a37f0a207a9
pythonGH-158581https://github.com/python/cpython/pull/158581
pythonGH-158581https://github.com/python/cpython/pull/158581
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2026 https://github.com/python/cpython/pull/158852#ref-issue-5654595395
profiling.sampling: exception mode misses except blocks running in generators and coroutines #158539 https://github.com/python/cpython/issues/158539
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/158852#event-32515734612
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2026 https://github.com/python/cpython/pull/158852#ref-pullrequest-5669573868
gh-158539: Fix exception mode missing handlers in generators/coroutines #158581 https://github.com/python/cpython/pull/158581
pablogsalhttps://github.com/pablogsal
October 5, 2026 15:12https://github.com/python/cpython/pull/158852#commits-pushed-370180d
https://github.com/pablogsal
[3.15]https://github.com/python/cpython/pull/158852/commits/370180d849e7977083ee515b9056de3f483d384b
pythongh-158539https://github.com/python/cpython/issues/158539
: Use portable static assertion messageshttps://github.com/python/cpython/pull/158852/commits/370180d849e7977083ee515b9056de3f483d384b
370180dhttps://github.com/python/cpython/pull/158852/commits/370180d849e7977083ee515b9056de3f483d384b
https://github.com/pablogsal
[3.15]https://github.com/python/cpython/pull/158852/commits/336310a7d62b9ba439d118e241b6d47503dbfa91
pythongh-158539https://github.com/python/cpython/issues/158539
: Keep layout assertions with debug-offset vali…https://github.com/python/cpython/pull/158852/commits/336310a7d62b9ba439d118e241b6d47503dbfa91
336310ahttps://github.com/python/cpython/pull/158852/commits/336310a7d62b9ba439d118e241b6d47503dbfa91
https://github.com/pablogsal
[3.15]https://github.com/python/cpython/pull/158852/commits/27eb316b6d17b27a13a4c391240b7eaedb4b5884
pythongh-158539https://github.com/python/cpython/issues/158539
: Use the platform guard for in-process inspect…https://github.com/python/cpython/pull/158852/commits/27eb316b6d17b27a13a4c391240b7eaedb4b5884
27eb316https://github.com/python/cpython/pull/158852/commits/27eb316b6d17b27a13a4c391240b7eaedb4b5884
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
d625ecbhttps://github.com/python/cpython/commit/d625ecbb8d36b7dd26c61b13d1c97de117d36642
Oct 5, 2026https://github.com/python/cpython/pull/158852#event-32521304146
Please reload this pagehttps://github.com/python/cpython/pull/158852
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
October 5, 2026 15:17https://github.com/python/cpython/pull/158852#event-32521308170
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/158852#event-32521325758
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Oct 5, 2026 https://github.com/python/cpython/pull/158852#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/158852#ref-commit-bdd3303
https://github.com/pablogsal
Revert "[3.15]https://github.com/pablogsal/cpython/commit/bdd33034b0a04573fad846e2281de159910b04dc
pythongh-158539https://github.com/python/cpython/issues/158539
: Fix exception mode missing handlers i…https://github.com/pablogsal/cpython/commit/bdd33034b0a04573fad846e2281de159910b04dc
bdd3303https://github.com/pablogsal/cpython/commit/bdd33034b0a04573fad846e2281de159910b04dc
pythonGH-158581https://github.com/python/cpython/pull/158581
python#158852https://github.com/python/cpython/pull/158852
d625ecbhttps://github.com/pablogsal/cpython/commit/d625ecbb8d36b7dd26c61b13d1c97de117d36642
pablogsalhttps://github.com/pablogsal
Oct 11, 2026 https://github.com/python/cpython/pull/158852#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%2F158852
Please reload this pagehttps://github.com/python/cpython/pull/158852
Please reload this pagehttps://github.com/python/cpython/pull/158852
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.