Add a Test to Verify All Stdlib Modules Can Be Imported in an Isolated Subinterpreter #104289
Labels
3.12
bugs and security fixes
extension-modules
C modules in the Modules dir
tests
Tests in the Lib/test dir
topic-subinterpreters
type-feature
A feature request or enhancement
(This is a follow-up to gh-103092 and gh-104108.)
It may be worth having a test that tries importing every stdlib module in a subinterpreter that has its own GIL. This would ensure that all our builtin/extension modules are isolated (implement multi-phase init and have a
Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
slot).(Such a test should fail until gh-103092 is finished.)
The text was updated successfully, but these errors were encountered: