You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Get ready for release 3.9.0
This commit is contained in:
24
NEWS.md
24
NEWS.md
@@ -1,4 +1,26 @@
|
|||||||
3.8.0: 2020-10-29
|
3.9.0: 2022-12-22
|
||||||
|
=================
|
||||||
|
|
||||||
|
* deparse generator expressions for Python 3.0 .. 3.2
|
||||||
|
* Python 3.0 list comprehension.
|
||||||
|
* Fix Issues #310, #344, #377, #391, #409, #414
|
||||||
|
* Limited support for 3.8+ f-string "=" specifier
|
||||||
|
* Correct 2.5-7 relative import formatting
|
||||||
|
* Miscellaneous bug fixing
|
||||||
|
* remove \n in lambda
|
||||||
|
* Python 2.6 gramar cleanup
|
||||||
|
* Correct some Python 2.6 chain compare decompilation
|
||||||
|
* Ensure no parenthesis subscript slices
|
||||||
|
* Correct 2.x formatting "slice2" nonterminal
|
||||||
|
* Correct 3.7 imports
|
||||||
|
* Improve "async for" parsing
|
||||||
|
* Handle BUILD_MAP opcode
|
||||||
|
* match Python AT better
|
||||||
|
* Correct 3.7 positional args
|
||||||
|
* PyPy 3.7 and PyPy 3.8 support
|
||||||
|
* Miscellaneous linting, isorting, blacking
|
||||||
|
|
||||||
|
3.8.0: 2021-10-29
|
||||||
=================
|
=================
|
||||||
|
|
||||||
* Better handling of invalid bytecode magic
|
* Better handling of invalid bytecode magic
|
||||||
|
27
admin-tools/check-3.3-3.5-versions.sh
Normal file
27
admin-tools/check-3.3-3.5-versions.sh
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
owd=$(pwd)
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
|
if ! source ./pyenv-3.3-3.5-versions ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
if ! source ./setup-python-3.3.sh ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
for version in $PYVERSIONS; do
|
||||||
|
echo --- $version ---
|
||||||
|
if ! pyenv local $version ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
make clean && python setup.py develop
|
||||||
|
if ! make check ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
echo === $version ===
|
||||||
|
done
|
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
|||||||
echo "This script should be *sourced* rather than run directly through bash"
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
export PYVERSIONS='3.6.15 pypy3.6-7.3.1 3.7.16 pypy-3.7-3.9 pypy3.8-7.3.10 pyston-2.3.5 3.8.14'
|
export PYVERSIONS='3.6.15 pypy3.6-7.3.1 3.7.16 pypy3.7-7.3.9 pypy3.8-7.3.10 pyston-2.3.5 3.8.16'
|
||||||
|
@@ -7,5 +7,5 @@ PYTHON ?= python
|
|||||||
test check pytest:
|
test check pytest:
|
||||||
@PYTHON_VERSION=`$(PYTHON) -V 2>&1 | cut -d ' ' -f 2 | cut -d'.' -f1,2`; \
|
@PYTHON_VERSION=`$(PYTHON) -V 2>&1 | cut -d ' ' -f 2 | cut -d'.' -f1,2`; \
|
||||||
if [[ $$PYTHON_VERSION > 3.2 ]] || [[ $$PYTHON_VERSION == 2.7 ]] || [[ $$PYTHON_VERSION == 2.6 ]]; then \
|
if [[ $$PYTHON_VERSION > 3.2 ]] || [[ $$PYTHON_VERSION == 2.7 ]] || [[ $$PYTHON_VERSION == 2.6 ]]; then \
|
||||||
py.test; \
|
$(PYTHON) -m pytest .; \
|
||||||
fi
|
fi
|
||||||
|
@@ -14,4 +14,4 @@
|
|||||||
# This file is suitable for sourcing inside POSIX shell as
|
# This file is suitable for sourcing inside POSIX shell as
|
||||||
# well as importing into Python
|
# well as importing into Python
|
||||||
# fmt: off
|
# fmt: off
|
||||||
__version__="3.9.0a1" # noqa
|
__version__="3.9.0" # noqa
|
||||||
|
Reference in New Issue
Block a user