From 0b3dbdae7d14982ea9380fcfe8cf184b4f0c2239074c710fd6cfab51f859ddf0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 18 Sep 2023 10:14:57 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bytecode?expand=0&rev=14 --- bytecode-0.14.2.tar.gz | 3 --- bytecode-0.15.0.tar.gz | 3 +++ python-bytecode.changes | 22 ++++++++++++++++++++-- python-bytecode.spec | 2 +- 4 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 bytecode-0.14.2.tar.gz create mode 100644 bytecode-0.15.0.tar.gz diff --git a/bytecode-0.14.2.tar.gz b/bytecode-0.14.2.tar.gz deleted file mode 100644 index 3fda2e9..0000000 --- a/bytecode-0.14.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:386378d9025d68ddb144870ae74330a492717b11b8c9164c4034e88add808f0c -size 94808 diff --git a/bytecode-0.15.0.tar.gz b/bytecode-0.15.0.tar.gz new file mode 100644 index 0000000..3c68887 --- /dev/null +++ b/bytecode-0.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0908a8348cabf366b5c1865daabcdc0d650cb0cbdeb1750cc90564852f81945c +size 97631 diff --git a/python-bytecode.changes b/python-bytecode.changes index aa351a6..f0dacf8 100644 --- a/python-bytecode.changes +++ b/python-bytecode.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Sep 18 10:14:40 UTC 2023 - Dirk Müller + +- 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 + ------------------------------------------------------------------- Sat May 27 21:36:54 UTC 2023 - Dirk Müller @@ -25,7 +43,7 @@ Thu Dec 15 22:44:00 UTC 2022 - Ben Greiner ------------------------------------------------------------------- Fri Dec 9 17:16:11 UTC 2022 - Yogalakshmi Arunachalam -- Update to 0.14.0 +- Update to 0.14.0 * New features: Removed the peephole optimizer PR #107 Basically changes in Python 3.11 made it hard to port and the maintenance cost exceeded the perceived use. It could be re-added if there is a demand for it. @@ -88,5 +106,5 @@ Tue Aug 31 11:04:29 UTC 2021 - John Paul Adrian Glaubitz