mirror of
https://github.com/python/cpython.git
synced 2026-01-08 00:12:42 +00:00
Enforcing (optionally) the restriction set by PEP 489 makes sense. Furthermore, this sets the stage for a potential restriction related to a per-interpreter GIL. This change includes the following: * add tests for extension module subinterpreter compatibility * add _PyInterpreterConfig.check_multi_interp_extensions * add Py_RTFLAGS_MULTI_INTERP_EXTENSIONS * add _PyImport_CheckSubinterpIncompatibleExtensionAllowed() * fail iff the module does not implement multi-phase init and the current interpreter is configured to check https://github.com/python/cpython/issues/98627 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ast_helper.py | ||
| asynchat.py | ||
| asyncore.py | ||
| bytecode_helper.py | ||
| hashlib_helper.py | ||
| import_helper.py | ||
| interpreters.py | ||
| logging_helper.py | ||
| os_helper.py | ||
| script_helper.py | ||
| socket_helper.py | ||
| testresult.py | ||
| threading_helper.py | ||
| warnings_helper.py | ||