Description:
This issue tracks the architectural changes required to support CPython subinterpreters, to safely support multiple interpreters running simultaneously, NumPy must stop relying on global shared memory and ensure every interpreter gets its own distinct module instance.
Initial Roadmap:
Following CPython's Isolating Extension Modules guide, we will start with:
Expected Outcomes for this phase:
- Core modules can be safely imported multiple times across different subinterpreters without memory leaks or race conditions.
Description:
This issue tracks the architectural changes required to support CPython subinterpreters, to safely support multiple interpreters running simultaneously, NumPy must stop relying on global shared memory and ensure every interpreter gets its own distinct module instance.
Initial Roadmap:
Following CPython's Isolating Extension Modules guide, we will start with:
PyTypeObject) to dynamically allocated heap types (PyType_FromModuleAndSpec).Expected Outcomes for this phase: