René's URL Explorer Experiment


Title: GH-99205: Mark new interpreters and threads as non-static by brandtbucher · Pull Request #99268 · python/cpython · GitHub

Open Graph Title: GH-99205: Mark new interpreters and threads as non-static by brandtbucher · Pull Request #99268 · python/cpython

X Title: GH-99205: Mark new interpreters and threads as non-static by brandtbucher · Pull Request #99268 · python/cpython

Description: Issue: PyThreadState and PyInterpreterState are not freed #99205

Open Graph Description: Issue: PyThreadState and PyInterpreterState are not freed #99205

X Description: Issue: PyThreadState and PyInterpreterState are not freed #99205

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

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:dbd7d441-4862-8b40-862d-a183c9672a3c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD52:1AB621:2A69B6:38AED9:6969D916
html-safe-nonce20776603d90a1577a4243a8fbe1721a91e8fa068d81dc90ea70eaf823b2a6e93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDUyOjFBQjYyMToyQTY5QjY6MzhBRUQ5OjY5NjlEOTE2IiwidmlzaXRvcl9pZCI6IjM0Njk4MTg2MjYyNzQ2NTQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd56c159314f98d1372145552078670876a243c4b0dfa8be54653af9e7d9f89c3
hovercard-subject-tagpull_request:1115244311
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/99268/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f2066c23a0c56a56e2f06e550543bed3ded269d487f3126e4ed2148831e32a63/python/cpython/pull/99268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2066c23a0c56a56e2f06e550543bed3ded269d487f3126e4ed2148831e32a63/python/cpython/pull/99268
og:image:altIssue: PyThreadState and PyInterpreterState are not freed #99205
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrandtbucher
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/99268#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99268
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%2F99268
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/99268
Reloadhttps://github.com/python/cpython/pull/99268
Reloadhttps://github.com/python/cpython/pull/99268
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/99268
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/99268
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/99268#issue-comment-box
brandtbucherhttps://github.com/brandtbucher
python:mainhttps://github.com/python/cpython/tree/main
brandtbucher:threadstate-memory-leakhttps://github.com/brandtbucher/cpython/tree/threadstate-memory-leak
GH-99205: Mark new interpreters and threads as non-static https://github.com/python/cpython/pull/99268#top
brandtbucherhttps://github.com/brandtbucher
python:mainhttps://github.com/python/cpython/tree/main
brandtbucher:threadstate-memory-leakhttps://github.com/brandtbucher/cpython/tree/threadstate-memory-leak
Conversation 11 https://github.com/python/cpython/pull/99268
Commits 4 https://github.com/python/cpython/pull/99268/commits
Checks 0 https://github.com/python/cpython/pull/99268/checks
Files changed https://github.com/python/cpython/pull/99268/files
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 9, 2022https://github.com/python/cpython/pull/99268#issue-1441138122
Please reload this pagehttps://github.com/python/cpython/pull/99268
PyThreadState and PyInterpreterState are not freed #99205https://github.com/python/cpython/issues/99205
Please reload this pagehttps://github.com/python/cpython/pull/99268
brandtbucherhttps://github.com/brandtbucher
November 8, 2022 16:31https://github.com/python/cpython/pull/99268#commits-pushed-378210f
https://github.com/brandtbucher
Mark new interpreters and threads as non-statichttps://github.com/python/cpython/pull/99268/commits/378210fc2aa522979a3666d485fd1232e2efddc6
378210fhttps://github.com/python/cpython/pull/99268/commits/378210fc2aa522979a3666d485fd1232e2efddc6
https://github.com/brandtbucher
blurb addhttps://github.com/python/cpython/pull/99268/commits/287155b6fbefb827cbcd161ff7b87b0c2238ff6a
287155bhttps://github.com/python/cpython/pull/99268/commits/287155b6fbefb827cbcd161ff7b87b0c2238ff6a
https://github.com/brandtbucher
fixuphttps://github.com/python/cpython/pull/99268/commits/5171ab1a23e4df058a580f4cd2427e9d788f810e
5171ab1https://github.com/python/cpython/pull/99268/commits/5171ab1a23e4df058a580f4cd2427e9d788f810e
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
interpreter-core https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Ainterpreter-core
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Nov 9, 2022https://github.com/python/cpython/pull/99268#event-7768068668
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
November 9, 2022 00:39https://github.com/python/cpython/pull/99268#event-7768068700
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 9, 2022https://github.com/python/cpython/pull/99268#event-7768068779
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 9, 2022 https://github.com/python/cpython/pull/99268#ref-issue-1438527053
PyThreadState and PyInterpreterState are not freed #99205 https://github.com/python/cpython/issues/99205
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 9, 2022https://github.com/python/cpython/pull/99268#event-7768069399
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Nov 9, 2022 https://github.com/python/cpython/pull/99268#pullrequestreview-1174028746
View reviewed changes https://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e
kumaraditya303https://github.com/kumaraditya303
https://github.com/python/cpython/pull/99268#pullrequestreview-1174028746
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Nov 9, 2022 https://github.com/python/cpython/pull/99268#pullrequestreview-1174406394
View reviewed changes https://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
https://github.com/python/cpython/pull/99268#pullrequestreview-1174406394
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99268
Python/pystate.chttps://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
Please reload this pagehttps://github.com/python/cpython/pull/99268
Python/pystate.chttps://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Nov 9, 2022https://github.com/python/cpython/pull/99268#discussion_r1018185180
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
PyThreadState_INIT()https://github.com/python/cpython/blob/2eee9d9cd7eb1e396fa9a4af7c5fadeeafbdaa38/Include/internal/pycore_runtime_init.h#L68-L73
Please reload this pagehttps://github.com/python/cpython/pull/99268
Python/pystate.chttps://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Nov 9, 2022https://github.com/python/cpython/pull/99268#discussion_r1018186194
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
PyInterpreterState_INIT()https://github.com/python/cpython/blob/2eee9d9cd7eb1e396fa9a4af7c5fadeeafbdaa38/Include/internal/pycore_runtime_init.h#L48-L66
Please reload this pagehttps://github.com/python/cpython/pull/99268
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 9, 2022https://github.com/python/cpython/pull/99268#event-7775458090
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Nov 9, 2022https://github.com/python/cpython/pull/99268#issuecomment-1309049892
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
pablogsalhttps://github.com/pablogsal
November 9, 2022 17:16https://github.com/python/cpython/pull/99268#event-7775678909
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 9, 2022https://github.com/python/cpython/pull/99268#issuecomment-1309247781
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.com/fuzzard
fuzzardhttps://github.com/fuzzard
Nov 9, 2022 https://github.com/python/cpython/pull/99268#ref-pullrequest-1431140305
Python3 update to 3.11.0 LibreELEC/LibreELEC.tv#7072 https://github.com/LibreELEC/LibreELEC.tv/pull/7072
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Nov 9, 2022https://github.com/python/cpython/pull/99268#issuecomment-1309274842
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 9, 2022https://github.com/python/cpython/pull/99268#issuecomment-1309365548
Please reload this pagehttps://github.com/python/cpython/pull/99268
cpython/Python/pystate.chttps://github.com/python/cpython/blob/58ee5d8677fbd4c6c58b7a78117835bccede6bcd/Python/pystate.c#L818-L821
58ee5d8https://github.com/python/cpython/commit/58ee5d8677fbd4c6c58b7a78117835bccede6bcd
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.com/brandtbucher
Feedback from code reviewhttps://github.com/python/cpython/pull/99268/commits/f380af050d5d245f4310468455a22f22a9248dc8
f380af0https://github.com/python/cpython/pull/99268/commits/f380af050d5d245f4310468455a22f22a9248dc8
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
283ab0ehttps://github.com/python/cpython/commit/283ab0e1c002f2d7459d581df6b4b8599e7d1a4d
Nov 9, 2022https://github.com/python/cpython/pull/99268#event-7777577738
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 9, 2022https://github.com/python/cpython/pull/99268#issuecomment-1309427433
@brandtbucherhttps://github.com/brandtbucher
Please reload this pagehttps://github.com/python/cpython/pull/99268
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 9, 2022https://github.com/python/cpython/pull/99268#event-7777578043
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 9, 2022https://github.com/python/cpython/pull/99268#issuecomment-1309427690
GH-99301https://github.com/python/cpython/pull/99301
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/99268
miss-islingtonhttps://github.com/miss-islington
Nov 9, 2022 https://github.com/python/cpython/pull/99268#ref-commit-27763ef
https://github.com/brandtbucher
https://github.com/miss-islington
pythonGH-99205https://github.com/python/cpython/issues/99205
: Mark new interpreters and threads as non-static (https://github.com/miss-islington/cpython/commit/27763ef6ac5ad9d70dba68bf9c2c910ef1ddcded
pyth…https://github.com/python/cpython/pull/99268
27763efhttps://github.com/miss-islington/cpython/commit/27763ef6ac5ad9d70dba68bf9c2c910ef1ddcded
…onGH-99268https://github.com/python/cpython/pull/99268
283ab0ehttps://github.com/miss-islington/cpython/commit/283ab0e1c002f2d7459d581df6b4b8599e7d1a4d
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Nov 9, 2022https://github.com/python/cpython/pull/99268#event-7777579816
miss-islingtonhttps://github.com/miss-islington
Nov 9, 2022 https://github.com/python/cpython/pull/99268#ref-commit-7c9c993
https://github.com/miss-islington
https://github.com/brandtbucher
GH-99205https://github.com/python/cpython/issues/99205
: Mark new interpreters and threads as non-static (https://github.com/python/cpython/commit/7c9c993945a63dc774554a8cc5ee1ef62a2454c7
GH-99268https://github.com/python/cpython/pull/99268
)https://github.com/python/cpython/commit/7c9c993945a63dc774554a8cc5ee1ef62a2454c7
7c9c993https://github.com/python/cpython/commit/7c9c993945a63dc774554a8cc5ee1ef62a2454c7
283ab0ehttps://github.com/python/cpython/commit/283ab0e1c002f2d7459d581df6b4b8599e7d1a4d
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%2F99268
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/99268/files/5171ab1a23e4df058a580f4cd2427e9d788f810e
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
interpreter-core https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Ainterpreter-core
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/99268
https://github.com/brandtbucher
https://github.com/ericsnowcurrently
https://github.com/pablogsal
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/kumaraditya303
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.