| 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:25a2623a-5d02-e52f-826a-ab6758f4d1ef |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8F8:1860A8:1A44050:242D019:696AA429 |
| html-safe-nonce | d4cf1f9736b04bb2dc0ac7983a41c9bb4e6bc8f78b4a080c0062caa3a86ff228 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEY4OjE4NjBBODoxQTQ0MDUwOjI0MkQwMTk6Njk2QUE0MjkiLCJ2aXNpdG9yX2lkIjoiNDc4ODQwNzU0MzQyMTExNzQ4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bace92b2fed55ee31e273d57236fd76d4bc4ec1bb8248e70a02212a2027ccc36 |
| hovercard-subject-tag | pull_request:1833783856 |
| 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/118139/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2ce1ae76db86e4ed7dac3fbf9a3a76663897f8ed6b0bf9a99df745006cde4723/python/cpython/pull/118139 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ce1ae76db86e4ed7dac3fbf9a3a76663897f8ed6b0bf9a99df745006cde4723/python/cpython/pull/118139 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | neonene |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| 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 | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 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%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 |
| Reload | https://github.com/python/cpython/pull/118139 |
| Reload | https://github.com/python/cpython/pull/118139 |
| Reload | https://github.com/python/cpython/pull/118139 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 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/118139#issue-comment-box |
| neonene | https://github.com/neonene |
| python:main | https://github.com/python/cpython/tree/main |
|
gh-117142: ctypes: Fix memory leak of StgInfo
| https://github.com/python/cpython/pull/118139#top |
| neonene | https://github.com/neonene |
| python:main | https://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 page | https://github.com/python/cpython/pull/118139 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/neonene |
| neonene | https://github.com/neonene |
| Apr 22, 2024 | https://github.com/python/cpython/pull/118139#issue-2255620867 |
| Please reload this page | https://github.com/python/cpython/pull/118139 |
| encukou/abi3#19 | https://github.com/encukou/abi3/issues/19 |
| @encukou | https://github.com/encukou |
| Convert _ctypes extension module to multi-phase init #117142 | https://github.com/python/cpython/issues/117142 |
| Please reload this page | https://github.com/python/cpython/pull/118139 |
| neonene | https://github.com/neonene |
| April 22, 2024 08:51 | https://github.com/python/cpython/pull/118139#commits-pushed-773891f |
|
| https://github.com/neonene |
| introduce Py_id_static_spec type slot | https://github.com/python/cpython/pull/118139/commits/773891f2090b03243c49d4b42f86fb26588aac48 |
| 773891f | https://github.com/python/cpython/pull/118139/commits/773891f2090b03243c49d4b42f86fb26588aac48 |
|
| https://github.com/neonene |
| introduce _PyType_GetBaseBySpec() | https://github.com/python/cpython/pull/118139/commits/17b28bb361aeb86bb470cb9c13ac61a36dd32dd0 |
| 17b28bb | https://github.com/python/cpython/pull/118139/commits/17b28bb361aeb86bb470cb9c13ac61a36dd32dd0 |
|
| https://github.com/neonene |
| fix _ctypes mem leak during a finish | https://github.com/python/cpython/pull/118139/commits/4d319e45c1a40458fa654a2ffb4710f8008f5f82 |
| 4d319e4 | https://github.com/python/cpython/pull/118139/commits/4d319e45c1a40458fa654a2ffb4710f8008f5f82 |
|
| https://github.com/neonene |
| fix redundant base check | https://github.com/python/cpython/pull/118139/commits/de5b42f8e43f75cdf59bffe2818456dba2548086 |
| de5b42f | https://github.com/python/cpython/pull/118139/commits/de5b42f8e43f75cdf59bffe2818456dba2548086 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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 |
| neonene | https://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 |
| neonene | https://github.com/neonene |
| April 22, 2024 14:51 | https://github.com/python/cpython/pull/118139#commits-pushed-3169285 |
|
| https://github.com/neonene |
| fix a warning | https://github.com/python/cpython/pull/118139/commits/3169285c358c9f5259cc3ccf156781745badb935 |
| 3169285 | https://github.com/python/cpython/pull/118139/commits/3169285c358c9f5259cc3ccf156781745badb935 |
|
| https://github.com/neonene |
| fix failing test | https://github.com/python/cpython/pull/118139/commits/9f7f30964c9927c218c7635f0781750deae046a6 |
| 9f7f309 | https://github.com/python/cpython/pull/118139/commits/9f7f30964c9927c218c7635f0781750deae046a6 |
|
| https://github.com/neonene |
| fix typeslots.py | https://github.com/python/cpython/pull/118139/commits/42a8aa74ef62cb87e839f6ab33d91efeceea59e5 |
| 42a8aa7 | https://github.com/python/cpython/pull/118139/commits/42a8aa74ef62cb87e839f6ab33d91efeceea59e5 |
|
| https://github.com/neonene |
| Merge branch 'main' into basespec | https://github.com/python/cpython/pull/118139/commits/949038936a703ef07485f59738b20e00e73a2e3f |
| 9490389 | https://github.com/python/cpython/pull/118139/commits/949038936a703ef07485f59738b20e00e73a2e3f |
|
| https://github.com/neonene |
| add a comment | https://github.com/python/cpython/pull/118139/commits/554a8a14b0aaa89e2050bc18c14d9278407b3a7d |
| 554a8a1 | https://github.com/python/cpython/pull/118139/commits/554a8a14b0aaa89e2050bc18c14d9278407b3a7d |
|
| https://github.com/neonene |
| use MRO if exists | https://github.com/python/cpython/pull/118139/commits/ea1d78c5e69e0028354e234b71e084982fee8196 |
| ea1d78c | https://github.com/python/cpython/pull/118139/commits/ea1d78c5e69e0028354e234b71e084982fee8196 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Apr 23, 2024 | https://github.com/python/cpython/pull/118139#issuecomment-2071509631 |
| Please reload this page | https://github.com/python/cpython/pull/118139 |
|
| https://github.com/neonene |
| walk MRO from top to down | https://github.com/python/cpython/pull/118139/commits/d47b5841ff71ea5c242c46fcde600dd9d22ff84f |
| d47b584 | https://github.com/python/cpython/pull/118139/commits/d47b5841ff71ea5c242c46fcde600dd9d22ff84f |
| https://github.com/neonene |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118139 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Apr 25, 2024 | https://github.com/python/cpython/pull/118139#event-12608306339 |
| neonene | https://github.com/neonene |
| April 26, 2024 07:46 | https://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 |
| 9b6bb44 | https://github.com/python/cpython/pull/118139/commits/9b6bb44b024e8e26a7983fe58a5954b5df12fd35 |
|
| https://github.com/neonene |
| Merge branch 'main' into basespec | https://github.com/python/cpython/pull/118139/commits/9b358fa1e34846107f8e6039b29f8c491c1fd35e |
| 9b358fa | https://github.com/python/cpython/pull/118139/commits/9b358fa1e34846107f8e6039b29f8c491c1fd35e |
|
| https://github.com/neonene |
| Merge branch 'main' into basespec | https://github.com/python/cpython/pull/118139/commits/0ad4fbd1efc8ff4e247fb5e1a3bb23bc963136ad |
| 0ad4fbd | https://github.com/python/cpython/pull/118139/commits/0ad4fbd1efc8ff4e247fb5e1a3bb23bc963136ad |
| https://github.com/encukou |
| encukou | https://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 |
| encukou | https://github.com/encukou |
| May 22, 2024 | https://github.com/python/cpython/pull/118139#issuecomment-2125589870 |
| #119424 | https://github.com/python/cpython/pull/119424 |
| Please reload this page | https://github.com/python/cpython/pull/118139 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| May 22, 2024 | https://github.com/python/cpython/pull/118139#event-12899663679 |
| https://github.com/neonene |
| neonene | https://github.com/neonene |
| May 22, 2024 23:00 | https://github.com/python/cpython/pull/118139#event-12901490705 |
| 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%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 page | https://github.com/python/cpython/pull/118139 |
|
| https://github.com/neonene |
|
| https://github.com/encukou |
|
| 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 |