]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Postpone <stdbool.h> inclusion after Python.h (#130641)
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 28 Feb 2025 09:09:27 +0000 (10:09 +0100)
committerGitHub <noreply@github.com>
Fri, 28 Feb 2025 09:09:27 +0000 (10:09 +0100)
commit830f04b5056db92ba96387db0a778dcd19a39522
tree77dfda64670489e297dea00f51cd3537211e3675
parentfecf8bc8f2fd09a9a4c5177d32dbb42920b4e177
Postpone <stdbool.h> inclusion after Python.h (#130641)

Remove inclusions prior to Python.h.

<stdbool.h> will cause <features.h> to be included before Python.h can
define some macros to enable some additional features, causing multiple
types not to be defined down the line.
Objects/codeobject.c
Python/assemble.c
Python/compile.c
Python/pythonrun.c