| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-02-28 | [3.11] gh-116034: fix location info on the error of a failed assertion (#116052) | Irit Katriel | -0/+1 | |
| 2023-06-09 | [3.11] gh-105375: Improve error handling in compiler_enter_scope() (#105494) ↵ | Erlend E. Aasland | -1/+5 | |
| (#105582) (cherry picked from commit 6c832ddcf28187f86100c790afb16a0223d945d0) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
| 2023-06-05 | [3.11] gh-105164: Detect annotations inside match blocks (GH-105177). (#105314) | Jelle Zijlstra | -0/+9 | |
| (cherry picked from commit 69d1245685cf95ddc678633e978a56673da64865) | ||||
| 2023-05-19 | [3.11] gh-104615: don't make unsafe swaps in apply_static_swaps (GH-104620). ↵ | Carl Meyer | -0/+20 | |
| (#104636) (cherry picked from commit 0589c6a4d3d822cace42050198cb9a5e99c879ad) | ||||
| 2023-04-28 | [3.11] GH-103971: Fix incorrect locations for code following case blocks | Tian Gao | -0/+2 | |
| 2023-04-25 | [3.11] gh-101517: fix line number propagation in code generated for except* ↵ | Irit Katriel | -14/+24 | |
| (#103550) (#103816) Manual backport of https://github.com/python/cpython/pull/103550. <!-- gh-issue-number: gh-101517 --> * Issue: gh-101517 <!-- /gh-issue-number --> --------- Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
| 2023-01-31 | [3.11] gh-101400: Fix incorrect lineno in exception message on contin… ↵ | Dong-hee Na | -0/+16 | |
| (gh-101447) | ||||
| 2022-09-20 | [3.11] GH-95921: Fix positions for some chained comparisons (GH-96968) ↵ | Brandt Bucher | -0/+1 | |
| (GH-96973) (cherry picked from commit dfc73b57247aac575c83055d960c03bdc28b51fd) Automerge-Triggered-By: GH:brandtbucher | ||||
| 2022-07-22 | [3.11] GH-94036: Fix more attribute location quirks (GH-95028) (GH-95156) | Brandt Bucher | -20/+23 | |
| (cherry picked from commit 900bfc53cb133e8bc2b122362ec04256f623d5b0) | ||||
| 2022-07-22 | [3.11] GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) ↵ | Brandt Bucher | -3/+3 | |
| (GH-95143) (cherry picked from commit e402b26b7fb953a2f0c17a0044bb6d6cbd726e54) | ||||
| 2022-07-20 | [3.11] GH-91409: Don't overwrite valid locations with NOP locations ↵ | Brandt Bucher | -1/+4 | |
| (GH-95067) (GH-95068) (cherry picked from commit 742d4614e1a645d765dbf76c19bd9a818239b1cb) | ||||
| 2022-07-20 | GH-94851: fix immortal objects refcounting in compiler (gh-95040) | Miss Islington (bot) | -1/+1 | |
| (cherry picked from commit 74761548862eb5a324c23d86a6233d884f386f2e) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | ||||
| 2022-07-09 | [3.11] GH-94694: Fix column offsets for multi-line method lookups (GH-94721) | Brandt Bucher | -2/+9 | |
| (cherry picked from commit 264b3ddfd561d97204ffb30be6a7d1fb0555e560) | ||||
| 2022-07-07 | [3.11] gh-92228: disable the compiler's 'small exit block inlining' ↵ | Christian Heimes | -0/+14 | |
| optimization for blocks that have a line number (GH-94592) (GH-94643) Inlining of code that corresponds to source code lines, can make it hard to distinguish later between code which is only reachable from except handlers, and that which is reachable in normal control flow. This caused problems with the debugger's jump feature. This PR turns off the inlining optimisation for code which has line numbers. We still inline things like the implicit "return None".. (cherry picked from commit bde06e1b8381f140b296a397ddd1deb1c784ff8e) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | ||||
| 2022-07-05 | [3.11] gh-94485: Set line number of module's RESUME instruction to 0 as ↵ | Łukasz Langa | -1/+4 | |
| specified by PEP 626 (GH-94552) (GH-94562) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Mark Shannon <mark@hotpy.org> (cherry picked from commit 324d01944d16868b07df9e8eef6987766a31a36d) | ||||
| 2022-06-30 | GH-94329: Don't raise on excessive stack consumption (GH-94421) (GH-94446) | Miss Islington (bot) | -6/+1 | |
| (cherry picked from commit b152bf448b321e3a4c0a7280e0b608840f5ac661) | ||||
| 2022-06-30 | gh-94332: make it safe to call assemble_free when assemble_init has not been ↵ | Irit Katriel | -0/+1 | |
| called (GH-94389) (GH-94442) (cherry picked from commit be82d26570343dafc8a89be5a1a0e2f58d51a904) | ||||
| 2022-06-16 | [3.11] GH-93662: Make sure that column offsets are correct in multi-line ↵ | Irit Katriel | -4/+16 | |
| method calls. (GH-93673) (#93895) Co-authored-by: Mark Shannon <mark@hotpy.org> | ||||
| 2022-05-23 | gh-93061: Mark as artificial: backwards jump after async for (GH-93062) ↵ | Miss Islington (bot) | -0/+2 | |
| (GH-93110) (cherry picked from commit a458be3263b4cb92f3fde726461e8ef44b2a4a9d) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | ||||
| 2022-05-10 | gh-92619: Fix bug where the compiler duplicates exit blocks unnecessarily ↵ | Miss Islington (bot) | -1/+9 | |
| (GH-92620) (GH-92621) (cherry picked from commit 7c6b7ade8df35355484d3944779fe35dcc560aab) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | ||||
| 2022-04-27 | gh-91869: Fix tracing of specialized instructions with extended args (GH-91945) | Dennis Sweeney | -3/+4 | |
| 2022-04-26 | gh-91719: Add pycore_opcode.h internal header file (#91906) | Victor Stinner | -5/+6 | |
| Move the following API from Include/opcode.h (public C API) to a new Include/internal/pycore_opcode.h header file (internal C API): * EXTRA_CASES * _PyOpcode_Caches * _PyOpcode_Deopt * _PyOpcode_Jump * _PyOpcode_OpName * _PyOpcode_RelativeJump | ||||
| 2022-04-21 | GH-88116: Use a compact format to represent end line and column offsets. ↵ | Mark Shannon | -163/+144 | |
| (GH-91666) * Stores all location info in linetable to conform to PEP 626. * Remove column table from code objects. * Remove end-line table from code objects. * Document new location table format | ||||
| 2022-04-19 | bpo-46712: share more global strings in deepfreeze (gh-32152) | Kumar Aditya | -0/+3 | |
| (for gh-90868) | ||||
| 2022-04-16 | Fix an out of date comment in compile.c (GH-91615) | Irit Katriel | -1/+2 | |
| 2022-04-15 | gh-91276: Make JUMP_IF_TRUE_OR_POP/JUMP_IF_FALSE_OR_POP relative (GH-32215) | Irit Katriel | -0/+15 | |
| 2022-04-13 | Fill holes in internal compiler structs (#91458) | L. A. F. Pereira | -18/+18 | |
| 2022-04-11 | bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400) | Irit Katriel | -17/+74 | |
| 2022-04-05 | bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221) | Irit Katriel | -20/+29 | |
| 2022-04-05 | bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309) | Irit Katriel | -7/+21 | |
| 2022-04-01 | bpo-47172: Compiler enhancements (GH-32200) | Irit Katriel | -36/+41 | |
| * Make virtual opcodes negative. * Make is_jump detect only actual jumps. * Use is_block_push for the exception block setup opcodes. | ||||
| 2022-04-01 | bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231) | Irit Katriel | -4/+6 | |
| 2022-03-31 | bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵ | Irit Katriel | -68/+88 | |
| (GH-32115) | ||||
| 2022-03-26 | bpo-43224: Implement PEP 646 grammar changes (GH-31018) | Matthew Rahtz | -2/+12 | |
| Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
| 2022-03-21 | bpo-46841: Quicken code in-place (GH-31888) | Brandt Bucher | -4/+4 | |
| * Moves the bytecode to the end of the corresponding PyCodeObject, and quickens it in-place. * Removes the almost-always-unused co_varnames, co_freevars, and co_cellvars member caches * _PyOpcode_Deopt is a new mapping from all opcodes to their un-quickened forms. * _PyOpcode_InlineCacheEntries is renamed to _PyOpcode_Caches * _Py_IncrementCountAndMaybeQuicken is renamed to _PyCode_Warmup * _Py_Quicken is renamed to _PyCode_Quicken * _co_quickened is renamed to _co_code_adaptive (and is now a read-only memoryview). * Do not emit unused nonzero opargs anymore in the compiler. | ||||
| 2022-03-17 | Use low bit of LOAD_GLOBAL's oparg to indicate whether it should push an ↵ | Mark Shannon | -2/+13 | |
| additional NULL. (GH-31933) | ||||
| 2022-03-04 | bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664) | Brandt Bucher | -6/+6 | |
| 2022-03-02 | bpo-46831: Update __build_class__ comment (#31522) | Shantanu | -3/+2 | |
| Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
| 2022-03-01 | compiler: Merge except_table and cnotab (GH-31614) | Inada Naoki | -0/+6 | |
| 2022-02-28 | bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575) | Mark Shannon | -2/+2 | |
| 2022-02-25 | bpo-46808: remove NEXT_BLOCK() from compile.c (GH-31448) | Irit Katriel | -63/+72 | |
| 2022-02-25 | bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) | Brandt Bucher | -11/+47 | |
| 2022-02-22 | bpo-46765: Replace Locally Cached Strings with Statically Initialized ↵ | Eric Snow | -31/+7 | |
| Objects (gh-31366) https://bugs.python.org/issue46765 | ||||
| 2022-02-21 | bpo-46329: Streamline calling sequence a bit. (GH-31465) | Mark Shannon | -16/+7 | |
| * Move handling of bound-methods to PRECALL. * Remove call_shape.postcall_shrink * Remove call_shape.callable * Remove call_shape.callable. Change CALL oparg to match PRECALL oparg. * Move KW_NAMES before PRECALL. * Update opcode docs in dis.rst | ||||
| 2022-02-18 | bpo-46329: Change calling sequence (again) (GH-31373) | Mark Shannon | -15/+17 | |
| * Change calling sequence: Add PUSH_NULL. Merge PRECALL_FUNCTION and PRECALL_METHOD into PRECALL. | ||||
| 2022-02-15 | bpo-46724: Use `JUMP_ABSOLUTE` for all backward jumps. (GH-31326) | Mark Shannon | -0/+5 | |
| * Make sure all backward jumps use JUMP_ABSOLUTE. * Add news. * Fix up news item. * Make test use consistent style. | ||||
| 2022-02-14 | bpo-46541: Discover the global strings. (gh-31346) | Eric Snow | -0/+7 | |
| Instead of manually enumerating the global strings in generate_global_objects.py, we extrapolate the list from usage of _Py_ID() and _Py_STR() in the source files. This is partly inspired by gh-31261. https://bugs.python.org/issue46541 | ||||
| 2022-02-14 | Remove unnecessary basic block from comprehensions (GH-31263) | Brandt Bucher | -6/+3 | |
| 2022-02-09 | bpo-46528: Attempt SWAPs at compile-time (GH-30970) | Brandt Bucher | -0/+67 | |
| 2022-02-09 | bpo-46528: Check PyMem_Malloc for NULL (GH-30998) | Brandt Bucher | -8/+15 | |
