Skip to content

[3.14] gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471)#144541

Merged
encukou merged 1 commit intopython:3.14from
miss-islington:backport-f85e117-3.14
Feb 6, 2026
Merged

[3.14] gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471)#144541
encukou merged 1 commit intopython:3.14from
miss-islington:backport-f85e117-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 6, 2026

  • Group the macros
  • Roughly order them to put the most important ones first
  • Add expansions where it makes sense; especially if there's
    an equivalent in modern C or a common compiler
    (cherry picked from commit f85e117)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Peter Bierma zintensitydev@gmail.com


📚 Documentation preview 📚: https://cpython-previews--144541.org.readthedocs.build/

…ythonGH-144471)

- Group the macros
- Roughly order them to put the most important ones first
- Add expansions where it makes sense; especially if there's
  an equivalent in modern C or a common compiler
(cherry picked from commit f85e1170d2b22d2ee42cd568144e0c9f57b0db67)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news topic-C-API labels Feb 6, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Feb 6, 2026
@encukou encukou merged commit 3fe9735 into python:3.14 Feb 6, 2026
38 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Feb 6, 2026
@miss-islington miss-islington deleted the backport-f85e117-3.14 branch February 6, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-C-API

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants