cpython/Parser
Bénédikt Tran 00cf2a621a
[3.13] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130756)
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-03 13:09:59 +01:00
..
lexer [3.13] gh-130618: Fix parser error when using lambdas inside f-strings (GH-130638) (#130642) 2025-03-01 18:10:03 +00:00
tokenizer GH-110749: fix unistd.h import in file_tokenizer.c (#110750) 2023-10-12 07:52:13 +02:00
action_helpers.c [3.13] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399) (#129187) 2025-01-22 17:19:07 +00:00
asdl.py
asdl_c.py [3.13] gh-126105: Fix crash in ast module, when ._fields is deleted (GH-126115) (#126130) 2024-10-29 16:07:32 +00:00
myreadline.c [3.13] gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (GH-123690) (#123798) 2024-09-06 22:55:42 +02:00
parser.c [3.13] gh-119724: Revert "bpo-45759: Better error messages for non-matching 'elif'/'else' statements (GH-29513)" (GH-119974) (GH-120013) 2024-06-04 08:36:16 +02:00
peg_api.c gh-110805: Allow the repl to show source code and complete tracebacks (#110775) 2023-10-13 09:25:37 +00:00
pegen.c [3.13] gh-122581: Avoid data races when collecting parser statistics (GH-122694) (#122733) 2024-08-07 18:29:03 +05:30
pegen.h [3.13] gh-119118: Fix performance regression in tokenize module (GH-119615) (#119682) 2024-05-28 22:47:45 +02:00
pegen_errors.c [3.13] gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer (GH-116049) (#130066) 2025-02-13 01:49:25 +00:00
Python.asdl gh-116126: Implement PEP 696 (#116129) 2024-05-03 06:17:32 -07:00
string_parser.c [3.13] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130756) 2025-03-03 13:09:59 +01:00
string_parser.h gh-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05:00
token.c gh-107015: Remove async_hacks from the tokenizer (#107018) 2023-07-26 16:34:15 +01:00