summaryrefslogtreecommitdiffstats
path: root/Modules/xxlimited_35.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-17 10:27:16 (GMT)
committerGitHub <noreply@github.com>2023-10-17 10:27:16 (GMT)
commitdb15fc23c629fb7e0dfd4858c064fcd4c02582b3 (patch)
tree82dc4e15fb86430d4d9300d82241dc0e9f750469 /Modules/xxlimited_35.c
parent9a9fba825f8aaee4ea9b3429875c6c6324d0dee0 (diff)
downloadcpython-db15fc23c629fb7e0dfd4858c064fcd4c02582b3.zip
cpython-db15fc23c629fb7e0dfd4858c064fcd4c02582b3.tar.gz
cpython-db15fc23c629fb7e0dfd4858c064fcd4c02582b3.tar.bz2
gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED new in 3.13. (#110969)
* Only add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED to limited C API version 3.13. * errno, xxlimited and _ctypes_test extensions now need the limited C API version 3.13 to get Py_MOD_PER_INTERPRETER_GIL_SUPPORTED. They now include standard header files explicitly: <errno.h>, <string.h> and <stdio.h>. * xxlimited_35: Remove Py_mod_multiple_interpreters slot, incompatible with limited C API version 3.5.
Diffstat (limited to 'Modules/xxlimited_35.c')
-rw-r--r--Modules/xxlimited_35.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/xxlimited_35.c b/Modules/xxlimited_35.c
index 1ff3ef1..361c7e7 100644
--- a/Modules/xxlimited_35.c
+++ b/Modules/xxlimited_35.c
@@ -293,7 +293,6 @@ xx_modexec(PyObject *m)
static PyModuleDef_Slot xx_slots[] = {
{Py_mod_exec, xx_modexec},
- {Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
{0, NULL}
};