René's URL Explorer Experiment


Title: gh-117142: ctypes: Fix memory leak of StgInfo by neonene · Pull Request #118139 · python/cpython · GitHub

Open Graph Title: gh-117142: ctypes: Fix memory leak of StgInfo by neonene · Pull Request #118139 · python/cpython

X Title: gh-117142: ctypes: Fix memory leak of StgInfo by neonene · Pull Request #118139 · python/cpython

Description: Fix intentional memory leak during a finish by introducing _PyType_GetBaseBySpec() with a type slot ID. Discussion: encukou/abi3#19 >python_d -X showrefcount -c "import ctypes" [188 refs, 132 block...

Open Graph Description: Fix intentional memory leak during a finish by introducing _PyType_GetBaseBySpec() with a type slot ID. Discussion: encukou/abi3#19 >python_d -X showrefcount -c "import ctypes" [188 re...

X Description: Fix intentional memory leak during a finish by introducing _PyType_GetBaseBySpec() with a type slot ID. Discussion: encukou/abi3#19 >python_d -X showrefcount -c "import ctypes&q...

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

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:25a2623a-5d02-e52f-826a-ab6758f4d1ef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD8F8:1860A8:1A44050:242D019:696AA429
html-safe-nonced4cf1f9736b04bb2dc0ac7983a41c9bb4e6bc8f78b4a080c0062caa3a86ff228
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEY4OjE4NjBBODoxQTQ0MDUwOjI0MkQwMTk6Njk2QUE0MjkiLCJ2aXNpdG9yX2lkIjoiNDc4ODQwNzU0MzQyMTExNzQ4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbace92b2fed55ee31e273d57236fd76d4bc4ec1bb8248e70a02212a2027ccc36
hovercard-subject-tagpull_request:1833783856
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/118139/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2ce1ae76db86e4ed7dac3fbf9a3a76663897f8ed6b0bf9a99df745006cde4723/python/cpython/pull/118139
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ce1ae76db86e4ed7dac3fbf9a3a76663897f8ed6b0bf9a99df745006cde4723/python/cpython/pull/118139
og:image:altFix intentional memory leak during a finish by introducing _PyType_GetBaseBySpec() with a type slot ID. Discussion: encukou/abi3#19 >python_d -X showrefcount -c "import ctypes" [188 re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameneonene
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-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/118139#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118139
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%2F118139
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/118139
Reloadhttps://github.com/python/cpython/pull/118139
Reloadhttps://github.com/python/cpython/pull/118139
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/118139
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/118139
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/118139#issue-comment-box
neonenehttps://github.com/neonene
python:mainhttps://github.com/python/cpython/tree/main
gh-117142: ctypes: Fix memory leak of StgInfo https://github.com/python/cpython/pull/118139#top
neonenehttps://github.com/neonene
python:mainhttps://github.com/python/cpython/tree/main
Conversation 3 https://github.com/python/cpython/pull/118139
Commits 14 https://github.com/python/cpython/pull/118139/commits
Checks 0 https://github.com/python/cpython/pull/118139/checks
Files changed https://github.com/python/cpython/pull/118139/files
Please reload this pagehttps://github.com/python/cpython/pull/118139
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/neonene
neonenehttps://github.com/neonene
Apr 22, 2024https://github.com/python/cpython/pull/118139#issue-2255620867
Please reload this pagehttps://github.com/python/cpython/pull/118139
encukou/abi3#19https://github.com/encukou/abi3/issues/19
@encukouhttps://github.com/encukou
Convert _ctypes extension module to multi-phase init #117142https://github.com/python/cpython/issues/117142
Please reload this pagehttps://github.com/python/cpython/pull/118139
neonenehttps://github.com/neonene
April 22, 2024 08:51https://github.com/python/cpython/pull/118139#commits-pushed-773891f
https://github.com/neonene
introduce Py_id_static_spec type slothttps://github.com/python/cpython/pull/118139/commits/773891f2090b03243c49d4b42f86fb26588aac48
773891fhttps://github.com/python/cpython/pull/118139/commits/773891f2090b03243c49d4b42f86fb26588aac48
https://github.com/neonene
introduce _PyType_GetBaseBySpec()https://github.com/python/cpython/pull/118139/commits/17b28bb361aeb86bb470cb9c13ac61a36dd32dd0
17b28bbhttps://github.com/python/cpython/pull/118139/commits/17b28bb361aeb86bb470cb9c13ac61a36dd32dd0
https://github.com/neonene
fix _ctypes mem leak during a finishhttps://github.com/python/cpython/pull/118139/commits/4d319e45c1a40458fa654a2ffb4710f8008f5f82
4d319e4https://github.com/python/cpython/pull/118139/commits/4d319e45c1a40458fa654a2ffb4710f8008f5f82
https://github.com/neonene
fix redundant base checkhttps://github.com/python/cpython/pull/118139/commits/de5b42f8e43f75cdf59bffe2818456dba2548086
de5b42fhttps://github.com/python/cpython/pull/118139/commits/de5b42f8e43f75cdf59bffe2818456dba2548086
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 22, 2024 https://github.com/python/cpython/pull/118139#ref-issue-2201423424
Convert _ctypes extension module to multi-phase init #117142 https://github.com/python/cpython/issues/117142
https://github.com/neonene
neonenehttps://github.com/neonene
Apr 22, 2024 https://github.com/python/cpython/pull/118139#ref-issue-1023820225
Better support for type checking encukou/abi3#19 https://github.com/encukou/abi3/issues/19
neonenehttps://github.com/neonene
April 22, 2024 14:51https://github.com/python/cpython/pull/118139#commits-pushed-3169285
https://github.com/neonene
fix a warninghttps://github.com/python/cpython/pull/118139/commits/3169285c358c9f5259cc3ccf156781745badb935
3169285https://github.com/python/cpython/pull/118139/commits/3169285c358c9f5259cc3ccf156781745badb935
https://github.com/neonene
fix failing testhttps://github.com/python/cpython/pull/118139/commits/9f7f30964c9927c218c7635f0781750deae046a6
9f7f309https://github.com/python/cpython/pull/118139/commits/9f7f30964c9927c218c7635f0781750deae046a6
https://github.com/neonene
fix typeslots.pyhttps://github.com/python/cpython/pull/118139/commits/42a8aa74ef62cb87e839f6ab33d91efeceea59e5
42a8aa7https://github.com/python/cpython/pull/118139/commits/42a8aa74ef62cb87e839f6ab33d91efeceea59e5
https://github.com/neonene
Merge branch 'main' into basespechttps://github.com/python/cpython/pull/118139/commits/949038936a703ef07485f59738b20e00e73a2e3f
9490389https://github.com/python/cpython/pull/118139/commits/949038936a703ef07485f59738b20e00e73a2e3f
https://github.com/neonene
add a commenthttps://github.com/python/cpython/pull/118139/commits/554a8a14b0aaa89e2050bc18c14d9278407b3a7d
554a8a1https://github.com/python/cpython/pull/118139/commits/554a8a14b0aaa89e2050bc18c14d9278407b3a7d
https://github.com/neonene
use MRO if existshttps://github.com/python/cpython/pull/118139/commits/ea1d78c5e69e0028354e234b71e084982fee8196
ea1d78chttps://github.com/python/cpython/pull/118139/commits/ea1d78c5e69e0028354e234b71e084982fee8196
https://github.com/encukou
encukouhttps://github.com/encukou
Apr 23, 2024https://github.com/python/cpython/pull/118139#issuecomment-2071509631
Please reload this pagehttps://github.com/python/cpython/pull/118139
https://github.com/neonene
walk MRO from top to downhttps://github.com/python/cpython/pull/118139/commits/d47b5841ff71ea5c242c46fcde600dd9d22ff84f
d47b584https://github.com/python/cpython/pull/118139/commits/d47b5841ff71ea5c242c46fcde600dd9d22ff84f
https://github.com/neonene
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118139
https://github.com/encukou
encukouhttps://github.com/encukou
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 25, 2024https://github.com/python/cpython/pull/118139#event-12608306339
neonenehttps://github.com/neonene
April 26, 2024 07:46https://github.com/python/cpython/pull/118139#commits-pushed-9b6bb44
https://github.com/neonene
remove get_module_state_by_def_final()https://github.com/python/cpython/pull/118139/commits/9b6bb44b024e8e26a7983fe58a5954b5df12fd35
9b6bb44https://github.com/python/cpython/pull/118139/commits/9b6bb44b024e8e26a7983fe58a5954b5df12fd35
https://github.com/neonene
Merge branch 'main' into basespechttps://github.com/python/cpython/pull/118139/commits/9b358fa1e34846107f8e6039b29f8c491c1fd35e
9b358fahttps://github.com/python/cpython/pull/118139/commits/9b358fa1e34846107f8e6039b29f8c491c1fd35e
https://github.com/neonene
Merge branch 'main' into basespechttps://github.com/python/cpython/pull/118139/commits/0ad4fbd1efc8ff4e247fb5e1a3bb23bc963136ad
0ad4fbdhttps://github.com/python/cpython/pull/118139/commits/0ad4fbd1efc8ff4e247fb5e1a3bb23bc963136ad
https://github.com/encukou
encukouhttps://github.com/encukou
May 22, 2024 https://github.com/python/cpython/pull/118139#ref-pullrequest-2311191045
gh-117142: Slightly hacky fix for memory leak of StgInfo #119424 https://github.com/python/cpython/pull/119424
https://github.com/encukou
encukouhttps://github.com/encukou
May 22, 2024https://github.com/python/cpython/pull/118139#issuecomment-2125589870
#119424https://github.com/python/cpython/pull/119424
Please reload this pagehttps://github.com/python/cpython/pull/118139
https://github.com/encukou
encukouhttps://github.com/encukou
May 22, 2024https://github.com/python/cpython/pull/118139#event-12899663679
https://github.com/neonene
neonenehttps://github.com/neonene
May 22, 2024 23:00https://github.com/python/cpython/pull/118139#event-12901490705
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%2F118139
https://github.com/markshannon
markshannon https://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/118139
https://github.com/neonene
https://github.com/encukou
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.