15
0
Commit Graph

3 Commits

Author SHA256 Message Date
0c6cecc243 Accepting request 932236 from home:glaubitz:branches:devel:languages:python
- Update to 0.13.0
  * Add support for Python 3.10 new encoding of line number. This support is
    minimal in the sense that we still systematically assign a line number
    while the new format allow bytecode with absolutely no line number. PR #72
  * Fix handling of RERAISE (introduced in 3.9) when creating a ControlFlowGraph,
    previously it was not considered final. PR #72
  * Fix line table assembly in Python 3.10. PR #85

OBS-URL: https://build.opensuse.org/request/show/932236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bytecode?expand=0&rev=5
2021-11-21 11:00:54 +00:00
a3f8e4a7b6 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
2021-09-06 16:28:01 +00:00
Tomáš Chvátal
412a85c545 Accepting request 792718 from home:pgajdos:python
together with python-enaml

OBS-URL: https://build.opensuse.org/request/show/792718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bytecode?expand=0&rev=1
2020-04-09 12:47:05 +00:00