]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] Postpone <stdbool.h> inclusion after Python.h (#130641) (#130675)
authorVictor Stinner <vstinner@python.org>
Fri, 28 Feb 2025 09:40:06 +0000 (10:40 +0100)
committerGitHub <noreply@github.com>
Fri, 28 Feb 2025 09:40:06 +0000 (09:40 +0000)
commit9184b1b0319311cdd07110e2e389c0b1b7f17ad8
treef8b20150a17ea4157182fd5cacf1383f1187dae8
parentb223dc70cdddc6d3f21840b629e99c98b16433eb
[3.13] Postpone <stdbool.h> inclusion after Python.h (#130641) (#130675)

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.

(cherry picked from commit 830f04b5056db92ba96387db0a778dcd19a39522)

Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Objects/codeobject.c
Python/assemble.c
Python/compile.c
Python/pythonrun.c