58d50de9a2
- Update to 0.17.0 * Add support for Python 3.14 PR #166 Support for Python 3.14, comes with a number of changes reflecting changes in CPython bytecode itself: - introduced an enum for BINARY_OP argument which now supports subscribe. When disassembling the enum is always used, when creating bytecode from scratch integer values are coerced into the right enum member. - support BUILD_TEMPLATE, BUILD_INTERPOLATION, LOAD_SMALL_INT, LOAD_FAST_BORROW and LOAD_FAST_BORROW_LOAD_FAST_BORROW - LOAD_COMMON_CONSTANT, LOAD_SPECIAL whose argument is described using dedicated enums CommonConstant, SpecialMethod - CONVERT_VALUE (FORMAT_VALUE in Python < 3.13) now use the FormatValue enum. When disassembling the enum is always used, when creating bytecode from scratch integer values are coerced into the right enum member. * properly set the next_block attribute of the new block created by ControlFlowGraph.split_block. PR #170Dirk Mueller2025-09-10 09:11:29 +00:00
7629867e7e
Accepting request 1274910 from devel:languages:python
Ana Guerrero2025-05-06 14:44:11 +00:00
8ccbf078d7
- Update to 0.16.2 * fix ControlFlowGraph dead block detection by accounting for fall-through edges. PR #161Markéta Machová2025-05-06 11:50:02 +00:00
de907faf65
Accepting request 1242862 from devel:languages:python
Ana Guerrero2025-02-03 20:45:32 +00:00
e440c1fd34
- Update to 0.16.1 * Minor fixes following linter recommendations by @MatthieuDartiailh in #154 * build(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in #153 * Fix flag inference by @MatthieuDartiailh in #157Markéta Machová2025-02-03 14:54:05 +00:00
4d91dcd4a4
- Update to 0.16.0: * Fix the document for python3.12 by @colinxu2020 in #142 * fix: handle small try blocks by @P403n1x87 in #145 * Add support for Python 3.13 by @MatthieuDartiailh in #146Steve Kowalik2024-11-01 08:34:00 +00:00
df7028c045
- use modern python on sle15 - switch to PEP517 build
Dirk Mueller2024-08-14 15:03:57 +00:00
fc957fc880
Accepting request 1126231 from devel:languages:python
Ana Guerrero2023-11-15 20:08:25 +00:00
ffee2b8461
- update to 0.15.1: * Disallow creating an instruction targeting a pseudo/instrumented opcode PR #133 * Fixes encoding of 0 as a varint PR #132 * Correct spelling of "INTRINSIC" in several places; this affected some ops in Python 3.12. PR #131Dirk Mueller2023-11-14 15:47:42 +00:00
552c494005
As a consequence the argument is now a `tuple[bool, str] similarly LOAD_SUPER_ATTR which uses the 2 lowest bits as flag takes a tuple[bool, bool, str]` as argument
Dirk Mueller2023-09-18 10:15:25 +00:00
0b3dbdae7d
- update to 0.15.0: * Add support for Python 3.12 PR #122 * Support for Python 3.12, comes with a number of changes reflecting changes in CPython bytecode itself: * handle the ability of `LOAD_ATTR to replace LOAD_METHOD * As a consequence the argument is now a tuple[bool, str] * similarly LOAD_SUPER_ATTR which uses the 2 lowest bits as flag takes * a tuple[bool, bool, str] as argument * POP_JUMP_IF_* instructions are undirected in Python 3.12 * YIELD_VALUE now takes an argument * Support for CALL_INSTRINSIC_1/2` led to the addition of 2 new enums to represent the argument - Update to 0.14.0 - initial version 0.11.0, required by python-enaml
Dirk Mueller2023-09-18 10:14:57 +00:00
e1b0477268
- update to 0.14.2: * allow to convert a CFG, for which stack sizes have not been computed, to Bytecode even in the presence of mergeable TryBegin/TryEnd * remove spurious TryEnd leftover when going from CFG to Bytecode
Dirk Mueller2023-05-27 21:37:38 +00:00