René's URL Explorer Experiment


Title: gh-98608: Fix Failure-handling in new_interpreter() by ericsnowcurrently · Pull Request #102658 · python/cpython · GitHub

Open Graph Title: gh-98608: Fix Failure-handling in new_interpreter() by ericsnowcurrently · Pull Request #102658 · python/cpython

X Title: gh-98608: Fix Failure-handling in new_interpreter() by ericsnowcurrently · Pull Request #102658 · python/cpython

Description: The error-handling code in new_interpreter() has been broken for a while. We hadn't noticed because those code mostly doesn't fail. (I noticed while working on gh-101660.) The problem is that we...

Open Graph Description: The error-handling code in new_interpreter() has been broken for a while. We hadn't noticed because those code mostly doesn't fail. (I noticed while working on gh-101660.) The problem is...

X Description: The error-handling code in new_interpreter() has been broken for a while. We hadn't noticed because those code mostly doesn't fail. (I noticed while working on gh-101660.) The pr...

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

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:21046676-8ef6-da88-b789-d671447561be
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8274:84862:8559C5:BB6DC4:696A20B8
html-safe-nonceea622cdb76e1c4039b92be713ea572a112454009860493e17a3b018cbc851fa1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjc0Ojg0ODYyOjg1NTlDNTpCQjZEQzQ6Njk2QTIwQjgiLCJ2aXNpdG9yX2lkIjoiNjI0NTA1NTcwMDU0MzM0ODkyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca4110032b1e16721542fba6ab6d450c9ddb5c98f1c0e628a5d135734bd4939b0
hovercard-subject-tagpull_request:1273991918
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/102658/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a16ffaa1b2cafe33b6ad09ce376cda4c31c6e6ed96ba2b988ed6c5c055baeb05/python/cpython/pull/102658
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a16ffaa1b2cafe33b6ad09ce376cda4c31c6e6ed96ba2b988ed6c5c055baeb05/python/cpython/pull/102658
og:image:altThe error-handling code in new_interpreter() has been broken for a while. We hadn't noticed because those code mostly doesn't fail. (I noticed while working on gh-101660.) The problem is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3
turbo-cache-controlno-preview
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
released515f6f09fa57a93bf90355cb894eb84ca4f458f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/102658#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102658
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F102658
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/102658
Reloadhttps://github.com/python/cpython/pull/102658
Reloadhttps://github.com/python/cpython/pull/102658
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/102658
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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 Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/102658
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/102658#issue-comment-box
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:fix-failed-interp-creationhttps://github.com/ericsnowcurrently/cpython/tree/fix-failed-interp-creation
gh-98608: Fix Failure-handling in new_interpreter() https://github.com/python/cpython/pull/102658#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:fix-failed-interp-creationhttps://github.com/ericsnowcurrently/cpython/tree/fix-failed-interp-creation
Conversation 4 https://github.com/python/cpython/pull/102658
Commits 1 https://github.com/python/cpython/pull/102658/commits
Checks 0 https://github.com/python/cpython/pull/102658/checks
Files changed https://github.com/python/cpython/pull/102658/files
Please reload this pagehttps://github.com/python/cpython/pull/102658
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 13, 2023https://github.com/python/cpython/pull/102658#issue-1622288981
Please reload this pagehttps://github.com/python/cpython/pull/102658
gh-101660https://github.com/python/cpython/pull/101660
Expose _Py_NewInterpreter() as Py_NewInterpreterFromConfig() #98608https://github.com/python/cpython/issues/98608
Please reload this pagehttps://github.com/python/cpython/pull/102658
https://github.com/ericsnowcurrently
Swap out the failed tstate.https://github.com/python/cpython/pull/102658/commits/099e80a9dfe83b2f9e8eeacdf34bbfde8e9eef05
099e80ahttps://github.com/python/cpython/pull/102658/commits/099e80a9dfe83b2f9e8eeacdf34bbfde8e9eef05
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 13, 2023https://github.com/python/cpython/pull/102658#event-8736639534
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 13, 2023 https://github.com/python/cpython/pull/102658#ref-issue-1421159659
Expose _Py_NewInterpreter() as Py_NewInterpreterFromConfig() #98608 https://github.com/python/cpython/issues/98608
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 13, 2023https://github.com/python/cpython/pull/102658#event-8736640392
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 13, 2023 https://github.com/python/cpython/pull/102658#ref-pullrequest-1574867788
gh-101659: Isolate "obmalloc" State to Each Interpreter #101660 https://github.com/python/cpython/pull/101660
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 14, 2023 https://github.com/python/cpython/pull/102658#pullrequestreview-1338682413
View reviewed changes https://github.com/python/cpython/pull/102658/files/099e80a9dfe83b2f9e8eeacdf34bbfde8e9eef05
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
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
Mar 14, 2023https://github.com/python/cpython/pull/102658#event-8740381653
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 14, 2023https://github.com/python/cpython/pull/102658#issuecomment-1467613188
Please reload this pagehttps://github.com/python/cpython/pull/102658
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Mar 21, 2023https://github.com/python/cpython/pull/102658#event-8808981504
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
d1b883bhttps://github.com/python/cpython/commit/d1b883b52a99427d234c20e4a92ddfa6a1da8880
Mar 21, 2023https://github.com/python/cpython/pull/102658#event-8809199518
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Mar 21, 2023https://github.com/python/cpython/pull/102658#issuecomment-1478418540
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Please reload this pagehttps://github.com/python/cpython/pull/102658
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 21, 2023https://github.com/python/cpython/pull/102658#event-8809199922
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
March 21, 2023 18:48https://github.com/python/cpython/pull/102658#event-8809200850
miss-islingtonhttps://github.com/miss-islington
Mar 21, 2023 https://github.com/python/cpython/pull/102658#ref-commit-ab2a432
https://github.com/ericsnowcurrently
https://github.com/miss-islington
pythongh-98608https://github.com/python/cpython/issues/98608
: Fix Failure-handling in new_interpreter() (https://github.com/miss-islington/cpython/commit/ab2a43269e2f7b3a4b3758b3b1f9e9c31bca52d3
pythongh-1…https://github.com/python/cpython/pull/102658
ab2a432https://github.com/miss-islington/cpython/commit/ab2a43269e2f7b3a4b3758b3b1f9e9c31bca52d3
…02658https://github.com/python/cpython/pull/102658
pythongh-101660https://github.com/python/cpython/pull/101660
d1b883bhttps://github.com/miss-islington/cpython/commit/d1b883b52a99427d234c20e4a92ddfa6a1da8880
python/issues/98608https://github.com/python/cpython/issues/98608
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 21, 2023https://github.com/python/cpython/pull/102658#issuecomment-1478418777
GH-102882https://github.com/python/cpython/pull/102882
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/102658
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Mar 21, 2023https://github.com/python/cpython/pull/102658#event-8809201956
miss-islingtonhttps://github.com/miss-islington
Mar 21, 2023 https://github.com/python/cpython/pull/102658#ref-commit-4a8445d
https://github.com/ericsnowcurrently
https://github.com/miss-islington
pythongh-98608https://github.com/python/cpython/issues/98608
: Fix Failure-handling in new_interpreter() (https://github.com/miss-islington/cpython/commit/4a8445dd02f59282ba05adaa71a8316d37538e5e
pythongh-1…https://github.com/python/cpython/pull/102658
4a8445dhttps://github.com/miss-islington/cpython/commit/4a8445dd02f59282ba05adaa71a8316d37538e5e
…02658https://github.com/python/cpython/pull/102658
pythongh-101660https://github.com/python/cpython/pull/101660
d1b883bhttps://github.com/miss-islington/cpython/commit/d1b883b52a99427d234c20e4a92ddfa6a1da8880
python/issues/98608https://github.com/python/cpython/issues/98608
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 21, 2023https://github.com/python/cpython/pull/102658#issuecomment-1478418929
GH-102883https://github.com/python/cpython/pull/102883
3.10 branchhttps://github.com/python/cpython/tree/3.10
Please reload this pagehttps://github.com/python/cpython/pull/102658
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Mar 21, 2023https://github.com/python/cpython/pull/102658#event-8809203313
miss-islingtonhttps://github.com/miss-islington
Mar 21, 2023 https://github.com/python/cpython/pull/102658#ref-commit-d5fdc3f
https://github.com/miss-islington
https://github.com/ericsnowcurrently
gh-98608https://github.com/python/cpython/issues/98608
: Fix Failure-handling in new_interpreter() (https://github.com/python/cpython/commit/d5fdc3f07ec64d6e17a63f995ed03f0f107cda78
gh-102658https://github.com/python/cpython/pull/102658
)https://github.com/python/cpython/commit/d5fdc3f07ec64d6e17a63f995ed03f0f107cda78
d5fdc3fhttps://github.com/python/cpython/commit/d5fdc3f07ec64d6e17a63f995ed03f0f107cda78
gh-101660https://github.com/python/cpython/pull/101660
d1b883bhttps://github.com/python/cpython/commit/d1b883b52a99427d234c20e4a92ddfa6a1da8880
/issues/98608https://github.com/python/cpython/issues/98608
miss-islingtonhttps://github.com/miss-islington
Mar 21, 2023 https://github.com/python/cpython/pull/102658#ref-commit-4c6b354
https://github.com/miss-islington
https://github.com/ericsnowcurrently
gh-98608https://github.com/python/cpython/issues/98608
: Fix Failure-handling in new_interpreter() (https://github.com/python/cpython/commit/4c6b354699c2967879b9c99fe247c4d97f0e31f9
gh-102658https://github.com/python/cpython/pull/102658
)https://github.com/python/cpython/commit/4c6b354699c2967879b9c99fe247c4d97f0e31f9
4c6b354https://github.com/python/cpython/commit/4c6b354699c2967879b9c99fe247c4d97f0e31f9
gh-101660https://github.com/python/cpython/pull/101660
d1b883bhttps://github.com/python/cpython/commit/d1b883b52a99427d234c20e4a92ddfa6a1da8880
/issues/98608https://github.com/python/cpython/issues/98608
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Mar 27, 2023 https://github.com/python/cpython/pull/102658#ref-commit-ac24ffa
https://github.com/ericsnowcurrently
https://github.com/Fidget-Spinner
pythongh-98608https://github.com/python/cpython/issues/98608
: Fix Failure-handling in new_interpreter() (https://github.com/Fidget-Spinner/cpython/commit/ac24ffadfd7cffcf4ee1062b020a0b09b6d16929
pythongh-1…https://github.com/python/cpython/pull/102658
ac24ffahttps://github.com/Fidget-Spinner/cpython/commit/ac24ffadfd7cffcf4ee1062b020a0b09b6d16929
…02658https://github.com/python/cpython/pull/102658
pythongh-101660https://github.com/python/cpython/pull/101660
python#98608https://github.com/python/cpython/issues/98608
warsawhttps://github.com/warsaw
Apr 11, 2023 https://github.com/python/cpython/pull/102658#ref-commit-45f7d84
https://github.com/ericsnowcurrently
https://github.com/warsaw
pythongh-98608https://github.com/python/cpython/issues/98608
: Fix Failure-handling in new_interpreter() (https://github.com/warsaw/cpython/commit/45f7d84b12a6c64ff9c660f3d409d0296152c022
pythongh-1…https://github.com/python/cpython/pull/102658
45f7d84https://github.com/warsaw/cpython/commit/45f7d84b12a6c64ff9c660f3d409d0296152c022
…02658https://github.com/python/cpython/pull/102658
pythongh-101660https://github.com/python/cpython/pull/101660
python#98608https://github.com/python/cpython/issues/98608
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%2F102658
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/102658/files/099e80a9dfe83b2f9e8eeacdf34bbfde8e9eef05
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/102658
https://github.com/ericsnowcurrently
https://github.com/kumaraditya303
https://github.com/miss-islington
https://github.com/bedevere-bot
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.