gh-139098: Use multiphase initialization in `_testcapi` (GH-139102)
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.
P
Peter Bierma committed
49f1c302df2621dcc2aa0386d90ed8502e0ed024
Parent: 70ad1b3
Committed by GitHub <noreply@github.com>
on 9/18/2025, 11:00:50 AM