René's URL Explorer Experiment


Title: gh-99377: Add audit events for thread creation and clear by zooba · Pull Request #99378 · python/cpython · GitHub

Open Graph Title: gh-99377: Add audit events for thread creation and clear by zooba · Pull Request #99378 · python/cpython

X Title: gh-99377: Add audit events for thread creation and clear by zooba · Pull Request #99378 · python/cpython

Description: Also moves some asserts around to ensure we assert before using the things we're asserting Issue: Add audit events for thread creation/close #99377

Open Graph Description: Also moves some asserts around to ensure we assert before using the things we're asserting Issue: Add audit events for thread creation/close #99377

X Description: Also moves some asserts around to ensure we assert before using the things we're asserting Issue: Add audit events for thread creation/close #99377

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

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:6ed08a44-004e-625c-3e54-4559627bf4ef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8FB2:8D142:261D48:341BC3:696AA309
html-safe-nonceb94b3e9cb5d950c20bd975745949533596f01a3b1ae135045626cefe42618b6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkIyOjhEMTQyOjI2MUQ0ODozNDFCQzM6Njk2QUEzMDkiLCJ2aXNpdG9yX2lkIjoiNDc3OTY4NDcwOTY1NjA3NzA2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb328a37ec940c923ecc82bbec4b881a8b1d6ef194a250d5a678dafd127c99af8
hovercard-subject-tagpull_request:1119180708
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/99378/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8f195008631b25f01bdecba1e9d3a28ef6b08fedc3ca246a9ed4fd10572443a3/python/cpython/pull/99378
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8f195008631b25f01bdecba1e9d3a28ef6b08fedc3ca246a9ed4fd10572443a3/python/cpython/pull/99378
og:image:altAlso moves some asserts around to ensure we assert before using the things we're asserting Issue: Add audit events for thread creation/close #99377
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezooba
hostnamegithub.com
expected-hostnamegithub.com
Nonea51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261
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
release4bd0eac606c70914085176ef312ebdcd97a8cdf1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/99378#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99378
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%2F99378
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/99378
Reloadhttps://github.com/python/cpython/pull/99378
Reloadhttps://github.com/python/cpython/pull/99378
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/99378
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/99378
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/99378#issue-comment-box
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
zooba:gh-99377https://github.com/zooba/cpython/tree/gh-99377
gh-99377: Add audit events for thread creation and clear https://github.com/python/cpython/pull/99378#top
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
zooba:gh-99377https://github.com/zooba/cpython/tree/gh-99377
Conversation 7 https://github.com/python/cpython/pull/99378
Commits 6 https://github.com/python/cpython/pull/99378/commits
Checks 0 https://github.com/python/cpython/pull/99378/checks
Files changed https://github.com/python/cpython/pull/99378/files
Please reload this pagehttps://github.com/python/cpython/pull/99378
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/zooba
zoobahttps://github.com/zooba
Nov 11, 2022https://github.com/python/cpython/pull/99378#issue-1445568538
Please reload this pagehttps://github.com/python/cpython/pull/99378
Add audit events for thread creation/close #99377https://github.com/python/cpython/issues/99377
Please reload this pagehttps://github.com/python/cpython/pull/99378
https://github.com/zooba
pythongh-99377https://github.com/python/cpython/issues/99377
: Add audit events for thread creation and clearhttps://github.com/python/cpython/pull/99378/commits/5c53261e1a78d6b203bb5bff8778f714fbb3776c
5c53261https://github.com/python/cpython/pull/99378/commits/5c53261e1a78d6b203bb5bff8778f714fbb3776c
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 11, 2022 https://github.com/python/cpython/pull/99378#ref-issue-1445519666
Add audit events for thread creation/close #99377 https://github.com/python/cpython/issues/99377
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 11, 2022https://github.com/python/cpython/pull/99378#event-7792649274
https://github.com/zooba
Only call Python hooks when GIL is heldhttps://github.com/python/cpython/pull/99378/commits/09f0fdf0d6882573961a3de6d3ccf27924182e8f
09f0fdfhttps://github.com/python/cpython/pull/99378/commits/09f0fdf0d6882573961a3de6d3ccf27924182e8f
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Nov 13, 2022 https://github.com/python/cpython/pull/99378#pullrequestreview-1178281929
View reviewed changes https://github.com/python/cpython/pull/99378/files/09f0fdf0d6882573961a3de6d3ccf27924182e8f
Doc/c-api/init.rsthttps://github.com/python/cpython/pull/99378/files/09f0fdf0d6882573961a3de6d3ccf27924182e8f#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
Please reload this pagehttps://github.com/python/cpython/pull/99378
Modules/_threadmodule.chttps://github.com/python/cpython/pull/99378/files/09f0fdf0d6882573961a3de6d3ccf27924182e8f#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
Please reload this pagehttps://github.com/python/cpython/pull/99378
Python/sysmodule.chttps://github.com/python/cpython/pull/99378/files/09f0fdf0d6882573961a3de6d3ccf27924182e8f#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Please reload this pagehttps://github.com/python/cpython/pull/99378
zoobahttps://github.com/zooba
November 15, 2022 00:33https://github.com/python/cpython/pull/99378#commits-pushed-9d69a0e
https://github.com/zooba
Tries raising the event from a different place, and adds idhttps://github.com/python/cpython/pull/99378/commits/9d69a0e774708908af03adb3aa65e99c9fd1047d
9d69a0ehttps://github.com/python/cpython/pull/99378/commits/9d69a0e774708908af03adb3aa65e99c9fd1047d
https://github.com/zooba
Fix testshttps://github.com/python/cpython/pull/99378/commits/76ef62196f774c730d399a753405f2f645f7c8c5
76ef621https://github.com/python/cpython/pull/99378/commits/76ef62196f774c730d399a753405f2f645f7c8c5
https://github.com/zooba
Revert whitespace changeshttps://github.com/python/cpython/pull/99378/commits/1ff0cdef84fcfb9debf79d176524c7910766bcbe
1ff0cdehttps://github.com/python/cpython/pull/99378/commits/1ff0cdef84fcfb9debf79d176524c7910766bcbe
https://github.com/zooba
Revert GIL checkhttps://github.com/python/cpython/pull/99378/commits/e67161cc35c476e37490a16049759f3111709169
e67161chttps://github.com/python/cpython/pull/99378/commits/e67161cc35c476e37490a16049759f3111709169
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Nov 16, 2022 https://github.com/python/cpython/pull/99378#pullrequestreview-1181849792
View reviewed changes https://github.com/python/cpython/pull/99378/files/e67161cc35c476e37490a16049759f3111709169
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 16, 2022https://github.com/python/cpython/pull/99378#event-7819695014
https://github.com/zooba
zoobahttps://github.com/zooba
19c1462https://github.com/python/cpython/commit/19c1462e8dca3319c8290e2edcce482bd18cb018
Nov 16, 2022https://github.com/python/cpython/pull/99378#event-7826239998
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 16, 2022https://github.com/python/cpython/pull/99378#event-7826240429
https://github.com/zooba
zoobahttps://github.com/zooba
November 16, 2022 17:15https://github.com/python/cpython/pull/99378#event-7826240495
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Nov 16, 2022 https://github.com/python/cpython/pull/99378#ref-issue-1452231358
Buildbots are crashing after #99378 #99544 https://github.com/python/cpython/issues/99544
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Nov 16, 2022 https://github.com/python/cpython/pull/99378#ref-commit-528dee0
https://github.com/ericsnowcurrently
Revert "https://github.com/ericsnowcurrently/cpython/commit/528dee00741f0dd439ff41f9536f083c6814ab30
pythongh-99377https://github.com/python/cpython/issues/99377
: Add audit events for thread creation and clear (https://github.com/ericsnowcurrently/cpython/commit/528dee00741f0dd439ff41f9536f083c6814ab30
528dee0https://github.com/ericsnowcurrently/cpython/commit/528dee00741f0dd439ff41f9536f083c6814ab30
pythonGH-99378https://github.com/python/cpython/pull/99378
19c1462https://github.com/ericsnowcurrently/cpython/commit/19c1462e8dca3319c8290e2edcce482bd18cb018
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%2F99378
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/99378/files/e67161cc35c476e37490a16049759f3111709169
Please reload this pagehttps://github.com/python/cpython/pull/99378
https://github.com/zooba
https://github.com/gpshead
https://github.com/bedevere-bot
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.