René's URL Explorer Experiment


Title: gh-153068: Preserve cprofile enable errors by aisk · Pull Request #153070 · python/cpython · GitHub

Open Graph Title: gh-153068: Preserve cprofile enable errors by aisk · Pull Request #153070 · python/cpython

X Title: gh-153068: Preserve cprofile enable errors by aisk · Pull Request #153070 · python/cpython

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

Open Graph Description: Issue: _lsprof.c: Profiler.enable() clobbers exception from use_tool_id #153068

X Description: Issue: _lsprof.c: Profiler.enable() clobbers exception from use_tool_id #153068

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

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:fa27fd7f-b557-1b2c-ec15-4f929cea7516
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83E8:3E7C6:725438:9A1B3D:6A514DE3
html-safe-nonce4f100b3f946fa91acdd42e406d2ff65a3d87231e615eb5419907bb059b20a76b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0U4OjNFN0M2OjcyNTQzODo5QTFCM0Q6NkE1MTRERTMiLCJ2aXNpdG9yX2lkIjoiODk5OTEyNTM4MzcyODE1NjEzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2058df602dd5eee3af15360be4c9eeb077bd707cb1326cde9d05defa357d5d14
hovercard-subject-tagpull_request:3992919799
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/153070/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/83bc4686a35a99e3e30a9767f825a50b53f7bd2ddbf07f20acf07e5b55c2173c/python/cpython/pull/153070
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/83bc4686a35a99e3e30a9767f825a50b53f7bd2ddbf07f20acf07e5b55c2173c/python/cpython/pull/153070
og:image:altIssue: _lsprof.c: Profiler.enable() clobbers exception from use_tool_id #153068
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaisk
hostnamegithub.com
expected-hostnamegithub.com
None6f17634ed2af1d116850bcea6c63a70a4d72970f33ade1dd3eef3764b7e16994
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
release511bff6ea06e144ed085ff736aea4c6404987b00
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/153070#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153070
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F153070
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/153070
Reloadhttps://github.com/python/cpython/pull/153070
Reloadhttps://github.com/python/cpython/pull/153070
Please reload this pagehttps://github.com/python/cpython/pull/153070
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/153070
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
aisk:preserve-cprofile-enable-errorshttps://github.com/aisk/cpython/tree/preserve-cprofile-enable-errors
Conversationhttps://github.com/python/cpython/pull/153070
Commits3 (3)https://github.com/python/cpython/pull/153070/commits
Checkshttps://github.com/python/cpython/pull/153070/checks
Files changedhttps://github.com/python/cpython/pull/153070/files
gh-153068: Preserve cprofile enable errorshttps://github.com/python/cpython/pull/153070#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
aisk:preserve-cprofile-enable-errorshttps://github.com/aisk/cpython/tree/preserve-cprofile-enable-errors
https://github.com/aisk
aiskhttps://github.com/aisk
Jul 5, 2026https://github.com/python/cpython/pull/153070#issue-4811960642
Please reload this pagehttps://github.com/python/cpython/pull/153070
_lsprof.c: Profiler.enable() clobbers exception from use_tool_id #153068https://github.com/python/cpython/issues/153068
Please reload this pagehttps://github.com/python/cpython/pull/153070
aiskhttps://github.com/aisk
July 5, 2026 15:20https://github.com/python/cpython/pull/153070#commits-pushed-2c1208b
https://github.com/aisk
Preserve cProfile enable errorshttps://github.com/python/cpython/pull/153070/commits/2c1208ba3847b1cbbf7469b7fca1911cdb7306c5
2c1208bhttps://github.com/python/cpython/pull/153070/commits/2c1208ba3847b1cbbf7469b7fca1911cdb7306c5
https://github.com/aisk
Blurb ithttps://github.com/python/cpython/pull/153070/commits/419a4c0bb0f6c227045af1c66c1773cfb16827ee
419a4c0https://github.com/python/cpython/pull/153070/commits/419a4c0bb0f6c227045af1c66c1773cfb16827ee
https://github.com/aisk
aiskhttps://github.com/aisk
pablogsalhttps://github.com/pablogsal
code ownerhttps://github.com/python/cpython/blob/600e86490fddf4732e8b993058ca011cc6387464/.github/CODEOWNERS#L558
July 5, 2026 07:11https://github.com/python/cpython/pull/153070#event-27569552597
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 5, 2026https://github.com/python/cpython/pull/153070#event-27569553943
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 5, 2026 https://github.com/python/cpython/pull/153070#ref-issue-4811937085
_lsprof.c: Profiler.enable() clobbers exception from use_tool_id #153068 https://github.com/python/cpython/issues/153068
https://github.com/aisk
fix news entryhttps://github.com/python/cpython/pull/153070/commits/8dbb9eadadbdf4a52eb59f0821a94d67851edcb4
8dbb9eahttps://github.com/python/cpython/pull/153070/commits/8dbb9eadadbdf4a52eb59f0821a94d67851edcb4
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jul 6, 2026 https://github.com/python/cpython/pull/153070#pullrequestreview-4640488539
View reviewed changes https://github.com/python/cpython/pull/153070/files/8dbb9eadadbdf4a52eb59f0821a94d67851edcb4
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636494686
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
dea93cehttps://github.com/python/cpython/commit/dea93ce2a203a9b3aedf091faa6610d13d2b5aea
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636495544
Please reload this pagehttps://github.com/python/cpython/pull/153070
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
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636496718
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636499636
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898589175
@aiskhttps://github.com/aisk
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898589211
@aiskhttps://github.com/aisk
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898589213
@aiskhttps://github.com/aisk
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898589863
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898590261
GH-153240https://github.com/python/cpython/pull/153240
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636507797
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898591082
GH-153241https://github.com/python/cpython/pull/153241
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636511461
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 6, 2026https://github.com/python/cpython/pull/153070#issuecomment-4898591597
GH-153242https://github.com/python/cpython/pull/153242
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jul 6, 2026https://github.com/python/cpython/pull/153070#event-27636513534
pablogsalhttps://github.com/pablogsal
Jul 7, 2026 https://github.com/python/cpython/pull/153070#ref-commit-f57837a
https://github.com/miss-islington
[3.14]https://github.com/python/cpython/commit/f57837a3f157f230e2f49d1c7d8e0987b1d942e1
gh-153068https://github.com/python/cpython/issues/153068
: Preserve cprofile enable errors (https://github.com/python/cpython/commit/f57837a3f157f230e2f49d1c7d8e0987b1d942e1
GH-153070https://github.com/python/cpython/pull/153070
) (https://github.com/python/cpython/commit/f57837a3f157f230e2f49d1c7d8e0987b1d942e1
#153242https://github.com/python/cpython/pull/153242
)https://github.com/python/cpython/commit/f57837a3f157f230e2f49d1c7d8e0987b1d942e1
f57837ahttps://github.com/python/cpython/commit/f57837a3f157f230e2f49d1c7d8e0987b1d942e1
pablogsalhttps://github.com/pablogsal
Jul 7, 2026 https://github.com/python/cpython/pull/153070#ref-commit-33948e7
https://github.com/miss-islington
[3.13]https://github.com/python/cpython/commit/33948e7231a500e3d736c6bfc9f162d11c78f597
gh-153068https://github.com/python/cpython/issues/153068
: Preserve cprofile enable errors (https://github.com/python/cpython/commit/33948e7231a500e3d736c6bfc9f162d11c78f597
GH-153070https://github.com/python/cpython/pull/153070
) (https://github.com/python/cpython/commit/33948e7231a500e3d736c6bfc9f162d11c78f597
#153240https://github.com/python/cpython/pull/153240
)https://github.com/python/cpython/commit/33948e7231a500e3d736c6bfc9f162d11c78f597
33948e7https://github.com/python/cpython/commit/33948e7231a500e3d736c6bfc9f162d11c78f597
https://github.com/aisk
aiskhttps://github.com/aisk
July 7, 2026 00:11https://github.com/python/cpython/pull/153070#event-27637480914
pablogsalhttps://github.com/pablogsal
Jul 7, 2026 https://github.com/python/cpython/pull/153070#ref-commit-78e9fdb
https://github.com/miss-islington
[3.15]https://github.com/python/cpython/commit/78e9fdb78f61f99a0ee05f412b45292df2088cc2
gh-153068https://github.com/python/cpython/issues/153068
: Preserve cprofile enable errors (https://github.com/python/cpython/commit/78e9fdb78f61f99a0ee05f412b45292df2088cc2
GH-153070https://github.com/python/cpython/pull/153070
) (https://github.com/python/cpython/commit/78e9fdb78f61f99a0ee05f412b45292df2088cc2
#153241https://github.com/python/cpython/pull/153241
)https://github.com/python/cpython/commit/78e9fdb78f61f99a0ee05f412b45292df2088cc2
78e9fdbhttps://github.com/python/cpython/commit/78e9fdb78f61f99a0ee05f412b45292df2088cc2
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%2F153070
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/153070/files/8dbb9eadadbdf4a52eb59f0821a94d67851edcb4
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Please reload this pagehttps://github.com/python/cpython/pull/153070
https://github.com/aisk
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.