Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.13] gh-114616: Improve docs regarding changes to caches representation in ↵ | Miss Islington (bot) | 2024-06-04 | 1 | -3/+4 |
| | | | | | | | | dis (GH-120033) (#120079) gh-114616: Improve docs regarding changes to caches representation in dis (GH-120033) (cherry picked from commit 770f3c1eadd3392c72fd55be47770234dd143a14) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | ||||
* | [3.13] docs: module page titles should not start with a link to themselves ↵ | Miss Islington (bot) | 2024-05-08 | 1 | -2/+2 |
| | | | | | | | | (GH-117099) (#118790) docs: module page titles should not start with a link to themselves (GH-117099) (cherry picked from commit bcb435ee8ff41b5ec5d879ee0b6651f146a66151) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | Fix several typos in documentation (GH-118625) | Xie Yanbo | 2024-05-07 | 1 | -1/+1 |
| | |||||
* | gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343) | Christopher Chianelli | 2024-03-28 | 1 | -1/+1 |
| | |||||
* | docs: use consistent .append() in dis.rst (#115434) | Ned Batchelder | 2024-02-15 | 1 | -4/+4 |
| | | | The STACK variable is described as like a Python list, so pushing to it should be done with .append() consistently throughout. | ||||
* | GH-112354: `END_FOR` instruction to only pop one value. (GH-114247) | Mark Shannon | 2024-01-24 | 1 | -2/+2 |
| | | | | * Compiler emits END_FOR; POP_TOP instead of END_FOR. To support tier 2 side exits in loops. | ||||
* | Docs: Fix typo in code snippet (GH-114421) | Kirill Podoprigora | 2024-01-22 | 1 | -1/+1 |
| | |||||
* | Document the `co_lines` method on code objects (#113682) | Alex Waygood | 2024-01-03 | 1 | -4/+5 |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | fix bullet-list in `LOAD_SUPER_ATTR` documentation on `dis` page (#113461) | denballakh | 2023-12-24 | 1 | -3/+4 |
| | |||||
* | gh-112962: in dis module, put cache information in the Instruction instead ↵ | Irit Katriel | 2023-12-13 | 1 | -3/+15 |
| | | | | of creating fake Instructions to represent it (#113016) | ||||
* | gh-101100: Improve documentation of code object attributes (#112781) | Alex Waygood | 2023-12-06 | 1 | -9/+10 |
| | |||||
* | gh-101100: Properly document frame object attributes (#112735) | Alex Waygood | 2023-12-05 | 1 | -2/+2 |
| | |||||
* | gh-112137: change dis output to display labels instead of offsets (#112138) | Irit Katriel | 2023-11-22 | 1 | -9/+27 |
| | |||||
* | gh-111354: Simplify _PyGen_yf by moving some of its work to the compiler and ↵ | Irit Katriel | 2023-11-03 | 1 | -1/+2 |
| | | | | frame state (#111648) | ||||
* | 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 |