]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738)
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Sun, 2 Mar 2025 09:56:49 +0000 (10:56 +0100)
committerGitHub <noreply@github.com>
Sun, 2 Mar 2025 09:56:49 +0000 (09:56 +0000)
commit214562ed4ddc248b007f718ed92ebcc0c3669611
tree23abec36fbc197868e07cb1173ff6d69969a4e37
parent051f0e5683fec3840fa7fc99723741dd2d701eae
gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738)

Move some `#include <stdbool.h>` after `#include "Python.h"` when `pyconfig.h` is not
included first and when we are in a platform-agnostic context. This is to avoid having
features defined by `stdbool.h` before those decided by `Python.h`.
Misc/NEWS.d/next/Build/2025-03-01-18-27-42.gh-issue-130740.nDFSHR.rst [new file with mode: 0644]
Modules/_hashopenssl.c
Parser/string_parser.c
Python/codegen.c
Python/flowgraph.c
Python/index_pool.c
Python/instruction_sequence.c