mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-137210: Add a struct, slot & function for checking an extension's ABI (GH-137212)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
This commit is contained in:
parent
c1a9c23195
commit
0c74fc8af0
24 changed files with 654 additions and 8 deletions
|
|
@ -7616,6 +7616,7 @@ _datetime_exec(PyObject *module)
|
|||
}
|
||||
|
||||
static PyModuleDef_Slot module_slots[] = {
|
||||
_Py_INTERNAL_ABI_SLOT,
|
||||
{Py_mod_exec, _datetime_exec},
|
||||
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
|
||||
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue