Skip to content

Commit b2756f1

Browse files
committed
Get ready for release 3.9.0
1 parent 41fa83e commit b2756f1

File tree

7 files changed

+23
-6
lines changed

7 files changed

+23
-6
lines changed

.github/workflows/osx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
# Until the next xdis release
26-
pip install git+https://github.com/rocky/python-xdis#egg=xdis
26+
# pip install git+https://github.com/rocky/python-xdis#egg=xdis
2727
pip install -e .
2828
pip install -r requirements-dev.txt
2929
- name: Test decompyle3

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
# Until the next xdis release
25-
pip install git+https://github.com/rocky/python-xdis#egg=xdis
25+
# pip install git+https://github.com/rocky/python-xdis#egg=xdis
2626
pip install -e .
2727
pip install -r requirements-dev.txt
2828
- name: Test decompyle3

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
# Until the next xdis release
26-
pip install git+https://github.com/rocky/python-xdis#egg=xdis
26+
# pip install git+https://github.com/rocky/python-xdis#egg=xdis
2727
pip install -e .
2828
pip install -r requirements-dev.txt
2929
- name: Test decompyle3

NEWS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
3.9.0
2+
=====
3+
4+
* Speed up processing long literal collections: dictionary, list, set; we can also handle about 5K of them now
5+
* Improve handling of async comprehensions: async "for"/"forelse", "async with"
6+
* Reorganize semantic actions so that n_actions are separate; likewise for comprehensions and generators
7+
* Improve 3.8 decompilation
8+
* Support decompiling code fragment of comprehensions
9+
* Correct various operator precendence, and show operator precedence in -T/--tree++
10+
* Correct PyPy decompilation, suport pyston-3.8-2.3.3
11+
* Reorganize parsing modules and classes, to support fragment deparsing
12+
* Add `BINARY_MATRIX_MULTPILY` in grammar
13+
* Add psuedo opcode: LOAD_ARG; `JUMP_BACK` -> `JUMP_LOOP`; `MAKE_FUNCTION_8` -> `MAKE_FUNCTION_CLOSURE`
14+
* Numerous bugs fixed, especially comprehension bugs
15+
* Code cleanup
16+
* Black format more files
17+
118
3.8.0
219
=====
320

__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
]
4949
}
5050
ftp_url = None
51-
install_requires = ["click", "spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.3,<6.1.0"]
51+
install_requires = ["click", "spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.4,<6.1.0"]
5252

5353
license = "GPL3"
5454
mailing_list = "[email protected]"

decompyle3/bin/decompile_code_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def main(code_format, show_asm, grammar, tree, tree_plus, outfile, files):
6666
"""Decompile all code objects of a certain format."""
6767

6868
version_tuple = sys.version_info[0:2]
69-
if not version_tuple in ((3, 7), (3, 8),):
69+
if version_tuple not in ((3, 7), (3, 8),):
7070
print(
7171
f"Note: {program} can decompile only bytecode from Python 3.10"
7272
f"""\n\tYou have version: {version_tuple_to_str()}."""

decompyle3/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# This file is suitable for sourcing inside bash as
1414
# well as importing into Python
1515
# fmt: off
16-
__version__="3.9.0a1" # noqa
16+
__version__="3.9.0" # noqa

0 commit comments

Comments
 (0)