From ad6378204805980442333f39c0d9f7431a26488995b0317aa1c9b21b041ae2c5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 10 Sep 2025 09:11:29 +0000 Subject: [PATCH] Accepting request 1303448 from home:glaubitz:branches:devel:languages:python - 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 #170 OBS-URL: https://build.opensuse.org/request/show/1303448 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bytecode?expand=0&rev=27 --- bytecode-0.16.2.tar.gz | 3 --- bytecode-0.17.0.tar.gz | 3 +++ python-bytecode.changes | 20 ++++++++++++++++++++ python-bytecode.spec | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 bytecode-0.16.2.tar.gz create mode 100644 bytecode-0.17.0.tar.gz diff --git a/bytecode-0.16.2.tar.gz b/bytecode-0.16.2.tar.gz deleted file mode 100644 index 7ee09a2..0000000 --- a/bytecode-0.16.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f05020b6dc1f48cdadd946f7c3a03131ba0f312bd103767c5d75559de5c308f8 -size 103023 diff --git a/bytecode-0.17.0.tar.gz b/bytecode-0.17.0.tar.gz new file mode 100644 index 0000000..3dbd099 --- /dev/null +++ b/bytecode-0.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c37efa5bd158b1b873f530cceea2c645611d55bd2dc2a4758b09f185749b6fd +size 105863 diff --git a/python-bytecode.changes b/python-bytecode.changes index dec6d26..d7073c2 100644 --- a/python-bytecode.changes +++ b/python-bytecode.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Sep 10 06:59:32 UTC 2025 - John Paul Adrian Glaubitz + +- 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 #170 + ------------------------------------------------------------------- Tue May 6 10:22:56 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-bytecode.spec b/python-bytecode.spec index 4fad6c9..f999a61 100644 --- a/python-bytecode.spec +++ b/python-bytecode.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-bytecode -Version: 0.16.2 +Version: 0.17.0 Release: 0 Summary: Python module to generate and modify bytecode License: MIT