forked from pool/python-bytecode
Accepting request 915240 from home:glaubitz:branches:devel:languages:python
- Update to 0.12.0
* All calculations of stacksize now check for stack underflow to
avoid segfault at runtime PR #69
* Fix recursion limitations when compiling bytecode with numerous basic
blocks. PR #57
* Fix handling of line offsets. Issue #67, PR #71
* Forbid an :class:`Instr` to hold an EXTENDED_ARG op_code PR #65
* Forbid the use of :class:`ConcreteInstr` in :class:`Bytecode` and
:class:`ControlFlowGraph` PR #65
This is motivated by the extra complexity that handling possible EXTENDED_ARG
instruction in those representation would bring (stack computation, etc)
* Always remove EXTENDED_ARG when converting :class:`ConcreteBytecode` to
:class:`Bytecode` PR #65
* This is equivalent to say that the :class:`ConcreteBytecode` converted to
:class:`Bytecode` was generated by :meth:`ConcreteBytecode.from_code`
with extended_args=False
* :class:`Instr` now has a new method :meth:`Instr.pre_and_post_stack_effect`
for checking the prerequisite stack size of an operation PR #69
* :meth:`_compute_stack_size` now uses :meth:`Instr.pre_and_post_stack_effect`
to compute the stack size to reject code that will lead to runtime segfault
caused by stack underflow PR #69
OBS-URL: https://build.opensuse.org/request/show/915240
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bytecode?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6c7f73b7aa2d2c5470d80da2e8c15f4c43314a08e9f74bac7f34bc1a802f49ea
|
|
||||||
size 58791
|
|
||||||
3
bytecode-0.12.0.tar.gz
Normal file
3
bytecode-0.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a9549d79b276cb91f6fb8008bf563863a202757e36482ee411bd87622d5bb1bf
|
||||||
|
size 66152
|
||||||
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 31 11:04:29 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.12.0
|
||||||
|
* All calculations of stacksize now check for stack underflow to
|
||||||
|
avoid segfault at runtime PR #69
|
||||||
|
* Fix recursion limitations when compiling bytecode with numerous basic
|
||||||
|
blocks. PR #57
|
||||||
|
* Fix handling of line offsets. Issue #67, PR #71
|
||||||
|
* Forbid an :class:`Instr` to hold an EXTENDED_ARG op_code PR #65
|
||||||
|
* Forbid the use of :class:`ConcreteInstr` in :class:`Bytecode` and
|
||||||
|
:class:`ControlFlowGraph` PR #65
|
||||||
|
This is motivated by the extra complexity that handling possible EXTENDED_ARG
|
||||||
|
instruction in those representation would bring (stack computation, etc)
|
||||||
|
* Always remove EXTENDED_ARG when converting :class:`ConcreteBytecode` to
|
||||||
|
:class:`Bytecode` PR #65
|
||||||
|
* This is equivalent to say that the :class:`ConcreteBytecode` converted to
|
||||||
|
:class:`Bytecode` was generated by :meth:`ConcreteBytecode.from_code`
|
||||||
|
with extended_args=False
|
||||||
|
* :class:`Instr` now has a new method :meth:`Instr.pre_and_post_stack_effect`
|
||||||
|
for checking the prerequisite stack size of an operation PR #69
|
||||||
|
* :meth:`_compute_stack_size` now uses :meth:`Instr.pre_and_post_stack_effect`
|
||||||
|
to compute the stack size to reject code that will lead to runtime segfault
|
||||||
|
caused by stack underflow PR #69
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 9 11:29:55 UTC 2020 - pgajdos@suse.com
|
Thu Apr 9 11:29:55 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bytecode
|
# spec file for package python-bytecode
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-bytecode
|
Name: python-bytecode
|
||||||
Version: 0.11.0
|
Version: 0.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module to generate and modify bytecode
|
Summary: Python module to generate and modify bytecode
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|||||||
Reference in New Issue
Block a user