summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-03 23:06:56 (GMT)
committerGitHub <noreply@github.com>2024-06-03 23:06:56 (GMT)
commitc348e27cc1b1e7468f9c0c7d5d6e7f6160d25613 (patch)
tree856053b5179c0b85909bdd67346c8cc7acdb1701 /Modules
parent39510dadde3ca20e9f85833efee5fef1d51e16da (diff)
downloadcpython-c348e27cc1b1e7468f9c0c7d5d6e7f6160d25613.zip
cpython-c348e27cc1b1e7468f9c0c7d5d6e7f6160d25613.tar.gz
cpython-c348e27cc1b1e7468f9c0c7d5d6e7f6160d25613.tar.bz2
[3.13] gh-117142: Support Importing ctypes in Isolated Interpreters (gh-120008)
This makes the support official. (cherry picked from commit dba7a167dbbd50e83e58df351f3414b7a08e0188, AKA gh-119991) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> 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}
};