René's URL Explorer Experiment


Title: gh-112729: Correctly fail when the process is out of memory during interpreter creation by ZeroIntensity · Pull Request #139164 · python/cpython · GitHub

Open Graph Title: gh-112729: Correctly fail when the process is out of memory during interpreter creation by ZeroIntensity · Pull Request #139164 · python/cpython

X Title: gh-112729: Correctly fail when the process is out of memory during interpreter creation by ZeroIntensity · Pull Request #139164 · python/cpython

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

Open Graph Description: Issue: The new_interpreter() function incorrectly returns _PyStatus_OK() on some error code paths #112729

X Description: Issue: The new_interpreter() function incorrectly returns _PyStatus_OK() on some error code paths #112729

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

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:75838482-2220-efdd-6fd5-40ca71b37ade
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8844:19106:1604D0B:1E0FFC2:6A53DD54
html-safe-nonceccd37d4ea852690d02b96c6a32beb4a100abe1c2dc4e2da429d483ce1c7d9c6f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODQ0OjE5MTA2OjE2MDREMEI6MUUwRkZDMjo2QTUzREQ1NCIsInZpc2l0b3JfaWQiOiI3MzY3NTg3MzU2NjA4ODE0NDIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf9a91928d872a5fb082551249e5747b17e9f080b86abde44813668ae46ecc29c
hovercard-subject-tagpull_request:2843884843
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/139164/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/894424f08254503613d5dcdcb308d8d0b3686787819fba12361dc6219eaca13b/python/cpython/pull/139164
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/894424f08254503613d5dcdcb308d8d0b3686787819fba12361dc6219eaca13b/python/cpython/pull/139164
og:image:altIssue: The new_interpreter() function incorrectly returns _PyStatus_OK() on some error code paths #112729
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZeroIntensity
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/139164#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139164
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%2F139164
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/139164
Reloadhttps://github.com/python/cpython/pull/139164
Reloadhttps://github.com/python/cpython/pull/139164
Please reload this pagehttps://github.com/python/cpython/pull/139164
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/139164
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:interp-nomemoryhttps://github.com/ZeroIntensity/cpython/tree/interp-nomemory
Conversationhttps://github.com/python/cpython/pull/139164
Commits4 (4)https://github.com/python/cpython/pull/139164/commits
Checkshttps://github.com/python/cpython/pull/139164/checks
Files changedhttps://github.com/python/cpython/pull/139164/files
gh-112729: Correctly fail when the process is out of memory during interpreter creationhttps://github.com/python/cpython/pull/139164#top
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:interp-nomemoryhttps://github.com/ZeroIntensity/cpython/tree/interp-nomemory
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 19, 2025https://github.com/python/cpython/pull/139164#issue-3434415463
Please reload this pagehttps://github.com/python/cpython/pull/139164
The new_interpreter() function incorrectly returns _PyStatus_OK() on some error code paths #112729https://github.com/python/cpython/issues/112729
Please reload this pagehttps://github.com/python/cpython/pull/139164
ZeroIntensityhttps://github.com/ZeroIntensity
September 19, 2025 09:27https://github.com/python/cpython/pull/139164#commits-pushed-aa0eeee
https://github.com/ZeroIntensity
Correctly fail when out of memory during interpreter creation.https://github.com/python/cpython/pull/139164/commits/aa0eeeebe3b258c1546febd3e3d7ac913aa46165
aa0eeeehttps://github.com/python/cpython/pull/139164/commits/aa0eeeebe3b258c1546febd3e3d7ac913aa46165
https://github.com/ZeroIntensity
Add a simple test case.https://github.com/python/cpython/pull/139164/commits/6fddb9d6e6fbf9b676ab5eced8df5d2dbc556663
6fddb9dhttps://github.com/python/cpython/pull/139164/commits/6fddb9d6e6fbf9b676ab5eced8df5d2dbc556663
https://github.com/ZeroIntensity
Fix the test.https://github.com/python/cpython/pull/139164/commits/17e8ee9b9722b8856602903d37b9231d4eacaa21
17e8ee9https://github.com/python/cpython/pull/139164/commits/17e8ee9b9722b8856602903d37b9231d4eacaa21
https://github.com/ZeroIntensity
Add blurb.https://github.com/python/cpython/pull/139164/commits/37f7d5a9543b9703d3d74ad514bb3efbf7c8bce8
37f7d5ahttps://github.com/python/cpython/pull/139164/commits/37f7d5a9543b9703d3d74ad514bb3efbf7c8bce8
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
code ownerhttps://github.com/python/cpython/blob/2fd43a1ffe4ff1f6c46f6045bc327d6085c40fbf/.github/CODEOWNERS#L300
September 19, 2025 13:37https://github.com/python/cpython/pull/139164#event-19799834833
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
topic-subinterpreters https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-subinterpreters
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19799834947
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
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19799835819
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 19, 2025 https://github.com/python/cpython/pull/139164#ref-issue-2024910516
The new_interpreter() function incorrectly returns _PyStatus_OK() on some error code paths #112729 https://github.com/python/cpython/issues/112729
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Sep 19, 2025 https://github.com/python/cpython/pull/139164#pullrequestreview-3244952525
View reviewed changes https://github.com/python/cpython/pull/139164/files/37f7d5a9543b9703d3d74ad514bb3efbf7c8bce8
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
https://github.com/python/cpython/pull/139164#pullrequestreview-3244952525
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139164
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
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19800008736
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
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
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19801077167
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
d06113chttps://github.com/python/cpython/commit/d06113c7a7cac76a28847702685e601b79f71bf8
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19801214940
Please reload this pagehttps://github.com/python/cpython/pull/139164
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
September 19, 2025 14:41https://github.com/python/cpython/pull/139164#event-19801216166
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 19, 2025https://github.com/python/cpython/pull/139164#issuecomment-3312479128
@ZeroIntensityhttps://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/139164
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
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19801217495
miss-islingtonhttps://github.com/miss-islington
Sep 19, 2025 https://github.com/python/cpython/pull/139164#ref-commit-e7a554d
https://github.com/ZeroIntensity
https://github.com/miss-islington
pythongh-112729https://github.com/python/cpython/issues/112729
: Correctly fail when the process is out of memory dur…https://github.com/miss-islington/cpython/commit/e7a554da17359b0a62eed9f26edcca0b405b805a
e7a554dhttps://github.com/miss-islington/cpython/commit/e7a554da17359b0a62eed9f26edcca0b405b805a
pythonGH-139164https://github.com/python/cpython/pull/139164
d06113chttps://github.com/miss-islington/cpython/commit/d06113c7a7cac76a28847702685e601b79f71bf8
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 19, 2025https://github.com/python/cpython/pull/139164#issuecomment-3312479554
@ZeroIntensityhttps://github.com/ZeroIntensity
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/139164
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19801221002
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 19, 2025https://github.com/python/cpython/pull/139164#issuecomment-3312479882
GH-139168https://github.com/python/cpython/pull/139168
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/139164
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19801223126
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 19, 2025https://github.com/python/cpython/pull/139164#issuecomment-3312488091
GH-139169https://github.com/python/cpython/pull/139169
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/139164
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
Sep 19, 2025https://github.com/python/cpython/pull/139164#event-19801279831
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 19, 2025 https://github.com/python/cpython/pull/139164#ref-commit-d6e2981
https://github.com/ZeroIntensity
pythongh-112729https://github.com/python/cpython/issues/112729
: Correctly fail when the process is out of memory dur…https://github.com/ZeroIntensity/cpython/commit/d6e2981de86ae9e9e024f9656aa719046297844c
d6e2981https://github.com/ZeroIntensity/cpython/commit/d6e2981de86ae9e9e024f9656aa719046297844c
pythonGH-139164https://github.com/python/cpython/pull/139164
d06113chttps://github.com/ZeroIntensity/cpython/commit/d06113c7a7cac76a28847702685e601b79f71bf8
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 19, 2025 https://github.com/python/cpython/pull/139164#ref-commit-b754d75
https://github.com/ZeroIntensity
[3.13]https://github.com/ZeroIntensity/cpython/commit/b754d75b990efc12459b037cd1dc80abf123b950
pythongh-112729https://github.com/python/cpython/issues/112729
: Correctly fail when the process is out of mem…https://github.com/ZeroIntensity/cpython/commit/b754d75b990efc12459b037cd1dc80abf123b950
b754d75https://github.com/ZeroIntensity/cpython/commit/b754d75b990efc12459b037cd1dc80abf123b950
pythonGH-139164https://github.com/python/cpython/pull/139164
d06113chttps://github.com/ZeroIntensity/cpython/commit/d06113c7a7cac76a28847702685e601b79f71bf8
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 19, 2025 https://github.com/python/cpython/pull/139164#ref-commit-63dd27d
https://github.com/ZeroIntensity
[3.13]https://github.com/python/cpython/commit/63dd27da3ba17a9584907cf179c0f33ba92de98a
gh-112729https://github.com/python/cpython/issues/112729
: Correctly fail when the process is out of memory du…https://github.com/python/cpython/commit/63dd27da3ba17a9584907cf179c0f33ba92de98a
63dd27dhttps://github.com/python/cpython/commit/63dd27da3ba17a9584907cf179c0f33ba92de98a
GH-139164https://github.com/python/cpython/pull/139164
GH-139169https://github.com/python/cpython/pull/139169
gh-112729https://github.com/python/cpython/issues/112729
GH-139164https://github.com/python/cpython/pull/139164
d06113chttps://github.com/python/cpython/commit/d06113c7a7cac76a28847702685e601b79f71bf8
ZeroIntensityhttps://github.com/ZeroIntensity
Oct 7, 2025 https://github.com/python/cpython/pull/139164#ref-commit-08bea29
https://github.com/miss-islington
https://github.com/ZeroIntensity
[3.14]https://github.com/python/cpython/commit/08bea299bfd4377611df42e4e42414ffacea4f7f
gh-112729https://github.com/python/cpython/issues/112729
: Correctly fail when the process is out of memory du…https://github.com/python/cpython/commit/08bea299bfd4377611df42e4e42414ffacea4f7f
08bea29https://github.com/python/cpython/commit/08bea299bfd4377611df42e4e42414ffacea4f7f
GH-139164https://github.com/python/cpython/pull/139164
GH-139168https://github.com/python/cpython/pull/139168
gh-112729https://github.com/python/cpython/issues/112729
GH-139164https://github.com/python/cpython/pull/139164
d06113chttps://github.com/python/cpython/commit/d06113c7a7cac76a28847702685e601b79f71bf8
https://github.com/rwgk
rwgkhttps://github.com/rwgk
Dec 14, 2025 https://github.com/python/cpython/pull/139164#ref-pullrequest-3726587559
Pin 3.14t CI jobs to 3.14.0t to work around a regression in 3.14.1t+ pybind/pybind11#5934 https://github.com/pybind/pybind11/pull/5934
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Jun 23, 2026 https://github.com/python/cpython/pull/139164#ref-pullrequest-4710516976
gh-151842: Make _PyXI_FreeExcInfo NULL-safe to fix crash on capture_exception() OOM (OOM-0031) #151843 https://github.com/python/cpython/pull/151843
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%2F139164
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/python/cpython/pull/139164/files/37f7d5a9543b9703d3d74ad514bb3efbf7c8bce8
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
topic-subinterpreters https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-subinterpreters
Please reload this pagehttps://github.com/python/cpython/pull/139164
https://github.com/ZeroIntensity
https://github.com/ericsnowcurrently
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.