diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-05-28 00:56:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 00:56:30 (GMT) |
commit | 36374251aa39c0a89be277fb76439bacc709f8b7 (patch) | |
tree | a3bba5dee5d355f132201b514ba73ebe01838a16 /Python/pylifecycle.c | |
parent | cf63b80bc482ef971ecb6d3ed9a1dc4a93d73744 (diff) | |
download | cpython-36374251aa39c0a89be277fb76439bacc709f8b7.zip cpython-36374251aa39c0a89be277fb76439bacc709f8b7.tar.gz cpython-36374251aa39c0a89be277fb76439bacc709f8b7.tar.bz2 |
[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)
(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)
This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing:
* the configure option
* the macro
* the code enabled by the macro
Automerge-Triggered-By: GH:ericsnowcurrently
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 273f6d6..960a38a 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1986,12 +1986,10 @@ new_interpreter(PyThreadState **tstate_p, int isolated_subinterpreter) /* Copy the current interpreter config into the new interpreter */ const PyConfig *config; -#ifndef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS if (save_tstate != NULL) { config = _PyInterpreterState_GetConfig(save_tstate->interp); } else -#endif { /* No current thread state, copy from the main interpreter */ PyInterpreterState *main_interp = _PyInterpreterState_Main(); |