◐ Shell
clean mode source ↗

gh-141004: Reorganize and reword the 'Useful macros' section by encukou · Pull Request #144471 · python/cpython

- 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

vstinner

Co-authored-by: Victor Stinner <vstinner@python.org>

ZeroIntensity

vstinner

encukou

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>

ZeroIntensity

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 6, 2026
…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 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>

encukou added a commit that referenced this pull request

Feb 6, 2026
…H-144471) (GH-144541)

- 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>

thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request

Feb 15, 2026
…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

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026
…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

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>