Skip to content

[3.14] gh-158886: Add INCREF/DECREF macros to stable_abi.toml (GH-158941) (GH-159148) - #159236

Merged
vstinner merged 1 commit into
python:3.14from
vstinner:stableabi14
Oct 12, 2026
Merged

vstinner merged 1 commit into
python:3.14from
vstinner:stableabi14

Conversation

@vstinner

Copy link
Copy Markdown
Member

(cherry picked from commit 5bde996)

Backport to 3.14: omit "abi3t_opaque".

(cherry picked from commit 20cb7fc)

(cherry picked from commit 295bb00)

…ythonGH-158941) (pythonGH-159148)

* pythongh-148233: Group stable_abi.toml entries per Python version (pythonGH-157990)

(cherry picked from commit 5bde996)

* pythongh-158886: Add INCREF/DECREF macros to stable_abi.toml (pythonGH-158941)

* Add 7 INCREF/DECREF macros
* distinguish between 'const' and 'macro' in stable_abi.dat
  The file now has the 'kind' from the toml, not the ReST role.
* Fix kind of PY_VECTORCALL_ARGUMENTS_OFFSET
* Make it explicit that macros aren't part of the ABI
* Add is_static_inline_function to the TOML file (these are treated as macros in the docs)

Backport to 3.14: omit "abi3t_opaque".

(cherry picked from commit 20cb7fc)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 295bb00)
@vstinner
vstinner merged commit 18b1302 into python:3.14 Oct 12, 2026
52 of 53 checks passed
@vstinner
vstinner deleted the stableabi14 branch October 12, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant