History for Python/compile.c - python/cpython · GitHub

github.com

Tin mới

gh-156459: Fix cleanup on error in compiler_set_qualname (#156462)

gh-156459: Fix cleanup on error in compiler_set_qualname (#156462)

gh-156466: Fix additional compiler scope cleanup errors (#156547)

gh-156466: Fix additional compiler scope cleanup errors (#156547)

gh-153252: Fix error handling in `_PyCompile_CodeGen` (#153253)

gh-153252: Fix error handling in `_PyCompile_CodeGen` (#153253)

gh-151763: Fix OOM-0013 crash when the parser or compiler fails to allocate (#151968)

gh-151763: Fix OOM-0013 crash when the parser or compiler fails to allocate (#151968)

gh-151112: Fix crash in `compiler_mod()` when entering the current compilation unit fails (#151234)

gh-151112: Fix crash in `compiler_mod()` when entering the current compilation unit fails (#151234)

gh-148973: fix segfault on mismatch between consts size and oparg in compiler (#148974)

gh-148973: fix segfault on mismatch between consts size and oparg in compiler (#148974)

gh-137814: Fix `__qualname__` of `__annotate__` (#137842)

gh-137814: Fix `__qualname__` of `__annotate__` (#137842)

gh-146442: Fix various bugs in compiler pipeline (#146443)

gh-146442: Fix various bugs in compiler pipeline (#146443)

GH-145247: Use _PyTuple_FromPair in Parser and Python (#145842)

GH-145247: Use _PyTuple_FromPair in Parser and Python (#145842)

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

GH-143493: Conform to spec for generator expressions while supporting virtual iterators (GH-143569)

GH-143493: Conform to spec for generator expressions while supporting virtual iterators (GH-143569)

Fix dunder name typo in compiler code comment (#143374)

Fix dunder name typo in compiler code comment (#143374)

gh-135801: Add the module parameter to compile() etc (GH-139652)

gh-135801: Add the module parameter to compile() etc (GH-139652)

gh-131927: Do not emit PEP 765 warnings in ast.parse() (GH-139642)

gh-131927: Do not emit PEP 765 warnings in ast.parse() (GH-139642)

gh-139640: Fix swallowing syntax warnings in different modules (GH-139755)

gh-139640: Fix swallowing syntax warnings in different modules (GH-139755)

gh-126835: Rename `ast_opt.c` to `ast_preprocess.c` and related stuff after moving const folding to the peephole optimizier (#131830)

gh-126835: Rename `ast_opt.c` to `ast_preprocess.c` and related stuff after moving const folding to the peephole optimizier (#131830)

gh-130907: Treat all module-level annotations as conditional (#131550)

gh-130907: Treat all module-level annotations as conditional (#131550)

gh-130881: Handle conditionally defined annotations (#130935)

gh-130881: Handle conditionally defined annotations (#130935)

gh-130080: implement PEP 765 (#130087)

gh-130080: implement PEP 765 (#130087)

GH-131238: More refactoring of core header files (GH-131351)

GH-131238: More refactoring of core header files (GH-131351)

gh-131238: Add explicit includes to pycore headers (#131257)

gh-131238: Add explicit includes to pycore headers (#131257)

Postpone <stdbool.h> inclusion after Python.h (#130641)

Postpone <stdbool.h> inclusion after Python.h (#130641)

gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475)

gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475)

gh-127274: Defer nested methods (#128012)

gh-127274: Defer nested methods (#128012)

gh-120017: use 'do-while(0)' in some `{codegen,compile}.c` multi-line macros (#120018)

gh-126238: Fix possible null pointer dereference of freevars in _PyCompile_LookupArg (#126239)

gh-126072: do not add `None` to `co_consts` if there is no docstring (GH-126101)

gh-121404: typo fix in compile.c: MATADATA -> METADATA (#125101)

gh-124442: make `__static_attributes__` deterministic by sorting (#124492)

gh-123969: refactor _PyErr_RaiseSyntaxError and _PyErr_EmitSyntaxWarning out of compiler (#123972)

gh-124058: remove _PyCompile_IsNestedScope, roll it into _PyCompile_IsInteractive (#124061)

gh-124022: Fix bug where class docstring is removed in interactive mode (#124023)

gh-124013: remove _PyCompile_IsTopLevelAwait (#124014)

gh-123881: make compiler add the .generic_base base class without constructing AST nodes (#123883)

gh-121404: split compile.c into compile.c and codegen.c (#123651)