]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132781: Cleanup Code Related to NotShareableError (gh-132782)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 25 Apr 2025 20:43:38 +0000 (14:43 -0600)
committerGitHub <noreply@github.com>
Fri, 25 Apr 2025 20:43:38 +0000 (14:43 -0600)
commitcd9536a0872046cc7c151b61b457975e7718274a
tree97aeb24d67a984a1eedd1ef0944463a4b2a3ef05
parent4c20f46fa011df57190cc19b21bafde1f65e73a7
gh-132781: Cleanup Code Related to NotShareableError (gh-132782)

The following are added to the internal C-API:

* _PyErr_FormatV()
* _PyErr_SetModuleNotFoundError()
* _PyXIData_GetNotShareableErrorType()
* _PyXIData_FormatNotShareableError()

We also drop _PyXIData_lookup_context_t and _PyXIData_GetLookupContext().
14 files changed:
Include/internal/pycore_crossinterp.h
Include/internal/pycore_crossinterp_data_registry.h
Include/internal/pycore_pyerrors.h
Lib/test/test__interpreters.py
Lib/test/test_interpreters/test_api.py
Modules/_interpchannelsmodule.c
Modules/_interpqueuesmodule.c
Modules/_interpreters_common.h
Modules/_interpretersmodule.c
Modules/_testinternalcapi.c
Python/crossinterp.c
Python/crossinterp_data_lookup.h
Python/crossinterp_exceptions.h
Python/errors.c