| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:052b9859-dbff-521d-fd55-bbe8acaa89dc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A70:5D487:180C148:1FDC72A:6B021113 |
| html-safe-nonce | 5550109aa75e9d185de6840da8d73cd049b91c1fc5cd9fcae0e47b77d939aefe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTcwOjVENDg3OjE4MEMxNDg6MUZEQzcyQTo2QjAyMTExMyIsInZpc2l0b3JfaWQiOiI4MzM5MDIyNzg0NzUxNjAzOTg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 564af1ba17cbbc9ab4d262e3b74a32aa1403a66854a8c9e1fd620d2b16f4da3d |
| hovercard-subject-tag | pull_request:3340478429 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/145385/files |
| twitter:image | https://avatars.githubusercontent.com/u/883786?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/883786?s=400&v=4 |
| og:image:alt | Found using Claude.
Issue: gh-145376 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/145385/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145385%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145385%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/145385/files |
| Reload | https://github.com/python/cpython/pull/145385/files |
| Reload | https://github.com/python/cpython/pull/145385/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| 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 |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| eendebakpt:refleaks | https://github.com/eendebakpt/cpython/tree/refleaks |
|
Conversation
19
| https://github.com/python/cpython/pull/145385 |
|
Commits
10
| https://github.com/python/cpython/pull/145385/commits |
|
Checks
46
| https://github.com/python/cpython/pull/145385/checks |
|
Files changed
| https://github.com/python/cpython/pull/145385/files |
| Please reload this page | https://github.com/python/cpython/pull/145385/files |
|
gh-145376: Fix various reference leaks objects and modules
| https://github.com/python/cpython/pull/145385/files#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/145385/files |
|
f708b03
Fix reference leak in listiter_reduce_general
eendebakpt Mar 1, 2026
| https://github.com/python/cpython/pull/145385/commits/f708b0349b6076faa284134279781f7ddeacb139 |
|
551a741
Fix reference leak in increment_longindex_lock_held
eendebakpt Mar 1, 2026
| https://github.com/python/cpython/pull/145385/commits/551a741da5a0dfaf196dfaf51573597ac5cb095c |
|
7015ae6
fix reference leak in count_nextlong
eendebakpt Mar 1, 2026
| https://github.com/python/cpython/pull/145385/commits/7015ae6ccb2d290edf8e92972249bb79a91e214c |
|
c02d2db
fix reference leak in count_nextlong
eendebakpt Mar 1, 2026
| https://github.com/python/cpython/pull/145385/commits/c02d2dbf960d020232c8c43f6d65f54bec6da003 |
|
ff7709c
📜🤖 Added by blurb_it.
blurb-it[bot] Mar 1, 2026
| https://github.com/python/cpython/pull/145385/commits/ff7709c256794e9b89fb43c19d3bdb2377f82101 |
|
edf016b
review comments
eendebakpt Mar 5, 2026
| https://github.com/python/cpython/pull/145385/commits/edf016be4b02667816b3e35f7450044e6958e36f |
|
17f8799
remove news entry
eendebakpt Mar 5, 2026
| https://github.com/python/cpython/pull/145385/commits/17f87992af046366cb1ba4ae0513b68fb4dd2ef7 |
|
a7c4497
review comments
eendebakpt Mar 5, 2026
| https://github.com/python/cpython/pull/145385/commits/a7c44973eb917f9d30773f3a49748ec5101ec926 |
|
14b2e7f
Apply suggestion from @eendebakpt
eendebakpt Mar 6, 2026
| https://github.com/python/cpython/pull/145385/commits/14b2e7f3d864ea97c35ea8cb7a39de8af7991a0d |
|
98252fa
Merge branch 'main' into refleaks
eendebakpt Mar 8, 2026
| https://github.com/python/cpython/pull/145385/commits/98252faff74314f4ae7c4205eaae6c02c9f8fc77 |
|
Clear filters
| https://github.com/python/cpython/pull/145385/files |
| Please reload this page | https://github.com/python/cpython/pull/145385/files |
| Please reload this page | https://github.com/python/cpython/pull/145385/files |
|
itertoolsmodule.c
| https://github.com/python/cpython/pull/145385/files#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201 |
|
enumobject.c
| https://github.com/python/cpython/pull/145385/files#diff-31a1e2180c100842e6d5c77f12796abb3121d9ea9431f512cacc49eedee53603 |
|
listobject.c
| https://github.com/python/cpython/pull/145385/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L532 |
| Modules/itertoolsmodule.c | https://github.com/python/cpython/pull/145385/files#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201 |
|
View file
| https://github.com/eendebakpt/cpython/blob/98252faff74314f4ae7c4205eaae6c02c9f8fc77/Modules/itertoolsmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145385/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145385/files#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201 |
|
| https://github.com/python/cpython/pull/145385/files#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201 |
| Objects/enumobject.c | https://github.com/python/cpython/pull/145385/files#diff-31a1e2180c100842e6d5c77f12796abb3121d9ea9431f512cacc49eedee53603 |
|
View file
| https://github.com/eendebakpt/cpython/blob/98252faff74314f4ae7c4205eaae6c02c9f8fc77/Objects/enumobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145385/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145385/files#diff-31a1e2180c100842e6d5c77f12796abb3121d9ea9431f512cacc49eedee53603 |
|
| https://github.com/python/cpython/pull/145385/files#diff-31a1e2180c100842e6d5c77f12796abb3121d9ea9431f512cacc49eedee53603 |
| Objects/listobject.c | https://github.com/python/cpython/pull/145385/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
View file
| https://github.com/eendebakpt/cpython/blob/98252faff74314f4ae7c4205eaae6c02c9f8fc77/Objects/listobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145385/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145385/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
| Please reload this page | https://github.com/python/cpython/pull/145385/files |
|
| 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 |