René's URL Explorer Experiment


Title: gh-150178: Fix refcount leaks in hamt allocation failure paths by lpyu001 · Pull Request #150179 · python/cpython · GitHub

Open Graph Title: gh-150178: Fix refcount leaks in hamt allocation failure paths by lpyu001 · Pull Request #150179 · python/cpython

X Title: gh-150178: Fix refcount leaks in hamt allocation failure paths by lpyu001 · Pull Request #150179 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: fix:#150178 Issue: hamt.c: sub_node leaked in bitmap_assoc and bitmap_without #150178

X Description: fix:#150178 Issue: hamt.c: sub_node leaked in bitmap_assoc and bitmap_without #150178

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

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:793284db-0bea-f743-a9f6-76caae6f3937
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC066:1EE1:8759DC9:BE83585:6A50F489
html-safe-nonce234940c484fc96b5f411c6920d682feb89f5cf472598fbb5c4b361b776d7b4f9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDY2OjFFRTE6ODc1OURDOTpCRTgzNTg1OjZBNTBGNDg5IiwidmlzaXRvcl9pZCI6IjMxOTMwMjY5NjA0OTEwODI4ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac41749c9639028c533352cb9c72d11d0facb07fec6a6297824f57db6e09e1de45
hovercard-subject-tagpull_request:3721965593
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/150179/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c1477b6b76579fa30a6670b2692540418108135e1134f24ed0307a2baae6206d/python/cpython/pull/150179
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1477b6b76579fa30a6670b2692540418108135e1134f24ed0307a2baae6206d/python/cpython/pull/150179
og:image:altfix:#150178 Issue: hamt.c: sub_node leaked in bitmap_assoc and bitmap_without #150178
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelpyu001
hostnamegithub.com
expected-hostnamegithub.com
None5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838
turbo-cache-controlno-cache
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
release5ec60191a48933536a90c8a19f47142fcd0d4739
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/150179#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150179
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F150179
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/150179
Reloadhttps://github.com/python/cpython/pull/150179
Reloadhttps://github.com/python/cpython/pull/150179
Please reload this pagehttps://github.com/python/cpython/pull/150179
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/150179
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
lpyu001:hamthttps://github.com/lpyu001/cpython/tree/hamt
Conversationhttps://github.com/python/cpython/pull/150179
Commits2 (2)https://github.com/python/cpython/pull/150179/commits
Checkshttps://github.com/python/cpython/pull/150179/checks
Files changedhttps://github.com/python/cpython/pull/150179/files
gh-150178: Fix refcount leaks in hamt allocation failure pathshttps://github.com/python/cpython/pull/150179#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
lpyu001:hamthttps://github.com/lpyu001/cpython/tree/hamt
https://github.com/lpyu001
lpyu001https://github.com/lpyu001
May 21, 2026https://github.com/python/cpython/pull/150179#issue-4492848390
Please reload this pagehttps://github.com/python/cpython/pull/150179
#150178https://github.com/python/cpython/issues/150178
hamt.c: sub_node leaked in bitmap_assoc and bitmap_without #150178https://github.com/python/cpython/issues/150178
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/lpyu001
Fix refcount leaks in hamt allocation failure pathshttps://github.com/python/cpython/pull/150179/commits/4a01fa025d796db97c5367a6ba8f53ea27d1f924
4a01fa0https://github.com/python/cpython/pull/150179/commits/4a01fa025d796db97c5367a6ba8f53ea27d1f924
https://github.com/lpyu001
lpyu001https://github.com/lpyu001
1st1https://github.com/1st1
code ownerhttps://github.com/python/cpython/blob/388e023fe1197c1ffed374520ed45df4ac72b8f5/.github/CODEOWNERS#L239
May 21, 2026 08:04https://github.com/python/cpython/pull/150179#event-25794069831
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 21, 2026 https://github.com/python/cpython/pull/150179#ref-issue-4492734463
hamt.c: sub_node leaked in bitmap_assoc and bitmap_without #150178 https://github.com/python/cpython/issues/150178
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 21, 2026https://github.com/python/cpython/pull/150179#event-25794076030
https://github.com/picnixz
picnixzhttps://github.com/picnixz
May 21, 2026https://github.com/python/cpython/pull/150179#event-25795525980
https://github.com/aisk
aiskhttps://github.com/aisk
May 21, 2026https://github.com/python/cpython/pull/150179#issuecomment-4506858546
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/aisk
aiskhttps://github.com/aisk
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
May 21, 2026https://github.com/python/cpython/pull/150179#event-25797955995
https://github.com/lpyu001
delete NEWShttps://github.com/python/cpython/pull/150179/commits/1589a15b9209ca5d29ffb62940159bfd2cc8a3dd
1589a15https://github.com/python/cpython/pull/150179/commits/1589a15b9209ca5d29ffb62940159bfd2cc8a3dd
https://github.com/lpyu001
lpyu001https://github.com/lpyu001
May 21, 2026https://github.com/python/cpython/pull/150179#issuecomment-4506918172
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/aisk
aiskhttps://github.com/aisk
May 21, 2026 https://github.com/python/cpython/pull/150179#pullrequestreview-4335854485
View reviewed changes https://github.com/python/cpython/pull/150179/files/1589a15b9209ca5d29ffb62940159bfd2cc8a3dd
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 21, 2026https://github.com/python/cpython/pull/150179#event-25798330384
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
May 23, 2026 https://github.com/python/cpython/pull/150179#pullrequestreview-4350267503
View reviewed changes https://github.com/python/cpython/pull/150179/files/1589a15b9209ca5d29ffb62940159bfd2cc8a3dd
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
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
May 23, 2026https://github.com/python/cpython/pull/150179#event-25879245700
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
32823afhttps://github.com/python/cpython/commit/32823af153b76b7042fbce28ea8a6e0c3c4f1ca8
May 23, 2026https://github.com/python/cpython/pull/150179#event-25879256902
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 23, 2026https://github.com/python/cpython/pull/150179#event-25879257417
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 23, 2026https://github.com/python/cpython/pull/150179#event-25879339374
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 23, 2026https://github.com/python/cpython/pull/150179#issuecomment-4524858490
@lpyu001https://github.com/lpyu001
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 23, 2026https://github.com/python/cpython/pull/150179#issuecomment-4524858491
@lpyu001https://github.com/lpyu001
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 23, 2026https://github.com/python/cpython/pull/150179#issuecomment-4524858497
@lpyu001https://github.com/lpyu001
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 23, 2026https://github.com/python/cpython/pull/150179#issuecomment-4524858884
GH-150301https://github.com/python/cpython/pull/150301
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/150179
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
May 23, 2026https://github.com/python/cpython/pull/150179#event-25879342170
kumaraditya303https://github.com/kumaraditya303
May 23, 2026 https://github.com/python/cpython/pull/150179#ref-commit-95c9323
https://github.com/miss-islington
https://github.com/lpyu001
[3.13]https://github.com/python/cpython/commit/95c93239be9d6e7f047ab3fba41b6bff3e9aca0c
gh-150178https://github.com/python/cpython/issues/150178
: Fix refcount leaks in hamt allocation failure paths (https://github.com/python/cpython/commit/95c93239be9d6e7f047ab3fba41b6bff3e9aca0c
https://github.com/python/cpython/pull/150179
95c9323https://github.com/python/cpython/commit/95c93239be9d6e7f047ab3fba41b6bff3e9aca0c
…GH-150179https://github.com/python/cpython/pull/150179
#150301https://github.com/python/cpython/pull/150301
gh-150178https://github.com/python/cpython/issues/150178
GH-150179https://github.com/python/cpython/pull/150179
32823afhttps://github.com/python/cpython/commit/32823af153b76b7042fbce28ea8a6e0c3c4f1ca8
kumaraditya303https://github.com/kumaraditya303
May 23, 2026 https://github.com/python/cpython/pull/150179#ref-commit-6b17d1a
https://github.com/miss-islington
https://github.com/lpyu001
[3.15]https://github.com/python/cpython/commit/6b17d1a783d3c0a9c8a35a94e24a2987807728ef
gh-150178https://github.com/python/cpython/issues/150178
: Fix refcount leaks in hamt allocation failure paths (https://github.com/python/cpython/commit/6b17d1a783d3c0a9c8a35a94e24a2987807728ef
https://github.com/python/cpython/pull/150179
6b17d1ahttps://github.com/python/cpython/commit/6b17d1a783d3c0a9c8a35a94e24a2987807728ef
…GH-150179https://github.com/python/cpython/pull/150179
#150303https://github.com/python/cpython/pull/150303
gh-150178https://github.com/python/cpython/issues/150178
GH-150179https://github.com/python/cpython/pull/150179
32823afhttps://github.com/python/cpython/commit/32823af153b76b7042fbce28ea8a6e0c3c4f1ca8
kumaraditya303https://github.com/kumaraditya303
May 24, 2026 https://github.com/python/cpython/pull/150179#ref-commit-5676bfc
https://github.com/miss-islington
https://github.com/lpyu001
[3.14]https://github.com/python/cpython/commit/5676bfcf859529b9ddd9a74b3199f2d932992458
gh-150178https://github.com/python/cpython/issues/150178
: Fix refcount leaks in hamt allocation failure paths (https://github.com/python/cpython/commit/5676bfcf859529b9ddd9a74b3199f2d932992458
https://github.com/python/cpython/pull/150179
5676bfchttps://github.com/python/cpython/commit/5676bfcf859529b9ddd9a74b3199f2d932992458
…GH-150179https://github.com/python/cpython/pull/150179
#150302https://github.com/python/cpython/pull/150302
gh-150178https://github.com/python/cpython/issues/150178
GH-150179https://github.com/python/cpython/pull/150179
32823afhttps://github.com/python/cpython/commit/32823af153b76b7042fbce28ea8a6e0c3c4f1ca8
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jul 3, 2026 https://github.com/python/cpython/pull/150179#ref-issue-4802670016
PR incorrectly classifed as still needing backports (w/ labels) hugovk/dashboard#23 https://github.com/hugovk/dashboard/issues/23
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jul 3, 2026https://github.com/python/cpython/pull/150179#event-27524493042
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 3, 2026https://github.com/python/cpython/pull/150179#event-27524493054
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F150179
https://github.com/aisk
aisk https://github.com/aisk
https://github.com/python/cpython/pull/150179/files/1589a15b9209ca5d29ffb62940159bfd2cc8a3dd
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/150179/files/1589a15b9209ca5d29ffb62940159bfd2cc8a3dd
https://github.com/1st1
1st1 https://github.com/1st1
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/150179
https://github.com/lpyu001
https://github.com/aisk
https://github.com/kumaraditya303
https://github.com/StanFromIreland
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.