You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
Port over some recent decompyle3 3.8 fixes
This commit is contained in:
@@ -66,6 +66,9 @@ def customize_for_version38(self, version):
|
||||
(1, "c_suite_stmts_opt"),
|
||||
(-2, "c_suite_stmts_opt"),
|
||||
),
|
||||
# Python 3.8 reverses the order of keys and items
|
||||
# from all prior versions of Python.
|
||||
"dict_comp_body": ("%c: %c", (0, "expr"), (1, "expr"),),
|
||||
"except_cond1a": ("%|except %c:\n", (1, "expr"),),
|
||||
"except_cond_as": (
|
||||
"%|except %c as %c:\n",
|
||||
|
Reference in New Issue
Block a user