gh-141909: Add PyModuleDef_Slot and earlier Py_mod_* constants to stable ABI manifest (#141910)

These were added to the limited API in 3.5.
Not including them in `Misc/stable_abi.toml` was a bug.
This commit is contained in:
Petr Viktorin 2025-11-25 15:16:49 +01:00 committed by GitHub
parent f445c452ea
commit 202fce0dbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 0 deletions

View file

@ -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.
@ -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: