summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2024-06-03 22:42:48 (GMT)
committerGitHub <noreply@github.com>2024-06-03 22:42:48 (GMT)
commitdba7a167dbbd50e83e58df351f3414b7a08e0188 (patch)
tree1c83ff104b19e4d91517f7986cd5124d678e2a92 /Modules
parentd82a7ba041321e7b58a5a9bbc394670be6ceeb7c (diff)
downloadcpython-dba7a167dbbd50e83e58df351f3414b7a08e0188.zip
cpython-dba7a167dbbd50e83e58df351f3414b7a08e0188.tar.gz
cpython-dba7a167dbbd50e83e58df351f3414b7a08e0188.tar.bz2
gh-117142: Support Importing ctypes in Isolated Interpreters (gh-119991)
This makes the support official. Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/_ctypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index 6c1e5f5..1d95346 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -5939,7 +5939,7 @@ module_free(void *module)
static PyModuleDef_Slot module_slots[] = {
{Py_mod_exec, _ctypes_mod_exec},
- {Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED},
+ {Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
{0, NULL}
};