mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-23 05:00:07 +00:00
Get ready for release 3.8.0
This commit is contained in:
parent
32c4b84458
commit
4911d85237
11
NEWS.md
11
NEWS.md
@ -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
|
||||
================
|
||||
|
||||
|
@ -75,7 +75,7 @@ entry_points = {
|
||||
]
|
||||
}
|
||||
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 = "python-debugger@googlegroups.com"
|
||||
|
@ -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
|
@ -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
|
||||
|
@ -1,9 +0,0 @@
|
||||
# -*- shell-script -*-
|
||||
# Sets PYVERSIONS to be pyenv versions that
|
||||
# we can use in the python-2.4 branch.
|
||||
|
||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||
echo "This script should be *sourced* rather than run directly through bash"
|
||||
exit 1
|
||||
fi
|
||||
export PYVERSIONS='2.4.6 2.5.6 2.6.9'
|
@ -1,9 +0,0 @@
|
||||
# -*- shell-script -*-
|
||||
# Sets PYVERSIONS to be all pyenv the oldest versions we have.
|
||||
# These are not covered (yet) by uncompyle6, although
|
||||
# some programs do work here.
|
||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||
echo "This script should be *sourced* rather than run directly through bash"
|
||||
exit 1
|
||||
fi
|
||||
export PYVERSIONS='2.1.3 2.2.3 2.3.7'
|
@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||
echo "This script should be *sourced* rather than run directly through bash"
|
||||
exit 1
|
||||
fi
|
||||
export PYVERSIONS='3.7.10 3.8.10'
|
||||
export PYVERSIONS='3.7.11 3.8.12'
|
||||
|
@ -111,10 +111,9 @@ class Scanner(object):
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user