summaryrefslogtreecommitdiffstats
path: root/Python/assemble.c
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-130775: Allow negative locations in `ast` (GH-130795) (#132260)sobolevn2025-04-081-4/+2
| | | | | | | (cherry picked from commit bc5233b6a5cdd8f77a4737ce317f94110869c082) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738) ↵Bénédikt Tran2025-03-041-2/+1
| | | | | | | | | | | | | | | | (#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 214562ed4ddc248b007f718ed92ebcc0c3669611) --------- Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
* gh-87092: avoid gcc warning on uninitialized struct field in assemble.c ↵Dong-hee Na2023-05-141-1/+2
| | | | (#104460)
* gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441)Carl Meyer2023-05-091-0/+3
| | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-87092: change assembler to use instruction sequence instead of CFG (#103933)Irit Katriel2023-04-291-49/+46
|
* gh-87092: move assembler related code from compile.c to assemble.c (#103277)Irit Katriel2023-04-111-0/+602