Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-111354: simplify detection of RESUME after YIELD_VALUE at except-depth 1 ↵ | Irit Katriel | 2023-11-02 | 1 | -2/+11 |
| | | | | (#111459) | ||||
* | gh-107457: update dis documentation with changes in 3.12 (#108900) | Matthieu Dartiailh | 2023-10-17 | 1 | -16/+43 |
| | |||||
* | gh-108826: Document `dis` module CLI and rename `_test` function to `main` ↵ | Radislav Chugunov | 2023-10-10 | 1 | -0/+26 |
| | | | | | | | (#108827) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | GH-105848: Replace KW_NAMES + CALL with LOAD_CONST + CALL_KW (GH-109300) | Brandt Bucher | 2023-09-13 | 1 | -25/+33 |
| | |||||
* | Fix variable name in dis documentation example (GH-109343) | Oleksandr Kravets | 2023-09-13 | 1 | -1/+1 |
| | | | BINARY_SUBSCR example erroneously uses two different names `key` and `index` to refer to the same variable. STORE_SUBSCR and DELETE_SUBSCR use only `key` in the same context. Changing `index` to `key` for consistency. | ||||
* | gh-109319: deprecate dis.HAVE_ARGUMENT (#109320) | Irit Katriel | 2023-09-12 | 1 | -0/+2 |
| | |||||
* | gh-109256: allocate opcode IDs for internal opcodes in their own range (#109269) | Irit Katriel | 2023-09-12 | 1 | -2/+2 |
| | |||||
* | Docs: Resolve Sphinx warnings in dis.rst (#108476) | Erlend E. Aasland | 2023-08-25 | 1 | -9/+11 |
| | | | | | - Link to the code objects reference - Suppress link to deliberately undocumented builtins.__build_class__ - Suppress links for example methods | ||||
* | gh-107932: Fix dis module for bytecode that does not have an associated ↵ | Corvin | 2023-08-25 | 1 | -2/+13 |
| | | | | source line (GH-107988) | ||||
* | GH-105848: Simplify the arrangement of CALL's stack (GH-107788) | Brandt Bucher | 2023-08-09 | 1 | -1/+1 |
| | |||||
* | gh-107427: Update the description of UNPACK_SEQUENCE (gh-107429) | Dong-hee Na | 2023-07-30 | 1 | -2/+3 |
| | |||||
* | gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920) | Serhiy Storchaka | 2023-07-21 | 1 | -2/+2 |
| | |||||
* | gh-105481: Generate the opcode lists in dis from data extracted from ↵ | Irit Katriel | 2023-07-18 | 1 | -7/+21 |
| | | | | bytecodes.c (#106758) | ||||
* | GH-106008: Make implicit boolean conversions explicit (GH-106003) | Brandt Bucher | 2023-06-29 | 1 | -1/+22 |
| | |||||
* | gh-105775: Convert LOAD_CLOSURE to a pseudo-op (#106059) | hms | 2023-06-29 | 1 | -12/+11 |
| | | | | | | This enables super-instruction formation, removal of checks for uninitialized variables, and frees up an instruction. | ||||
* | gh-105481: remove HAS_ARG, HAS_CONST, IS_JUMP_OPCODE, IS_PSEUDO_OPCODE and ↵ | Irit Katriel | 2023-06-17 | 1 | -0/+6 |
| | | | | replace by their new versions (#105865) | ||||
* | gh-105678: document SET_FUNCTION_ATTRIBUTE (#105843) | Carl Meyer | 2023-06-16 | 1 | -9/+20 |
| | |||||
* | bpo-44530: Document the change in MAKE_FUNCTION behavior (#93189) | Alex Doe | 2023-06-16 | 1 | -2/+5 |
| | | | | | * bpo-44530: Document the change in MAKE_FUNCTION behavior Fixes dis module documentation for MAKE_FUNCTION due to https://github.com/python/cpython/commit/2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f (bpo-44530, released as part of 3.11) removes the qualified name at TOS | ||||
* | GH-77273: Better bytecodes for f-strings (GH-6132) | Mark Shannon | 2023-06-14 | 1 | -16/+37 |
| | |||||
* | gh-102676: Add more convenience properties to `dis.Instruction` (#103969) | Tomas R | 2023-06-11 | 1 | -0/+42 |
| | | | | | | | | Adds start_offset, cache_offset, end_offset, baseopcode, baseopname, jump_target and oparg to dis.Instruction. Also slightly improves the disassembly output by allowing opnames to overflow into the space reserved for opargs. | ||||
* | gh-103921: Document PEP 695 (#104642) | Jelle Zijlstra | 2023-05-26 | 1 | -20/+91 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | docs: fix wrong indentation causing rendering error in dis page (#104661) | Nyakku Shigure | 2023-05-19 | 1 | -2/+2 |
| | |||||
* | gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441) | Carl Meyer | 2023-05-09 | 1 | -0/+8 |
| | | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | GH-97950: Use new-style index directive ('builtin') (#104164) | Adam Turner | 2023-05-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | * Uncomment builtin removal in pairindextypes * Use new-style index directive ('builtin') - C API * Use new-style index directive ('builtin') - Extending * Use new-style index directive ('builtin') - Library * Use new-style index directive ('builtin') - Reference * Use new-style index directive ('builtin') - Tutorial | ||||
* | Various small fixes to dis docs (#103923) | Jelle Zijlstra | 2023-04-29 | 1 | -78/+79 |
| | | | | | | | | - Fix description of MAKE_CELL, which appeared to be inverted from the actual behavior - Fix stray ".:" (sphinx-contrib/sphinx-lint#63) - Fix inconsistent indentation - Add some missing code blocks - Slight style improvements | ||||
* | gh-87729: add LOAD_SUPER_ATTR instruction for faster super() (#103497) | Carl Meyer | 2023-04-24 | 1 | -0/+18 |
| | | | | | This speeds up `super()` (by around 85%, for a simple one-level `super().meth()` microbenchmark) by avoiding allocation of a new single-use `super()` object on each use. | ||||
* | GH-88691: Shrink the CALL caches (GH-103230) | Brandt Bucher | 2023-04-05 | 1 | -1/+1 |
| | |||||
* | GH-100982: Break up COMPARE_AND_BRANCH (GH-102801) | Brandt Bucher | 2023-03-23 | 1 | -9/+0 |
| | |||||
* | gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP (#102870) | Irit Katriel | 2023-03-22 | 1 | -24/+0 |
| | |||||
* | GH-90997: Shrink the LOAD_GLOBAL caches (#102569) | Brandt Bucher | 2023-03-11 | 1 | -3/+3 |
| | |||||
* | gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800) | Irit Katriel | 2023-02-14 | 1 | -11/+15 |
| | |||||
* | gh-101632: Add the new RETURN_CONST opcode (#101633) | penguin_wwy | 2023-02-07 | 1 | -0/+7 |
| | |||||
* | gh-101454: fix documentation for END_ASYNC_FOR (#101455) | Irit Katriel | 2023-02-01 | 1 | -4/+3 |
| | |||||
* | GH-100762: Don't call `gen.throw()` in `gen.close()`, unless necessary. ↵ | Mark Shannon | 2023-01-24 | 1 | -1/+4 |
| | | | | | | (GH-101013) * Store exception stack depth in YIELD_VALUE's oparg and use it avoid expensive gen.throw() in gen.close() where possible. | ||||
* | GH-100982: Add `COMPARE_AND_BRANCH` instruction (GH-100983) | Mark Shannon | 2023-01-16 | 1 | -0/+9 |
| | |||||
* | gh-96461: Improve docs for bytecode instructions (GH-96462) | Matthieu Dartiailh | 2023-01-12 | 1 | -123/+236 |
| | | | | | | | | | * Clarify the meaning of the oparg for CACHE and COPY opcode in dis doc * Use STACK to describe stack operation in analogy with a Python list * Remove (delta) from BEFORE_WITH since BEFORE_WITH does not take an argument * Fix the description of the stack impact of multiple opcodes | ||||
* | GH-99005: More intrinsics (GH-100774) | Mark Shannon | 2023-01-06 | 1 | -19/+3 |
| | | | * Remove UNARY_POSITIVE, LIST_TO_TUPLE and ASYNC_GEN_WRAP, replacing them with intrinsics. | ||||
* | GH-99005: Add `CALL_INTRINSIC_1` instruction (GH-100771) | Mark Shannon | 2023-01-05 | 1 | -23/+16 |
| | | | | | | | | * Remove PRINT_EXPR instruction * Remove STOPITERATION_ERROR instruction * Remove IMPORT_STAR instruction | ||||
* | GH-96793: Implement PEP 479 in bytecode. (GH-99006) | Mark Shannon | 2022-11-03 | 1 | -0/+9 |
| | | | | | * Handle converting StopIteration to RuntimeError in bytecode. * Add custom instruction for converting StopIteration into RuntimeError. | ||||
* | GH-96793: Change `FOR_ITER` to not pop the iterator on exhaustion. (GH-96801) | Mark Shannon | 2022-10-27 | 1 | -1/+12 |
| | | | | 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-97937: dis docs: add adaptive=False (#97939) | Jelle Zijlstra | 2022-10-25 | 1 | -13/+29 |
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> | ||||
* | gh-71316: Update dis documentation to include changes to jump arguments ↵ | Christopher Chianelli | 2022-10-07 | 1 | -0/+4 |
| | | | | (GH-95798) | ||||
* | Docs: Fix backtick errors found by sphinx-lint (#97998) | Hugo van Kemenade | 2022-10-07 | 1 | -1/+1 |
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | gh-93554: Conditional jump opcodes only jump forward (GH-96318) | Irit Katriel | 2022-09-01 | 1 | -36/+20 |
| | |||||
* | GH-90997: Wrap yield from/await in a virtual try/except StopIteration (GH-96010) | Brandt Bucher | 2022-08-19 | 1 | -3/+18 |
| | |||||
* | GH-90997: Document CACHEs (GH-95694) | Brandt Bucher | 2022-08-05 | 1 | -0/+18 |
| | |||||
* | no-issue: Fix typo of "thrid" instead of "third" in dis docs (gh-95510) | Alex Hedges | 2022-08-01 | 1 | -1/+1 |
| | |||||
* | Remove out of date reference to YIELD_FROM from docs. (#94966) | Mark Shannon | 2022-07-18 | 1 | -6/+0 |
| | |||||
* | gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241) | Irit Katriel | 2022-07-01 | 1 | -2/+80 |
| | |||||
* | gh-89038: [doc] update dis.findlinestarts documentation for changes related ↵ | Irit Katriel | 2022-06-30 | 1 | -4/+6 |
| | | | | to PEP-626 (GH-94247) |