cpython/Lib/test/test_import
Eric Snow b2cd54a4fb
gh-117953: Always Run Extension Init Func in Main Interpreter First (gh-118157)
This change makes sure all extension/builtin modules have their init function run first by the main interpreter before proceeding with import in the original interpreter (main or otherwise).  This means when the import of a single-phase init module fails in an isolated subinterpreter, it won't tie any global state/callbacks to the subinterpreter.
2024-05-07 04:21:51 +00:00
..
data gh-117860: Add tests for resolving names when import rebind names (GH-118176) 2024-04-30 17:23:44 +03:00
__init__.py gh-117953: Always Run Extension Init Func in Main Interpreter First (gh-118157) 2024-05-07 04:21:51 +00:00
__main__.py