cpython/Parser
Bénédikt Tran 7ce5f15981
[3.12] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130757)
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` (this caused some
build failures when compiling CPython with `zig cc`).

(cherry-picked from commit 214562ed4d)

---------

Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2025-03-04 10:38:24 +01:00
..
action_helpers.c [3.12] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399) (#129190) 2025-01-22 18:08:58 +00:00
asdl.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 2021-04-02 12:53:46 +09:00
asdl_c.py [3.12] gh-126105: Fix crash in ast module, when ._fields is delet… (#126132) 2024-10-29 20:20:40 +02:00
myreadline.c [3.12] gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-threaded race (GH-123323) (#123677) 2024-09-05 14:25:38 +02:00
parser.c [3.12] gh-109120: Fix syntax error in handlinh of incorrect star expressions… (#117465) 2024-04-04 11:22:43 -04:00
peg_api.c bpo-43244: Remove parser_interface.h header file (GH-25001) 2021-03-24 01:29:09 +01:00
pegen.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
pegen.h [3.12] gh-119118: Fix performance regression in tokenize module (GH-119615) (#119683) 2024-05-28 22:49:02 +02:00
pegen_errors.c [3.12] gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer (GH-116049) (#130065) 2025-02-13 01:42:24 +00:00
Python.asdl [3.12] gh-106145: Make end_{lineno,col_offset} required on type_param nodes (GH-106224) (#106295) 2023-07-01 00:15:18 +00:00
string_parser.c [3.12] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130757) 2025-03-04 10:38:24 +01:00
string_parser.h gh-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05:00
token.c gh-102856: Python tokenizer implementation for PEP 701 (#104323) 2023-05-21 01:03:02 +01:00
tokenizer.c [3.12] gh-130618: Fix parser error when using lambdas inside f-strings (GH-130638) (#130644) 2025-03-01 18:10:07 +00:00
tokenizer.h [3.12] gh-121130: Fix f-string format specifiers with debug expressions (GH-121150) (#122063) 2024-07-20 19:05:01 +02:00