17
0

Accepting request 1111939 from devel:languages:python

- 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/request/show/1111939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bytecode?expand=0&rev=8
This commit is contained in:
2023-09-20 11:26:40 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:386378d9025d68ddb144870ae74330a492717b11b8c9164c4034e88add808f0c
size 94808

3
bytecode-0.15.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0908a8348cabf366b5c1865daabcdc0d650cb0cbdeb1750cc90564852f81945c
size 97631

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Sep 18 10:14:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
@@ -25,7 +42,7 @@ Thu Dec 15 22:44:00 UTC 2022 - Ben Greiner <code@bnavigator.de>
-------------------------------------------------------------------
Fri Dec 9 17:16:11 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 +105,5 @@ Tue Aug 31 11:04:29 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.c
-------------------------------------------------------------------
Thu Apr 9 11:29:55 UTC 2020 - pgajdos@suse.com
- initial version 0.11.0, required by python-enaml
- initial version 0.11.0, required by python-enaml

View File

@@ -17,7 +17,7 @@
Name: python-bytecode
Version: 0.14.2
Version: 0.15.0
Release: 0
Summary: Python module to generate and modify bytecode
License: MIT