René's URL Explorer Experiment


Title: gh-155053: Fix GenericAlias crash on OOM by BHUVANSH855 · Pull Request #155055 · python/cpython · GitHub

Open Graph Title: gh-155053: Fix GenericAlias crash on OOM by BHUVANSH855 · Pull Request #155055 · python/cpython

X Title: gh-155053: Fix GenericAlias crash on OOM by BHUVANSH855 · Pull Request #155055 · python/cpython

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

Open Graph Description: Summary Fix a NULL dereference in Objects/genericaliasobject.c when tuple_extend() fails during TypeVarTuple substitution under allocation failure. When _PyTuple_Resize() fails, it clears its out-p...

X Description: Summary Fix a NULL dereference in Objects/genericaliasobject.c when tuple_extend() fails during TypeVarTuple substitution under allocation failure. When _PyTuple_Resize() fails, it clears its out-p...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:2894d0fa-2bb5-f73b-a849-5420c2d322a7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE6E:317608:46CF959:5986C05:6B023669
html-safe-nonce0e6c4c63efbbc6ac64bb776baeb986cde0e582bf00345794cdbbe4db7d624945
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTZFOjMxNzYwODo0NkNGOTU5OjU5ODZDMDU6NkIwMjM2NjkiLCJ2aXNpdG9yX2lkIjoiNzAyMzI0NjUwOTgwNjMzNTU5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6d11646ac2d9f5ad507d1af3a39dbf5f82e0e0f01f6a109b9338f31b6c97ee67
hovercard-subject-tagpull_request:4185209688
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/155055/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/48707fd56b17b25840e6777478a6e27f95fa6452cb6fdc42b98bce5545b37684/python/cpython/pull/155055
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/48707fd56b17b25840e6777478a6e27f95fa6452cb6fdc42b98bce5545b37684/python/cpython/pull/155055
og:image:altSummary Fix a NULL dereference in Objects/genericaliasobject.c when tuple_extend() fails during TypeVarTuple substitution under allocation failure. When _PyTuple_Resize() fails, it clears its out-p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBHUVANSH855
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/155055#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155055
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155055
Sign uphttps://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/155055
Reloadhttps://github.com/python/cpython/pull/155055
Reloadhttps://github.com/python/cpython/pull/155055
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
BHUVANSH855https://github.com/BHUVANSH855
python:mainhttps://github.com/python/cpython/tree/main
BHUVANSH855:investigate-genericalias-oom-null-decrefhttps://github.com/BHUVANSH855/cpython/tree/investigate-genericalias-oom-null-decref
Conversationhttps://github.com/python/cpython/pull/155055
Commits7 (7)https://github.com/python/cpython/pull/155055/commits
Checkshttps://github.com/python/cpython/pull/155055/checks
Files changedhttps://github.com/python/cpython/pull/155055/files
gh-155053: Fix GenericAlias crash on OOMhttps://github.com/python/cpython/pull/155055#top
BHUVANSH855https://github.com/BHUVANSH855
python:mainhttps://github.com/python/cpython/tree/main
BHUVANSH855:investigate-genericalias-oom-null-decrefhttps://github.com/BHUVANSH855/cpython/tree/investigate-genericalias-oom-null-decref
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
Aug 1, 2026https://github.com/python/cpython/pull/155055#issue-5038688008
gh-155053https://github.com/python/cpython/issues/155053
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/BHUVANSH855
pythongh-155053https://github.com/python/cpython/issues/155053
: Fix GenericAlias crash on OOMhttps://github.com/python/cpython/pull/155055/commits/16b98b1d1cce4580fb62a59e797f4e225a014e58
16b98b1https://github.com/python/cpython/pull/155055/commits/16b98b1d1cce4580fb62a59e797f4e225a014e58
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
Aug 1, 2026https://github.com/python/cpython/pull/155055#event-28825962891
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 1, 2026 https://github.com/python/cpython/pull/155055#ref-issue-5038594609
Crash in genericaliasobject.c when tuple_extend() fails under allocation failure #155053 https://github.com/python/cpython/issues/155053
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 2, 2026 https://github.com/python/cpython/pull/155055#pullrequestreview-4838509824
View reviewed changes https://github.com/python/cpython/pull/155055/files/16b98b1d1cce4580fb62a59e797f4e225a014e58
Lib/test/test_genericalias.pyhttps://github.com/python/cpython/pull/155055/files/16b98b1d1cce4580fb62a59e797f4e225a014e58#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
Please reload this pagehttps://github.com/python/cpython/pull/155055
Objects/genericaliasobject.chttps://github.com/python/cpython/pull/155055/files/16b98b1d1cce4580fb62a59e797f4e225a014e58#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 2, 2026https://github.com/python/cpython/pull/155055#event-28847863463
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 2, 2026https://github.com/python/cpython/pull/155055#issuecomment-5158036010
Please reload this pagehttps://github.com/python/cpython/pull/155055
BHUVANSH855https://github.com/BHUVANSH855
August 2, 2026 13:24https://github.com/python/cpython/pull/155055#commits-pushed-753c30b
https://github.com/BHUVANSH855
pythongh-155053https://github.com/python/cpython/issues/155053
: Address review commentshttps://github.com/python/cpython/pull/155055/commits/753c30b414accf82966df8f8e8690441b40e0021
753c30bhttps://github.com/python/cpython/pull/155055/commits/753c30b414accf82966df8f8e8690441b40e0021
https://github.com/BHUVANSH855
Add BaseTest class for basic testshttps://github.com/python/cpython/pull/155055/commits/7972d8ce029f6ce6a6029618dd9bca3af95bf3dc
7972d8chttps://github.com/python/cpython/pull/155055/commits/7972d8ce029f6ce6a6029618dd9bca3af95bf3dc
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
picnixzhttps://github.com/picnixz
August 2, 2026 13:28https://github.com/python/cpython/pull/155055#event-28848624718
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
Aug 2, 2026https://github.com/python/cpython/pull/155055#issuecomment-5158245378
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Aug 2, 2026https://github.com/python/cpython/pull/155055#event-28848816647
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 2, 2026https://github.com/python/cpython/pull/155055#issuecomment-5158245846
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 2, 2026 https://github.com/python/cpython/pull/155055#pullrequestreview-4838671053
View reviewed changes https://github.com/python/cpython/pull/155055/files/7972d8ce029f6ce6a6029618dd9bca3af95bf3dc
Misc/NEWS.d/next/Core_and_Builtins/2026-08-01-19-17-56.gh-issue-155053.sxmlTO.rsthttps://github.com/python/cpython/pull/155055/files/7972d8ce029f6ce6a6029618dd9bca3af95bf3dc#diff-b4f2db7cb176838b92d82842c2cd2450de10e12125162613f08f92ab823a0f89
Please reload this pagehttps://github.com/python/cpython/pull/155055
Objects/genericaliasobject.chttps://github.com/python/cpython/pull/155055/files/7972d8ce029f6ce6a6029618dd9bca3af95bf3dc#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/BHUVANSH855
pythongh-155053https://github.com/python/cpython/issues/155053
: Address review commentshttps://github.com/python/cpython/pull/155055/commits/d4d6986aadb705bedf21510d64c73fea6bed3ff3
d4d6986https://github.com/python/cpython/pull/155055/commits/d4d6986aadb705bedf21510d64c73fea6bed3ff3
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
picnixzhttps://github.com/picnixz
August 2, 2026 15:37https://github.com/python/cpython/pull/155055#event-28851752532
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 2, 2026 https://github.com/python/cpython/pull/155055#pullrequestreview-4839048899
View reviewed changes https://github.com/python/cpython/pull/155055/files/d4d6986aadb705bedf21510d64c73fea6bed3ff3
Objects/genericaliasobject.chttps://github.com/python/cpython/pull/155055/files/d4d6986aadb705bedf21510d64c73fea6bed3ff3#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/BHUVANSH855
Update genericaliasobject.chttps://github.com/python/cpython/pull/155055/commits/fab406f99bffb44818724ef18b52aa6932be354a
fab406fhttps://github.com/python/cpython/pull/155055/commits/fab406f99bffb44818724ef18b52aa6932be354a
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
picnixzhttps://github.com/picnixz
August 2, 2026 15:55https://github.com/python/cpython/pull/155055#event-28852200774
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
Oct 13, 2026https://github.com/python/cpython/pull/155055#issuecomment-6156286394
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/155055
BHUVANSH855https://github.com/BHUVANSH855
October 23, 2026 03:29https://github.com/python/cpython/pull/155055#commits-pushed-da3418e
https://github.com/BHUVANSH855
Merge branch 'main' into investigate-genericalias-oom-null-decrefhttps://github.com/python/cpython/pull/155055/commits/da3418e5a27f58c8c3f01de5ae4d7946ab813212
da3418ehttps://github.com/python/cpython/pull/155055/commits/da3418e5a27f58c8c3f01de5ae4d7946ab813212
https://github.com/BHUVANSH855
Merge branch 'main' into investigate-genericalias-oom-null-decrefhttps://github.com/python/cpython/pull/155055/commits/ade02199a7408d227e3e6dc7a1fe58bbc3114cea
ade0219https://github.com/python/cpython/pull/155055/commits/ade02199a7408d227e3e6dc7a1fe58bbc3114cea
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
Oct 22, 2026https://github.com/python/cpython/pull/155055#issuecomment-6352302527
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
Oct 22, 2026https://github.com/python/cpython/pull/155055#event-33997865555
https://github.com/BHUVANSH855
BHUVANSH855https://github.com/BHUVANSH855
October 22, 2026 22:03https://github.com/python/cpython/pull/155055#event-33997873337
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%2F155055
https://github.com/picnixz
picnixz https://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/155055
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/155055
https://github.com/BHUVANSH855
https://github.com/picnixz
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.