mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
![]() This moves several general internal APIs out of _xxsubinterpretersmodule.c and into the new Python/crossinterp.c (and the corresponding internal headers). Specifically: * _Py_excinfo, etc.: the initial implementation for non-object exception snapshots (in pycore_pyerrors.h and Python/errors.c) * _PyXI_exception_info, etc.: helpers for passing an exception beween interpreters (wraps _Py_excinfo) * _PyXI_namespace, etc.: helpers for copying a dict of attrs between interpreters * _PyXI_Enter(), _PyXI_Exit(): functions that abstract out the transitions between one interpreter and a second that will do some work temporarily Again, these were all abstracted out of _xxsubinterpretersmodule.c as generalizations. I plan on proposing these as public API at some point. |
||
---|---|---|
.. | ||
_hypothesis_stubs | ||
__init__.py | ||
ast_helper.py | ||
asynchat.py | ||
asyncore.py | ||
bytecode_helper.py | ||
hashlib_helper.py | ||
hypothesis_helper.py | ||
import_helper.py | ||
interpreters.py | ||
logging_helper.py | ||
os_helper.py | ||
script_helper.py | ||
socket_helper.py | ||
testcase.py | ||
threading_helper.py | ||
warnings_helper.py |