| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a87073a7-d99b-ce27-aa61-8f89c5634553 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D60C:15F89A:285BF75:368DF06:696AE553 |
| html-safe-nonce | 3325ac470b6cfe04739eff2be9ec0425563aaaa20ffe3a56c0a252096692ae2d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjBDOjE1Rjg5QToyODVCRjc1OjM2OERGMDY6Njk2QUU1NTMiLCJ2aXNpdG9yX2lkIjoiMjM0MDE1MDU1MjYxMjc1ODg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e6b911f8aa244f0e6999f0ea6648c958bf3cc891fa0d5f3caf32f0b95b52d78f |
| hovercard-subject-tag | pull_request:3091509555 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/142561/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/02bbe4f1c5ed824e9c6a95e201e1df71ca15a81231383626272804157f9439c2/python/cpython/pull/142561 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02bbe4f1c5ed824e9c6a95e201e1df71ca15a81231383626272804157f9439c2/python/cpython/pull/142561 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d84d50b3c75fa36755c3cf392edbc09e626f979 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/142561 |
| Reload | https://github.com/python/cpython/pull/142561 |
| Reload | https://github.com/python/cpython/pull/142561 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/142561#issue-comment-box |
| pablogsal | https://github.com/pablogsal |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:exceptions | https://github.com/pablogsal/cpython/tree/exceptions |
|
gh-138122: Add exception profiling mode to the sampling profiler
| https://github.com/python/cpython/pull/142561#top |
| pablogsal | https://github.com/pablogsal |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:exceptions | https://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 page | https://github.com/python/cpython/pull/142561 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Dec 11, 2025 | https://github.com/python/cpython/pull/142561#issue-3717665896 |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| Implement PEP 799 – A dedicated profiling package for organizing Python profiling tools #138122 | https://github.com/python/cpython/issues/138122 |
| https://cpython-previews--142561.org.readthedocs.build/ | https://cpython-previews--142561.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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-app | https://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, 2025 | https://github.com/python/cpython/pull/142561#event-21494152181 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/2746f4aee2c6e0305b03758271bc255861450dbb..d756ae5ea759c77ab3414f5c3a4266b32be796fc |
| 2746f4a | https://github.com/python/cpython/commit/2746f4aee2c6e0305b03758271bc255861450dbb |
| d756ae5 | https://github.com/python/cpython/commit/d756ae5ea759c77ab3414f5c3a4266b32be796fc |
|
Compare
| https://github.com/python/cpython/compare/2746f4aee2c6e0305b03758271bc255861450dbb..d756ae5ea759c77ab3414f5c3a4266b32be796fc |
| December 11, 2025 04:17 | https://github.com/python/cpython/pull/142561#event-21494181054 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| StanFromIreland | https://github.com/StanFromIreland |
| savannahostrowski | https://github.com/savannahostrowski |
| December 11, 2025 04:19 | https://github.com/python/cpython/pull/142561#event-21494193792 |
|
| https://github.com/pablogsal |
| pythongh-138122 | https://github.com/python/cpython/issues/138122 |
| : Add exception profiling mode to the sampling profiler | https://github.com/python/cpython/pull/142561/commits/c316046b5a34d2d70a237a4a50289bdef7e2eb36 |
| c316046 | https://github.com/python/cpython/pull/142561/commits/c316046b5a34d2d70a237a4a50289bdef7e2eb36 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/d756ae5ea759c77ab3414f5c3a4266b32be796fc..c316046b5a34d2d70a237a4a50289bdef7e2eb36 |
| d756ae5 | https://github.com/python/cpython/commit/d756ae5ea759c77ab3414f5c3a4266b32be796fc |
| c316046 | https://github.com/python/cpython/commit/c316046b5a34d2d70a237a4a50289bdef7e2eb36 |
|
Compare
| https://github.com/python/cpython/compare/d756ae5ea759c77ab3414f5c3a4266b32be796fc..c316046b5a34d2d70a237a4a50289bdef7e2eb36 |
| December 11, 2025 04:19 | https://github.com/python/cpython/pull/142561#event-21494200164 |
|
| https://github.com/pablogsal |
| Add what's new entry | https://github.com/python/cpython/pull/142561/commits/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6 |
| 011f3f0 | https://github.com/python/cpython/pull/142561/commits/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| AA-Turner | https://github.com/AA-Turner |
| code owner | https://github.com/python/cpython/blob/b52e8ce4af89503e1a375802c4902918c69fb1ec/.github/CODEOWNERS#L114 |
| December 11, 2025 04:25 | https://github.com/python/cpython/pull/142561#event-21494254816 |
| https://github.com/savannahostrowski |
| savannahostrowski | https://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.py | https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6#diff-51671a4eea64fc8902d5f510e433ab2949b6b5b6d944ec963ab541d5ee315e0f |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| Lib/profiling/sampling/cli.py | https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6#diff-51671a4eea64fc8902d5f510e433ab2949b6b5b6d944ec963ab541d5ee315e0f |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2025 | https://github.com/python/cpython/pull/142561#event-21495690421 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Dec 11, 2025 | https://github.com/python/cpython/pull/142561#issuecomment-3640345473 |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Dec 11, 2025 | https://github.com/python/cpython/pull/142561#event-21495690525 |
| https://github.com/savannahostrowski |
| savannahostrowski | https://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-app | https://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, 2025 | https://github.com/python/cpython/pull/142561#event-21511372400 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://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.rst | https://github.com/python/cpython/pull/142561/files/011f3f0234c0dd4118a8cc43b8d44ead8cde51a6#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
|
| https://github.com/pablogsal |
| remove impl details | https://github.com/python/cpython/pull/142561/commits/364726b150779af76c8232b657cc3e48fc2edce3 |
| 364726b | https://github.com/python/cpython/pull/142561/commits/364726b150779af76c8232b657cc3e48fc2edce3 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://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 |
| StanFromIreland | https://github.com/StanFromIreland |
| https://github.com/python/cpython/pull/142561#pullrequestreview-3569141402 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| 6a0135a | https://github.com/python/cpython/commit/6a0135a392992a38dc5199045748bc10a4e451e8 |
| Dec 11, 2025 | https://github.com/python/cpython/pull/142561#event-21513452466 |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| December 11, 2025 20:46 | https://github.com/python/cpython/pull/142561#event-21513452982 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Dec 11, 2025 | https://github.com/python/cpython/pull/142561#event-21513453432 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Dec 11, 2025 | https://github.com/python/cpython/pull/142561#issuecomment-3643720046 |
| @StanFromIreland | https://github.com/StanFromIreland |
| @savannahostrowski | https://github.com/savannahostrowski |
| Please reload this page | https://github.com/python/cpython/pull/142561 |
| fatelei | https://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-138122 | https://github.com/python/cpython/issues/138122 |
| : Add exception profiling mode to the sampling profiler ( | https://github.com/fatelei/cpython/commit/92f111431d1259711fa5fd82e9b2fdc5184d6b26 |
| 92f1114 | https://github.com/fatelei/cpython/commit/92f111431d1259711fa5fd82e9b2fdc5184d6b26 |
| python#142561 | https://github.com/python/cpython/pull/142561 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/python/cpython/pull/142561 |
|
| https://github.com/pablogsal |
|
| https://github.com/savannahostrowski |
|
| https://github.com/StanFromIreland |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |