Skip to content

Commit 93a218a

Browse files
committed
Get ready for release 3.8.0
1 parent 32c4b84 commit 93a218a

8 files changed

Lines changed: 18 additions & 26 deletions

File tree

NEWS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
3.8.0: 2020-10-29
2+
=================
3+
4+
* Better handling of invalid bytecode magic
5+
* Support running from 3.9 and 3.10 although we do not support those bytecodes
6+
* Redo version comparisons using tuples instead of floats. This is needed for Python 3.10
7+
* Split out into 3 branches so that the master branch can assume Python 3.6+ conventions, especially type annotations
8+
* Source Fragment fixes
9+
* Lambda-bug fixes #360
10+
* Bug fixes
11+
112
3.7.4: 2020-8-05
213
================
314

__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
]
7676
}
7777
ftp_url = None
78-
install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.0, < 6.1.0"]
78+
install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.2, < 6.1.0"]
7979

8080
license = "GPL3"
8181
mailing_list = "python-debugger@googlegroups.com"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ owd=$(pwd)
66
trap finish EXIT
77

88
cd $(dirname ${BASH_SOURCE[0]})
9-
if ! source ./pyenv-older-versions ; then
9+
if ! source ./pyenv-2.4-2.7-versions ; then
1010
exit $?
1111
fi
1212
if ! source ./setup-python-2.4.sh ; then

admin-tools/make-dist-2.4-2.7.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ owd=$(pwd)
99
trap finish EXIT
1010

1111
cd $(dirname ${BASH_SOURCE[0]})
12-
if ! source ./pyenv-older-versions ; then
12+
if ! source ./pyenv-2.4-2.7-versions ; then
1313
exit $?
1414
fi
1515
if ! source ./setup-python-2.4.sh ; then

admin-tools/pyenv-older-versions

Lines changed: 0 additions & 9 deletions
This file was deleted.

admin-tools/pyenv-oldest-versions

Lines changed: 0 additions & 9 deletions
This file was deleted.

uncompyle6/scanner.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,9 @@ def __init__(self, version, show_asm=None, is_pypy=False):
111111
self.is_pypy = is_pypy
112112

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

545544
# Pick up appropriate scanner
546545
if version[:2] in PYTHON_VERSIONS:
547-
v_str = "".join([str(v) for v in version[:2]])
546+
v_str = version_tuple_to_str(version, start=0, end=2, delimiter="")
548547
try:
549548
import importlib
550549

uncompyle6/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# This file is suitable for sourcing inside POSIX shell as
1515
# well as importing into Python
1616
# fmt: off
17-
__version__="3.7.5.dev0" # noqa
17+
__version__="3.8.0" # noqa

0 commit comments

Comments
 (0)