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/preconfig.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/preconfig.c')
-rw-r--r-- | Python/preconfig.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Python/preconfig.c b/Python/preconfig.c index afa16cc..0deb07a 100644 --- a/Python/preconfig.c +++ b/Python/preconfig.c @@ -294,17 +294,7 @@ _PyPreConfig_InitCompatConfig(PyPreConfig *config) config->coerce_c_locale_warn = 0; config->dev_mode = -1; -#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS - /* bpo-40512: pymalloc is not compatible with subinterpreters, - force usage of libc malloc() which is thread-safe. */ -#ifdef Py_DEBUG - config->allocator = PYMEM_ALLOCATOR_MALLOC_DEBUG; -#else - config->allocator = PYMEM_ALLOCATOR_MALLOC; -#endif -#else config->allocator = PYMEM_ALLOCATOR_NOT_SET; -#endif #ifdef MS_WINDOWS config->legacy_windows_fs_encoding = -1; #endif |