Skip to content

Commit

Permalink
release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Apr 15, 2018
1 parent c660da7 commit 5f1e8ec
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ dist
# generated by tox
.tox/
bytecode.egg-info/

.mypy_cache
.spyproject
2 changes: 1 addition & 1 deletion bytecode/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.6.0'
__version__ = '0.7.0'

__all__ = ['Label', 'Instr', 'SetLineno', 'Bytecode',
'ConcreteInstr', 'ConcreteBytecode',
Expand Down
23 changes: 19 additions & 4 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
ChangeLog
=========

Version 0.7
-----------
2018-04-15: Version 0.7.0
-------------------------

Nothing yet
New features:

- Add `compute_jumps_passes` optioanl argument to :meth:`Bytecode.to_code` and
to :meth:`Bytecode.to_concrete_bytecode` to control the number of passes
performed to compute jump targets. In theory the required number is only
bounded by the size of the code, but usually the algorithm converges quickly
(< 10 iterations).

Bugfixes:

- proper handling of `EXTENDED_ARG` without arguments PR #28:

`EXTENDED_ARG` are once again removed but their presence is recorded to avoid
having issues with offsets in jumps. Similarly when round tripping code
through :class:`ConcreteBytecode` the `EXTENDED_ARG` without args are
preserved while if going through :class:`Bytecode` they are removed.


2017-03-24: Version 0.6
2018-03-24: Version 0.6
-----------------------

* Add stack depth computation based on control flow graph analysis
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@

# General information about the project.
project = u'bytecode'
copyright = u'2016, Victor Stinner'
copyright = u'2016-2018, Victor Stinner'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
# The full version, including alpha/beta/rc tags.
version = release = '0.6'
version = release = '0.7.0'


# The language for content autogenerated by Sphinx. Refer to documentation
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# - git commit -a -m "post-release"
# - git push

VERSION = '0.6.0'
VERSION = '0.7.0'

DESCRIPTION = 'Python module to generate and modify bytecode'
CLASSIFIERS = [
Expand Down

0 comments on commit 5f1e8ec

Please sign in to comment.