summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compiler_codegen.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-130907: Treat all module-level annotations as conditional (#131550)Jelle Zijlstra2025-04-281-0/+4
|
* gh-130480: Move duplicate `LOAD_SMALL_INT` optimization from codegen to CFG ↵Yan Yanchii2025-03-141-9/+9
| | | | (#130481)
* GH-128533: Add `NOT_TAKEN` instruction after bytecode optimization. (GH-128554)Mark Shannon2025-01-061-1/+0
|
* GH-128375: Better instrument for `FOR_ITER` (GH-128445)Mark Shannon2025-01-061-2/+1
|
* GH-122548: Implement branch taken and not taken events for sys.monitoring ↵Mark Shannon2024-12-191-0/+2
| | | | (GH-122564)
* GH-125837: Split `LOAD_CONST` into three. (GH-125972)Mark Shannon2024-10-291-11/+11
| | | | | | | | * Add LOAD_CONST_IMMORTAL opcode * Add LOAD_SMALL_INT opcode * Remove RETURN_CONST opcode
* gh-124188: Fix PyErr_ProgramTextObject() (GH-124189)Serhiy Storchaka2024-09-241-1/+4
| | | | | | | | * Detect source file encoding. * Use the "replace" error handler even for UTF-8 (default) encoding. * Remove the BOM. * Fix detection of too long lines if they contain NUL. * Return the head rather than the tail for truncated long lines.
* gh-93691: fix too broad source locations of for statement iterators (#120330)Irit Katriel2024-06-121-0/+1
|
* gh-117901: Add option for compiler's codegen to save nested instruction ↵Irit Katriel2024-04-241-1/+95
| | | | sequences for introspection (#118007)
* gh-115376: fix segfault in _testinternalcapi.compiler_codegen on bad input ↵Irit Katriel2024-02-151-1/+6
| | | | (#115379)
* GH-112354: `END_FOR` instruction to only pop one value. (GH-114247)Mark Shannon2024-01-241-0/+1
| | | | * Compiler emits END_FOR; POP_TOP instead of END_FOR. To support tier 2 side exits in loops.
* gh-107901: synthetic jumps which are not at end of loop no longer check the ↵Irit Katriel2024-01-061-1/+1
| | | | eval breaker (#113721)
* GH-105848: Simplify the arrangement of CALL's stack (GH-107788)Brandt Bucher2023-08-091-1/+1
|
* GH-106008: Make implicit boolean conversions explicit (GH-106003)Brandt Bucher2023-06-291-0/+1
|
* gh-104240: make _PyCompile_CodeGen support different compilation modes (#104241)Irit Katriel2023-05-071-0/+4
|
* gh-87092: Make jump target label equal to the offset of the target in the ↵Irit Katriel2023-02-281-4/+4
| | | | instructions sequence (#102093)
* gh-87092: expose the compiler's codegen to python for unit tests (GH-99111)Irit Katriel2022-11-141-0/+50