FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-158886: Add INCREF/DECREF macros to stable_abi.toml by vstinner · Pull Request #158941 · python/cpython · GitHub

Repository navigation

gh-158886: Add INCREF/DECREF macros to stable_abi.toml - #158941

Open
vstinner wants to merge 6 commits into
python:mainfrom
vstinner:stable_ref_macros
Open

vstinner wants to merge 6 commits into
python:mainfrom
vstinner:stable_ref_macros

Conversation

vstinner commented Oct 6, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

read-the-docs-community Bot commented Oct 6, 2026 •
edited
Loading

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34984221 | 📁 Comparing 953d7e2 against main (1818fba)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

vstinner commented Oct 6, 2026

Copy link
Copy Markdown
Member Author

@encukou: Ok, here is a small PR only adding 7 macros.

Comment thread Misc/stable_abi.toml

encukou commented Oct 7, 2026

Copy link
Copy Markdown
Member

Thanks for getting to this. I spent some time thinking about this but kept getting lost in rabbit-holes. Let's do this step first :)

There's a few changes I'd like to make here. I sent them as vstinner#20.
If you'd like me to push directly here and let you review, let me know.

* 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

* Regenerate stable_abi.dat

* Make it explicit that macros aren't part of the ABI

* Move is_static_inline_function (per-item data) to the TOML file

* Appease linter rule, despite PEP 8

vstinner commented Oct 7, 2026

Copy link
Copy Markdown
Member Author

There's a few changes I'd like to make here. I sent them as vstinner#20.

Thanks, I merged your PR.

If you'd like me to push directly here and let you review, let me know.

If I can chose, I prefer that you create a PR on my branch, as you did.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL