summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
Commit message (Expand)AuthorAgeFilesLines
* gh-121404: typo fix in compile.c: MATADATA -> METADATA (#125101)Mikhail Efimov2024-10-081-5/+5
* gh-124442: make `__static_attributes__` deterministic by sorting (#124492)Kira2024-09-281-1/+11
* gh-123969: refactor _PyErr_RaiseSyntaxError and _PyErr_EmitSyntaxWarning out ...Irit Katriel2024-09-161-30/+7
* gh-124058: remove _PyCompile_IsNestedScope, roll it into _PyCompile_IsInterac...Irit Katriel2024-09-161-8/+3
* gh-124022: Fix bug where class docstring is removed in interactive mode (#124...Irit Katriel2024-09-131-2/+2
* gh-124013: remove _PyCompile_IsTopLevelAwait (#124014)Irit Katriel2024-09-121-9/+0
* gh-123881: make compiler add the .generic_base base class without constructin...Irit Katriel2024-09-101-8/+0
* gh-121404: split compile.c into compile.c and codegen.c (#123651)Irit Katriel2024-09-091-6642/+383
* gh-121404: enforce that codegen doesn't access compiler, and compiler doesn't...Irit Katriel2024-09-021-85/+129
* gh-123553: Fix compile warning in `compile.c` (#123578)sobolevn2024-09-011-0/+2
* gh-123553: Fix compiler warning in `Python/compile.c` (#123554)Kirill Podoprigora2024-09-011-0/+2
* gh-121404: rearrange code in compile.c so that codegen functions come first a...Irit Katriel2024-08-301-1033/+1071
* gh-123142: fix too wide source location of GET_ITER/GET_AITER (#123420)Irit Katriel2024-08-281-8/+7
* gh-121404: split compiler_nameop into a codegen part and a compiler part (#12...Irit Katriel2024-08-271-89/+101
* gh-121404: compiler_visit_* --> codegen_visit_* (#123382)Irit Katriel2024-08-271-61/+49
* gh-121404: more compiler_* -> codegen_*, class_body and comprehensions (#123262)Irit Katriel2024-08-231-59/+82
* gh-121404: compiler_annassign --> codegen_annassign (#123245)Irit Katriel2024-08-231-63/+100
* gh-121404: remove redundant c_nestlevel. more compiler abstractions. more mac...Irit Katriel2024-08-221-118/+111
* gh-123142: Fix too wide source locations in tracebacks of exceptions from bro...Irit Katriel2024-08-211-2/+3
* gh-121404: split fblock handling into compiler_* and codegen_* parts (#123199)Irit Katriel2024-08-211-15/+24
* gh-123048: Fix missing source location in pattern matching code (#123167)Irit Katriel2024-08-201-1/+1
* gh-121404: rename functions to use codegen_* prefix. Use macros more consiste...Irit Katriel2024-08-191-349/+303
* gh-121404: pass metadata to compiler_enter_scope (optionally) so that codegen...Irit Katriel2024-08-191-58/+82
* gh-121404: rename compiler_addop* to codegen_addop*, and replace direct usage...Irit Katriel2024-08-161-96/+102
* gh-121404: split compiler's push/pop_inlined_comprehension_state into codegen...Irit Katriel2024-08-151-63/+102
* gh-122985: add SYMBOL_TO_SCOPE macro in symtable (#122986)Irit Katriel2024-08-141-7/+4
* GH-122821: Simplify compilation of while statements to ensure consistency of ...Mark Shannon2024-08-131-3/+1
* gh-122595: Add more error checks in the compiler (GH-122596)Serhiy Storchaka2024-08-061-22/+56
* gh-122445: populate only modified fields in __static_attributes__ (#122446)Irit Katriel2024-08-021-7/+11
* gh-119180: Add evaluate functions for type params and type aliases (#122212)Jelle Zijlstra2024-07-271-5/+8
* gh-122245: move checks for writes and shadowing of __debug__ to symtable (#12...Irit Katriel2024-07-261-76/+0
* GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164)Mark Shannon2024-07-251-58/+5
* gh-121404: extract compiler_lookup_arg out of compiler_make_closure (#122181)Irit Katriel2024-07-241-41/+49
* gh-121637: Syntax error for optimized-away incorrect await (#121656)Jelle Zijlstra2024-07-221-23/+14
* gh-121404: move calculation of module start location from compiler_body up to...Irit Katriel2024-07-221-20/+28
* gh-121657: Display correct error message for yield from outside of a function...Gregor2024-07-131-1/+1
* gh-121554: remove unnecessary internal functions in compile.c (#121555)Irit Katriel2024-07-101-48/+0
* gh-121404: remove some accesses to compiler internals from codegen functions ...Irit Katriel2024-07-101-101/+120
* gh-121547: deduplicate the code of const_cache update functions (#121548)Irit Katriel2024-07-101-25/+22
* gh-121404: remove direct accesses to u_private from codegen functions (#121500)Irit Katriel2024-07-081-27/+42
* gh-121272: move async for/with validation from compiler to symtable (#121361)Irit Katriel2024-07-041-13/+0
* gh-121272: set ste_coroutine during symtable construction (#121297)Irit Katriel2024-07-031-3/+3
* gh-121272: move __future__ import validation from compiler to symtable (#121273)Irit Katriel2024-07-021-16/+0
* gh-121040: Use __attribute__((fallthrough)) (#121044)Victor Stinner2024-06-271-2/+2
* Fixes loop variables to be the same types as their limit (GH-120958)Steve Dower2024-06-241-1/+1
* gh-113993: Allow interned strings to be mortal, and fix related issues (GH-12...Petr Viktorin2024-06-211-2/+1
* gh-98442: fix locations of with statement's cleanup instructions (#120763)Irit Katriel2024-06-201-1/+3
* gh-120733: rename internal compiler functions according to naming convention ...Irit Katriel2024-06-191-30/+23
* gh-120722: Set position on RETURN_VALUE in lambda (#120724)Jelle Zijlstra2024-06-191-1/+1
* GH-120507: Lower the `BEFORE_WITH` and `BEFORE_ASYNC_WITH` instructions. (#12...Mark Shannon2024-06-181-3/+15