René's URL Explorer Experiment


Title: gh-138122: Add exception profiling mode to the sampling profiler by pablogsal · Pull Request #142561 · python/cpython · GitHub

Open Graph Title: gh-138122: Add exception profiling mode to the sampling profiler by pablogsal · Pull Request #142561 · python/cpython

X Title: gh-138122: Add exception profiling mode to the sampling profiler by pablogsal · Pull Request #142561 · python/cpython

Description: When profiling code it's often valuable to understand what code paths are executing while exceptions are being handled. The new --mode=exception option filters samples to only include threads that ...

Open Graph Description: When profiling code it's often valuable to understand what code paths are executing while exceptions are being handled. The new --mode=exception option filters samples to only include threads t...

X Description: When profiling code it's often valuable to understand what code paths are executing while exceptions are being handled. The new --mode=exception option filters samples to only include threa...

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

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:a87073a7-d99b-ce27-aa61-8f89c5634553
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD60C:15F89A:285BF75:368DF06:696AE553
html-safe-nonce3325ac470b6cfe04739eff2be9ec0425563aaaa20ffe3a56c0a252096692ae2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjBDOjE1Rjg5QToyODVCRjc1OjM2OERGMDY6Njk2QUU1NTMiLCJ2aXNpdG9yX2lkIjoiMjM0MDE1MDU1MjYxMjc1ODg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace6b911f8aa244f0e6999f0ea6648c958bf3cc891fa0d5f3caf32f0b95b52d78f
hovercard-subject-tagpull_request:3091509555
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/142561/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/02bbe4f1c5ed824e9c6a95e201e1df71ca15a81231383626272804157f9439c2/python/cpython/pull/142561
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/02bbe4f1c5ed824e9c6a95e201e1df71ca15a81231383626272804157f9439c2/python/cpython/pull/142561
og:image:altWhen profiling code it's often valuable to understand what code paths are executing while exceptions are being handled. The new --mode=exception option filters samples to only include threads t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release3d84d50b3c75fa36755c3cf392edbc09e626f979
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/142561#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142561
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F142561
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/142561
Reloadhttps://github.com/python/cpython/pull/142561
Reloadhttps://github.com/python/cpython/pull/142561
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/142561
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/142561
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/142561#issue-comment-box
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:exceptionshttps://github.com/pablogsal/cpython/tree/exceptions
gh-138122: Add exception profiling mode to the sampling profiler https://github.com/python/cpython/pull/142561#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:exceptionshttps://github.com/pablogsal/cpython/tree/exceptions
Conversation 12 https://github.com/python/cpython/pull/142561
Commits 3 https://github.com/python/cpython/pull/142561/commits
Checks 44 https://github.com/python/cpython/pull/142561/checks
Files changed https://github.com/python/cpython/pull/142561/files
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Dec 11, 2025https://github.com/python/cpython/pull/142561#issue-3717665896
Please reload this pagehttps://github.com/python/cpython/pull/142561
Implement PEP 799 – A dedicated profiling package for organizing Python profiling tools #138122https://github.com/python/cpython/issues/138122
https://cpython-previews--142561.org.readthedocs.build/https://cpython-previews--142561.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 11, 2025 https://github.com/python/cpython/pull/142561#ref-issue-3349958233
Implement PEP 799 – A dedicated profiling package for organizing Python profiling tools #138122 https://github.com/python/cpython/issues/138122
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
Dec 11, 2025https://github.com/python/cpython/pull/142561#event-21494152181
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/2746f4aee2c6e0305b03758271bc255861450dbb..d756ae5ea759c77ab3414f5c3a4266b32be796fc
2746f4ahttps://github.com/python/cpython/commit/2746f4aee2c6e0305b03758271bc255861450dbb
d756ae5https://github.com/python/cpython/commit/d756ae5ea759c77ab3414f5c3a4266b32be796fc
Compare https://github.com/python/cpython/compare/2746f4aee2c6e0305b03758271bc255861450dbb..d756ae5ea759c77ab3414f5c3a4266b32be796fc
December 11, 2025 04:17https://github.com/python/cpython/pull/142561#event-21494181054
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
StanFromIrelandhttps://github.com/StanFromIreland
savannahostrowskihttps://github.com/savannahostrowski
December 11, 2025 04:19https://github.com/python/cpython/pull/142561#event-21494193792
https://github.com/pablogsal
pythongh-138122https://github.com/python/cpython/issues/138122
: Add exception profiling mode to the sampling profilerhttps://github.com/python/cpython/pull/142561/commits/c316046b5a34d2d70a237a4a50289bdef7e2eb36
c316046https://github.com/python/cpython/pull/142561/commits/c316046b5a34d2d70a237a4a50289bdef7e2eb36
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/d756ae5ea759c77ab3414f5c3a4266b32be796fc..c316046b5a34d2d70a237a4a50289bdef7e2eb36
d756ae5https://github.com/python/cpython/commit/d756ae5ea759c77ab3414f5c3a4266b32be796fc
c316046https://github.com/python/cpython/commit/c316046b5a34d2d70a237a4a50289bdef7e2eb36
Compare https://github.com/python/cpython/compare/d756ae5ea759c77ab3414f5c3a4266b32be796fc..c316046b5a34d2d70a237a4a50289bdef7e2eb36
December 11, 2025 04:19https://github.com/python/cpython/pull/142561#event-21494200164
https://github.com/pablogsal
Add what's new entryhttps://github.com/python/cpython/pull/142561/commits/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6
011f3f0https://github.com/python/cpython/pull/142561/commits/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/b52e8ce4af89503e1a375802c4902918c69fb1ec/.github/CODEOWNERS#L114
December 11, 2025 04:25https://github.com/python/cpython/pull/142561#event-21494254816
https://github.com/savannahostrowski
savannahostrowskihttps://github.com/savannahostrowski
Dec 11, 2025 https://github.com/python/cpython/pull/142561#pullrequestreview-3565764022
View reviewed changes https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6
Lib/profiling/sampling/cli.pyhttps://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6#diff-51671a4eea64fc8902d5f510e433ab2949b6b5b6d944ec963ab541d5ee315e0f
Please reload this pagehttps://github.com/python/cpython/pull/142561
Lib/profiling/sampling/cli.pyhttps://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6#diff-51671a4eea64fc8902d5f510e433ab2949b6b5b6d944ec963ab541d5ee315e0f
Please reload this pagehttps://github.com/python/cpython/pull/142561
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
Dec 11, 2025https://github.com/python/cpython/pull/142561#event-21495690421
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 11, 2025https://github.com/python/cpython/pull/142561#issuecomment-3640345473
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Dec 11, 2025https://github.com/python/cpython/pull/142561#event-21495690525
https://github.com/savannahostrowski
savannahostrowskihttps://github.com/savannahostrowski
Dec 11, 2025 https://github.com/python/cpython/pull/142561#pullrequestreview-3568832350
View reviewed changes https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Dec 11, 2025https://github.com/python/cpython/pull/142561#event-21511372400
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Dec 11, 2025 https://github.com/python/cpython/pull/142561#pullrequestreview-3568908996
View reviewed changes https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6
Doc/library/profiling.sampling.rsthttps://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.com/pablogsal
remove impl detailshttps://github.com/python/cpython/pull/142561/commits/364726b150779af76c8232b657cc3e48fc2edce3
364726bhttps://github.com/python/cpython/pull/142561/commits/364726b150779af76c8232b657cc3e48fc2edce3
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Dec 11, 2025 https://github.com/python/cpython/pull/142561#pullrequestreview-3569141402
View reviewed changes https://github.com/python/cpython/pull/142561/files/364726b150779af76c8232b657cc3e48fc2edce3
StanFromIrelandhttps://github.com/StanFromIreland
https://github.com/python/cpython/pull/142561#pullrequestreview-3569141402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
6a0135ahttps://github.com/python/cpython/commit/6a0135a392992a38dc5199045748bc10a4e451e8
Dec 11, 2025https://github.com/python/cpython/pull/142561#event-21513452466
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
December 11, 2025 20:46https://github.com/python/cpython/pull/142561#event-21513452982
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Dec 11, 2025https://github.com/python/cpython/pull/142561#event-21513453432
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Dec 11, 2025https://github.com/python/cpython/pull/142561#issuecomment-3643720046
@StanFromIrelandhttps://github.com/StanFromIreland
@savannahostrowskihttps://github.com/savannahostrowski
Please reload this pagehttps://github.com/python/cpython/pull/142561
fateleihttps://github.com/fatelei
Dec 12, 2025 https://github.com/python/cpython/pull/142561#ref-commit-92f1114
https://github.com/pablogsal
https://github.com/fatelei
pythongh-138122https://github.com/python/cpython/issues/138122
: Add exception profiling mode to the sampling profiler (https://github.com/fatelei/cpython/commit/92f111431d1259711fa5fd82e9b2fdc5184d6b26
92f1114https://github.com/fatelei/cpython/commit/92f111431d1259711fa5fd82e9b2fdc5184d6b26
python#142561https://github.com/python/cpython/pull/142561
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%2F142561
https://github.com/savannahostrowski
savannahostrowski https://github.com/savannahostrowski
https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/142561/files/364726b150779af76c8232b657cc3e48fc2edce3
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/142561
https://github.com/pablogsal
https://github.com/savannahostrowski
https://github.com/StanFromIreland
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.