| 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:5843eab8-bbfc-0aa5-e0ed-4bfe5d871488 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC7E:1DC6:1B9F94A:2551039:6992EED4 |
| html-safe-nonce | 1cc1c6280a04f8aab180a589f1dbba71639811b596efa512b6166fa6751f761c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzdFOjFEQzY6MUI5Rjk0QToyNTUxMDM5OjY5OTJFRUQ0IiwidmlzaXRvcl9pZCI6IjE3MjA1OTEzNjI1Njk3Mjc3MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4ba020c4bc1b97e67e17e82cb0b086f79981aad1fe662434ab55b1f32c151a38 |
| hovercard-subject-tag | pull_request:1455789311 |
| 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/107487/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0a49d4bdba291b1a3a53d7f18146f8caf88c028570aa92cac026656a8c754577/python/cpython/pull/107487 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a49d4bdba291b1a3a53d7f18146f8caf88c028570aa92cac026656a8c754577/python/cpython/pull/107487 |
| og:image:alt | (cherry picked from commit 08447b5)
Issue: ctypes pointer not always keeping target alive #46376 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ambv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01ab16879a3159e6f0717ab948b9b562e162a6aafd1f4393b786b07b747df244 |
| turbo-cache-control | no-cache |
| 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 | b1570f3928bef80fa5fc7890ce0942e9b696ad9d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/107487#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107487 |
| 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%2F107487 |
|
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/107487 |
| Reload | https://github.com/python/cpython/pull/107487 |
| Reload | https://github.com/python/cpython/pull/107487 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/107487 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.5k
| 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
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
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| ambv | https://github.com/ambv |
| python:3.12 | https://github.com/python/cpython/tree/3.12 |
| ambv:backport-08447b5-3.12 | https://github.com/ambv/cpython/tree/backport-08447b5-3.12 |
| Conversation | https://github.com/python/cpython/pull/107487 |
| Commits1 (1) | https://github.com/python/cpython/pull/107487/commits |
| Checks | https://github.com/python/cpython/pull/107487/checks |
| Files changed | https://github.com/python/cpython/pull/107487/files |
| [3.12] gh-46376: Return existing pointer when possible in ctypes (GH-107131) | https://github.com/python/cpython/pull/107487#top |
| ambv | https://github.com/ambv |
| python:3.12 | https://github.com/python/cpython/tree/3.12 |
| ambv:backport-08447b5-3.12 | https://github.com/ambv/cpython/tree/backport-08447b5-3.12 |
|
| https://github.com/ambv |
| ambv | https://github.com/ambv |
| Jul 31, 2023 | https://github.com/python/cpython/pull/107487#issue-1828676055 |
| Please reload this page | https://github.com/python/cpython/pull/107487 |
| 08447b5 | https://github.com/python/cpython/commit/08447b5deb47e2a0df87fa0a0576d300e5c909b4 |
| ctypes pointer not always keeping target alive #46376 | https://github.com/python/cpython/issues/46376 |
| Please reload this page | https://github.com/python/cpython/pull/107487 |
|
| https://github.com/code-of-kpp |
|
| https://github.com/ambv |
| [3.12] | https://github.com/python/cpython/pull/107487/commits/c38d425ff6164be423c74e10bd72ace4ef6ea23c |
| pythongh-46376 | https://github.com/python/cpython/issues/46376 |
| : Return existing pointer when possible in ctypes ( | https://github.com/python/cpython/pull/107487/commits/c38d425ff6164be423c74e10bd72ace4ef6ea23c |
| c38d425 | https://github.com/python/cpython/pull/107487/commits/c38d425ff6164be423c74e10bd72ace4ef6ea23c |
| pythonGH-107131 | https://github.com/python/cpython/pull/107131 |
| 08447b5 | https://github.com/ambv/cpython/commit/08447b5deb47e2a0df87fa0a0576d300e5c909b4 |
|
ctypes pointer not always keeping target alive
#46376
| https://github.com/python/cpython/issues/46376 |
|
gh-46376: Return existing pointer when possible in ctypes
#107131
| https://github.com/python/cpython/pull/107131 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jul 31, 2023 | https://github.com/python/cpython/pull/107487#event-9960878553 |
| https://github.com/ambv |
| ambv | https://github.com/ambv |
| 54aaaad | https://github.com/python/cpython/commit/54aaaadef8a44324f6be674707c67a3516470ff6 |
| Jul 31, 2023 | https://github.com/python/cpython/pull/107487#event-9961366029 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jul 31, 2023 | https://github.com/python/cpython/pull/107487#event-9961366614 |
| https://github.com/ambv |
| ambv | https://github.com/ambv |
| July 31, 2023 09:16 | https://github.com/python/cpython/pull/107487#event-9961367368 |
| ambv | https://github.com/ambv |
|
Aug 22, 2023
| https://github.com/python/cpython/pull/107487#ref-commit-0d4c21d |
|
| https://github.com/ambv |
| Revert "[3.12] | https://github.com/ambv/cpython/commit/0d4c21d7626fa21a515b3919ed9ef159b03e498d |
| pythongh-46376 | https://github.com/python/cpython/issues/46376 |
| : Return existing pointer when possible … | https://github.com/ambv/cpython/commit/0d4c21d7626fa21a515b3919ed9ef159b03e498d |
| 0d4c21d | https://github.com/ambv/cpython/commit/0d4c21d7626fa21a515b3919ed9ef159b03e498d |
| pythonGH-107131 | https://github.com/python/cpython/pull/107131 |
| python#107487 | https://github.com/python/cpython/pull/107487 |
| 54aaaad | https://github.com/ambv/cpython/commit/54aaaadef8a44324f6be674707c67a3516470ff6 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Aug 30, 2023
| https://github.com/python/cpython/pull/107487#ref-issue-1849693683 |
|
incompatible behaviour between 3.12.0rc1 and previous versions in ctypes
#107940
| https://github.com/python/cpython/issues/107940 |
| ambv | https://github.com/ambv |
|
Sep 4, 2023
| https://github.com/python/cpython/pull/107487#ref-commit-a6f728d |
|
| https://github.com/ambv |
| Revert "[3.12] | https://github.com/ambv/cpython/commit/a6f728d34becd338caaed304efb8b2947a96a590 |
| pythongh-46376 | https://github.com/python/cpython/issues/46376 |
| : Return existing pointer when possible … | https://github.com/ambv/cpython/commit/a6f728d34becd338caaed304efb8b2947a96a590 |
| a6f728d | https://github.com/ambv/cpython/commit/a6f728d34becd338caaed304efb8b2947a96a590 |
| pythonGH-107131 | https://github.com/python/cpython/pull/107131 |
| python#107487 | https://github.com/python/cpython/pull/107487 |
| 54aaaad | https://github.com/ambv/cpython/commit/54aaaadef8a44324f6be674707c67a3516470ff6 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Sep 4, 2023 | https://github.com/python/cpython/pull/107487#issuecomment-1704921326 |
| GH-108864 | https://github.com/python/cpython/pull/108864 |
| 3.12 branch | https://github.com/python/cpython/tree/3.12 |
| Please reload this page | https://github.com/python/cpython/pull/107487 |
| ambv | https://github.com/ambv |
|
Sep 4, 2023
| https://github.com/python/cpython/pull/107487#ref-commit-e0f6080 |
|
| https://github.com/ambv |
|
| https://github.com/Yhg1s |
| [3.12] | https://github.com/python/cpython/commit/e0f6080819f00d456215646e3117ae77b9af40d1 |
| gh-46376 | https://github.com/python/cpython/issues/46376 |
| : Revert "Return existing pointer when possible in cty… | https://github.com/python/cpython/commit/e0f6080819f00d456215646e3117ae77b9af40d1 |
| e0f6080 | https://github.com/python/cpython/commit/e0f6080819f00d456215646e3117ae77b9af40d1 |
| GH-107131 | https://github.com/python/cpython/pull/107131 |
| GH-107487 | https://github.com/python/cpython/pull/107487 |
| #108864 | https://github.com/python/cpython/pull/108864 |
| 54aaaad | https://github.com/python/cpython/commit/54aaaadef8a44324f6be674707c67a3516470ff6 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| 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%2F107487 |
| Please reload this page | https://github.com/python/cpython/pull/107487 |
|
| https://github.com/ambv |
|
| https://github.com/bedevere-bot |
|
| https://github.com/code-of-kpp |
|
| 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 |