Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-119180: Add VALUE_WITH_FAKE_GLOBALS format to annotationlib (#124415) | Jelle Zijlstra | 2024-11-26 | 1 | -3/+6 |
| | |||||
* | Fix typo: Use AsyncFor element access in codegen (#127278) | Marc Mueller | 2024-11-26 | 1 | -1/+1 |
| | | | Use AsyncFor element access in codegen | ||||
* | gh-126072: Set docstring attribute for module and class (#126231) | Xuanteng Huang | 2024-11-08 | 1 | -16/+13 |
| | |||||
* | gh-120017: use 'do-while(0)' in some `{codegen,compile}.c` multi-line macros ↵ | Bénédikt Tran | 2024-11-07 | 1 | -59/+67 |
| | | | | (#120018) | ||||
* | gh-125832: Reformat comments for inlined comprehensions (gh-126346) | Donghee Na | 2024-11-03 | 1 | -5/+5 |
| | |||||
* | gh-125832: Clarify comment for inlined comprehensions as per PEP-709 (#126322) | rimchoi | 2024-11-02 | 1 | -3/+6 |
| | | | | | | | | | | | | | | * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> | ||||
* | gh-126072: do not add `None` to `co_consts` if there is no docstring (GH-126101) | Xuanteng Huang | 2024-10-30 | 1 | -3/+3 |
| | |||||
* | GH-125837: Split `LOAD_CONST` into three. (GH-125972) | Mark Shannon | 2024-10-29 | 1 | -0/+11 |
| | | | | | | | | * Add LOAD_CONST_IMMORTAL opcode * Add LOAD_SMALL_INT opcode * Remove RETURN_CONST opcode | ||||
* | gh-125038: Fix crash after genexpr.gi_frame.f_locals manipulations (#125178) | Mikhail Efimov | 2024-10-22 | 1 | -0/+1 |
| | |||||
* | gh-125063: Emit slices as constants in the bytecode compiler (#125064) | Michael Droettboom | 2024-10-08 | 1 | -19/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | * Make slices marshallable * Emit slices as constants * Update Python/marshal.c Co-authored-by: Peter Bierma <zintensitydev@gmail.com> * Refactor codegen_slice into two functions so it always has the same net effect * Fix for free-threaded builds * Simplify marshal loading of slices * Only return SUCCESS/ERROR from codegen_slice --------- Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> | ||||
* | gh-124285: Fix bug where bool() is called multiple times for the same part ↵ | Irit Katriel | 2024-09-25 | 1 | -4/+2 |
| | | | | of a boolean expression (#124394) | ||||
* | gh-124058: remove _PyCompile_IsNestedScope, roll it into ↵ | Irit Katriel | 2024-09-16 | 1 | -3/+2 |
| | | | | _PyCompile_IsInteractive (#124061) | ||||
* | gh-124022: Fix bug where class docstring is removed in interactive mode ↵ | Irit Katriel | 2024-09-13 | 1 | -3/+3 |
| | | | | | | | (#124023) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-124019: do not call codegen_annotations_in_scope if there are no ↵ | Irit Katriel | 2024-09-12 | 1 | -14/+10 |
| | | | | annotations (#124020) | ||||
* | gh-124013: remove _PyCompile_IsTopLevelAwait (#124014) | Irit Katriel | 2024-09-12 | 1 | -16/+0 |
| | |||||
* | gh-123958: apply docstring removal optimization in ast_opt instead of ↵ | Irit Katriel | 2024-09-11 | 1 | -22/+16 |
| | | | | codegen (#123959) | ||||
* | gh-123881: make compiler add the .generic_base base class without ↵ | Irit Katriel | 2024-09-10 | 1 | -38/+52 |
| | | | | | | constructing AST nodes (#123883) | ||||
* | gh-121404: split compile.c into compile.c and codegen.c (#123651) | Irit Katriel | 2024-09-09 | 1 | -0/+6138 |