Skip to content

gh-139098: Use multiphase initialization in _testcapi - #139102

Merged
ZeroIntensity merged 2 commits into
python:mainfrom
ZeroIntensity:testcapi-multiphase
Sep 18, 2025
Merged

gh-139098: Use multiphase initialization in _testcapi#139102
ZeroIntensity merged 2 commits into
python:mainfrom
ZeroIntensity:testcapi-multiphase

Conversation

@ZeroIntensity

@ZeroIntensityZeroIntensity commented Sep 18, 2025

Copy link
Copy Markdown
Member

Use multiphase initialization in the _testcapi module to allow loading in subinterpreters. The isolation here isn't perfect as there's still some use of globals, but _testcapi should generally work in other interpreters.

@github-project-automationgithub-project-automationBot moved this from Todo to In Progress in SprintSep 18, 2025
@ZeroIntensity
ZeroIntensity enabled auto-merge (squash) September 18, 2025 10:56
@ZeroIntensity
ZeroIntensity merged commit 49f1c30 into python:mainSep 18, 2025
87 of 89 checks passed
@ZeroIntensity
ZeroIntensity deleted the testcapi-multiphase branch September 18, 2025 11:00
@github-project-automationgithub-project-automationBot moved this from In Progress to Done in SprintSep 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

@ZeroIntensity@encukou