Skip to content

Commit

Permalink
Get ready for release 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 30, 2021
1 parent 32c4b84 commit 93a218a
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 26 deletions.
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
3.8.0: 2020-10-29
=================

* Better handling of invalid bytecode magic
* Support running from 3.9 and 3.10 although we do not support those bytecodes
* Redo version comparisons using tuples instead of floats. This is needed for Python 3.10
* Split out into 3 branches so that the master branch can assume Python 3.6+ conventions, especially type annotations
* Source Fragment fixes
* Lambda-bug fixes #360
* Bug fixes

3.7.4: 2020-8-05
================

Expand Down
2 changes: 1 addition & 1 deletion __pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
]
}
ftp_url = None
install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.0, < 6.1.0"]
install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.2, < 6.1.0"]

license = "GPL3"
mailing_list = "[email protected]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ owd=$(pwd)
trap finish EXIT

cd $(dirname ${BASH_SOURCE[0]})
if ! source ./pyenv-older-versions ; then
if ! source ./pyenv-2.4-2.7-versions ; then
exit $?
fi
if ! source ./setup-python-2.4.sh ; then
Expand Down
2 changes: 1 addition & 1 deletion admin-tools/make-dist-2.4-2.7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ owd=$(pwd)
trap finish EXIT

cd $(dirname ${BASH_SOURCE[0]})
if ! source ./pyenv-older-versions ; then
if ! source ./pyenv-2.4-2.7-versions ; then
exit $?
fi
if ! source ./setup-python-2.4.sh ; then
Expand Down
9 changes: 0 additions & 9 deletions admin-tools/pyenv-older-versions

This file was deleted.

9 changes: 0 additions & 9 deletions admin-tools/pyenv-oldest-versions

This file was deleted.

7 changes: 3 additions & 4 deletions uncompyle6/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,9 @@ def __init__(self, version, show_asm=None, is_pypy=False):
self.is_pypy = is_pypy

if version[:2] in PYTHON_VERSIONS:
v_str = f"""opcode_{version_tuple_to_str(version, start=0, end=2, delimiter="")}"""
if is_pypy:
v_str = "opcode_%spypy" % ("".join([str(v) for v in version]))
else:
v_str = "opcode_%s" % ("".join([str(v) for v in version]))
v_str += "pypy"
exec("from xdis.opcodes import %s" % v_str)
exec("self.opc = %s" % v_str)
else:
Expand Down Expand Up @@ -544,7 +543,7 @@ def get_scanner(version, is_pypy=False, show_asm=None):

# Pick up appropriate scanner
if version[:2] in PYTHON_VERSIONS:
v_str = "".join([str(v) for v in version[:2]])
v_str = version_tuple_to_str(version, start=0, end=2, delimiter="")
try:
import importlib

Expand Down
2 changes: 1 addition & 1 deletion uncompyle6/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# This file is suitable for sourcing inside POSIX shell as
# well as importing into Python
# fmt: off
__version__="3.7.5.dev0" # noqa
__version__="3.8.0" # noqa

0 comments on commit 93a218a

Please sign in to comment.