Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ The available slot types are:
``PyModuleDef`` has non-``NULL`` ``m_traverse``, ``m_clear``,
``m_free``; non-zero ``m_size``; or slots other than ``Py_mod_create``.

.. versionadded:: 3.5

.. c:macro:: Py_mod_exec

Specifies a function that is called to *execute* the module.
Expand All @@ -342,6 +344,8 @@ The available slot types are:
If multiple ``Py_mod_exec`` slots are specified, they are processed in the
order they appear in the *m_slots* array.

.. versionadded:: 3.5

.. c:macro:: Py_mod_multiple_interpreters

Specifies one of the following values:
Expand Down
5 changes: 5 additions & 0 deletions Doc/data/stable_abi.dat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Misc/stable_abi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1902,6 +1902,13 @@
added = '3.5'
[data.PyModuleDef_Type]
added = '3.5'
[const.Py_mod_create]
added = '3.5'
[const.Py_mod_exec]
added = '3.5'
[struct.PyModuleDef_Slot]
added = '3.5'
struct_abi_kind = 'full-abi'

# New slots in 3.5:
# d51374ed78a3e3145911a16cdf3b9b84b3ba7d15 - Matrix multiplication (PEP 465)
Expand Down Expand Up @@ -2444,6 +2451,9 @@
added = '3.12'
[const.Py_TPFLAGS_ITEMS_AT_END]
added = '3.12'
[const.Py_mod_multiple_interpreters]
added = '3.12'

[function.PyImport_AddModuleRef]
added = '3.13'
[function.PyWeakref_GetRef]
Expand Down Expand Up @@ -2522,6 +2532,8 @@
added = '3.13'
[function.PyEval_GetFrameLocals]
added = '3.13'
[const.Py_mod_gil]
added = '3.12'

[function.Py_TYPE]
added = '3.14'
Expand Down
Loading