]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED new in 3.13. (#110969)
authorVictor Stinner <vstinner@python.org>
Tue, 17 Oct 2023 10:27:16 +0000 (12:27 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2023 10:27:16 +0000 (12:27 +0200)
commitdb15fc23c629fb7e0dfd4858c064fcd4c02582b3
tree82dc4e15fb86430d4d9300d82241dc0e9f750469
parent9a9fba825f8aaee4ea9b3429875c6c6324d0dee0
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.
Include/moduleobject.h
Modules/_ctypes/_ctypes_test.c
Modules/errnomodule.c
Modules/xxlimited.c
Modules/xxlimited_35.c