Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441) | Carl Meyer | 2023-05-09 | 1 | -12/+21 |
| | | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | GH-103963: Make dis display names of args for intrinsics opcodes (#104029) | Juhi Chandalia | 2023-05-03 | 1 | -1/+40 |
| | |||||
* | GH-103804: Add test for dis.disco (#103901) | Juhi Chandalia | 2023-04-28 | 1 | -0/+7 |
| | |||||
* | GH-99944: Make dis display the value of oparg of KW_NAMES (#103856) | Juhi Chandalia | 2023-04-26 | 1 | -0/+24 |
| | | | | Co-authored-by: chilaxan <chilaxan@gmail.com> | ||||
* | GH-103804: Add test for dis.findlinestarts (#103806) | Juhi Chandalia | 2023-04-25 | 1 | -0/+8 |
| | |||||
* | gh-102114: Make dis print more concise tracebacks for syntax errors in str ↵ | chgnrdv | 2023-04-15 | 1 | -0/+7 |
| | | | | inputs (#102115) | ||||
* | GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython ↵ | Mark Shannon | 2023-04-12 | 1 | -14/+12 |
| | | | | | | | | | | (GH-103083) * The majority of the monitoring code is in instrumentation.c * The new instrumentation bytecodes are in bytecodes.c * legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs | ||||
* | GH-88691: Shrink the CALL caches (GH-103230) | Brandt Bucher | 2023-04-05 | 1 | -129/+129 |
| | |||||
* | GH-89987: Shrink the BINARY_SUBSCR caches (GH-103022) | Brandt Bucher | 2023-03-29 | 1 | -1/+1 |
| | |||||
* | gh-103046: Display current line correctly for `dis.disco()` with CACHE ↵ | gaogaotiantian | 2023-03-27 | 1 | -0/+29 |
| | | | | entries (#103047) | ||||
* | GH-100982: Break up COMPARE_AND_BRANCH (GH-102801) | Brandt Bucher | 2023-03-23 | 1 | -8/+8 |
| | |||||
* | gh-102778: Add sys.last_exc, deprecate sys.last_type, ↵ | Irit Katriel | 2023-03-18 | 1 | -1/+9 |
| | | | | sys.last_value,sys.last_traceback (#102779) | ||||
* | GH-90997: Shrink the LOAD_GLOBAL caches (#102569) | Brandt Bucher | 2023-03-11 | 1 | -146/+146 |
| | |||||
* | GH-87849: Simplify stack effect of SEND and specialize it for generators and ↵ | Mark Shannon | 2023-02-13 | 1 | -10/+15 |
| | | | | coroutines. (GH-101788) | ||||
* | gh-101632: Add the new RETURN_CONST opcode (#101633) | penguin_wwy | 2023-02-07 | 1 | -90/+65 |
| | |||||
* | GH-100762: Don't call `gen.throw()` in `gen.close()`, unless necessary. ↵ | Mark Shannon | 2023-01-24 | 1 | -2/+2 |
| | | | | | | (GH-101013) * Store exception stack depth in YIELD_VALUE's oparg and use it avoid expensive gen.throw() in gen.close() where possible. | ||||
* | gh-100712: make it possible to disable specialization (for debugging) (#100713) | Irit Katriel | 2023-01-19 | 1 | -1/+7 |
| | |||||
* | GH-100982: Add `COMPARE_AND_BRANCH` instruction (GH-100983) | Mark Shannon | 2023-01-16 | 1 | -4/+4 |
| | |||||
* | GH-100923: Embed jump mask in `COMPARE_OP` oparg (GH-100924) | Mark Shannon | 2023-01-11 | 1 | -105/+105 |
| | |||||
* | GH-99005: Add `CALL_INTRINSIC_1` instruction (GH-100771) | Mark Shannon | 2023-01-05 | 1 | -1/+1 |
| | | | | | | | | * Remove PRINT_EXPR instruction * Remove STOPITERATION_ERROR instruction * Remove IMPORT_STAR instruction | ||||
* | gh-99254: remove all unused consts from code objects (GH-99255) | Irit Katriel | 2022-11-11 | 1 | -11/+11 |
| | |||||
* | GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182) | Brandt Bucher | 2022-11-09 | 1 | -2/+2 |
| | |||||
* | GH-96793: Implement PEP 479 in bytecode. (GH-99006) | Mark Shannon | 2022-11-03 | 1 | -1/+3 |
| | | | | | * Handle converting StopIteration to RuntimeError in bytecode. * Add custom instruction for converting StopIteration into RuntimeError. | ||||
* | GH-98686: Quicken everything (GH-98687) | Brandt Bucher | 2022-11-02 | 1 | -12/+11 |
| | |||||
* | GH-96793: Change `FOR_ITER` to not pop the iterator on exhaustion. (GH-96801) | Mark Shannon | 2022-10-27 | 1 | -92/+96 |
| | | | | Change FOR_ITER to have the same stack effect regardless of whether it branches or not. Performance is unchanged as FOR_ITER (and specialized forms jump over the cleanup code). | ||||
* | gh-92886: make test_ast pass with -O (assertions off) (GH-98058) | Irit Katriel | 2022-10-07 | 1 | -1/+1 |
| | | | | | -O does not strip docstrings. Automerge-Triggered-By: GH:iritkatriel | ||||
* | gh-87092: reduce redundancy and repetition in compiler's optimization stage ↵ | Irit Katriel | 2022-09-13 | 1 | -7/+20 |
| | | | | (GH-96713) | ||||
* | gh-93554: Conditional jump opcodes only jump forward (GH-96318) | Irit Katriel | 2022-09-01 | 1 | -106/+100 |
| | |||||
* | GH-90997: Wrap yield from/await in a virtual try/except StopIteration (GH-96010) | Brandt Bucher | 2022-08-19 | 1 | -6/+11 |
| | |||||
* | GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) | Brandt Bucher | 2022-07-22 | 1 | -1/+1 |
| | |||||
* | gh-92228: disable the compiler's 'small exit block inlining' optimization ↵ | Irit Katriel | 2022-07-07 | 1 | -20/+7 |
| | | | | | | | for blocks that have a line number (GH-94592) 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". | ||||
* | gh-94485: Set line number of module's RESUME instruction to 0, as specified ↵ | Irit Katriel | 2022-07-05 | 1 | -9/+9 |
| | | | | | by PEP 626 (GH-94552) Co-authored-by: Mark Shannon <mark@hotpy.org> | ||||
* | gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241) | Irit Katriel | 2022-07-01 | 1 | -1/+1 |
| | |||||
* | GH-91432: Specialize FOR_ITER (GH-91713) | Dennis Sweeney | 2022-06-21 | 1 | -111/+111 |
| | | | | | * Adds FOR_ITER_LIST and FOR_ITER_RANGE specializations. * Adds _PyLong_AssignValue() internal function to avoid temporary boxing of ints. | ||||
* | GH-91389: Fix dis position information for CACHEs (GH-93663) | Brandt Bucher | 2022-06-16 | 1 | -2/+34 |
| | |||||
* | GH-93429: Merge `LOAD_METHOD` back into `LOAD_ATTR` (GH-93430) | Ken Jin | 2022-06-14 | 1 | -3/+3 |
| | |||||
* | GH-93621: reorder code in with/async-with exception exit path to reduce the ↵ | Irit Katriel | 2022-06-10 | 1 | -8/+159 |
| | | | | size of the exception table (GH-93622) | ||||
* | Shrink the LOAD_METHOD cache by one codeunit. (#93537) | Mark Shannon | 2022-06-07 | 1 | -1/+1 |
| | |||||
* | gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945) | Dong-hee Na | 2022-06-03 | 1 | -0/+21 |
| | |||||
* | gh-93356: Lay out exception handling code at end of code unit (GH-92769) | Irit Katriel | 2022-06-02 | 1 | -43/+42 |
| | |||||
* | gh-93143: Avoid NULL check in LOAD_FAST based on analysis in the compiler ↵ | Dennis Sweeney | 2022-05-31 | 1 | -2/+2 |
| | | | | (GH-93144) | ||||
* | gh-93223: More aggressive Jump-To-Jump elimination (GH-93229) | Dennis Sweeney | 2022-05-27 | 1 | -92/+91 |
| | |||||
* | GH-90690: Remove `PRECALL` instruction (GH-92925) | Mark Shannon | 2022-05-19 | 1 | -179/+152 |
| | |||||
* | gh-92619: Fix bug where the compiler duplicates exit blocks unnecessarily ↵ | Irit Katriel | 2022-05-10 | 1 | -15/+7 |
| | | | | (GH-92620) | ||||
* | gh-90997: Show cached inline values in `dis` output (#92360) | Brandt Bucher | 2022-05-06 | 1 | -0/+31 |
| | |||||
* | gh-91276: revert the increase of dis output width (GH-92126) | Irit Katriel | 2022-05-02 | 1 | -253/+265 |
| | |||||
* | GH-88116: Use a compact format to represent end line and column offsets. ↵ | Mark Shannon | 2022-04-21 | 1 | -18/+5 |
| | | | | | | | | | | | | (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 | ||||
* | gh-90997: bpo-46841: Disassembly of quickened code (GH-32099) | penguin_wwy | 2022-04-19 | 1 | -1/+140 |
| | |||||
* | gh-91276: make space for longer opcodes in dis output (GH-91444) | Irit Katriel | 2022-04-12 | 1 | -227/+215 |
| | |||||
* | bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400) | Irit Katriel | 2022-04-11 | 1 | -10/+18 |
| |