rocky
e5d82f7613
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-25 08:05:28 -04:00
rocky
ee4d166e71
Merge branch 'master' into python-3.3-to-3.5
2022-04-25 07:44:10 -04:00
rocky
8cdf741b62
Bugs in long-literal handlin
...
Move n_dict to n_actions and special case n_const_list.
Generalize build_collection out of 3.7+ and into all Pythons
2022-04-24 17:38:35 -04:00
rocky
cdacc9770e
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-20 08:27:15 -04:00
rocky
aff0cd4baa
Merge branch 'master' into python-3.3-to-3.5
2022-04-20 08:20:50 -04:00
rocky
e2ff909603
Split off (semantic) nonterminal print actions
2022-04-19 16:42:48 -04:00
rocky
a3c1943806
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-17 12:22:47 -04:00
rocky
dd98eb8764
Merge branch 'master' into python-3.3-to-3.5
2022-04-17 12:21:53 -04:00
rocky
3662f3e8c6
Fold in some decompile changes
2022-04-17 12:20:03 -04:00
rocky
ae68f1823d
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-17 11:35:03 -04:00
rocky
6899f2bd96
Merge branch 'master' into python-3.3-to-3.5
2022-04-17 11:03:00 -04:00
rocky
f8ae674890
Split out comprehension code..
...
sync with decompile a little better
2022-04-17 10:52:56 -04:00
rocky
81e4169dea
Python 2.4 tolerance
2022-04-16 09:13:06 -04:00
rocky
3c2ed93b34
Python 2.4 seems broken
2022-04-15 08:57:55 -04:00
rocky
97f8d91e35
Merge branch 'master' into python-3.3-to-3.5
2022-04-15 08:42:40 -04:00
rocky
04510ac2f8
lambda formatting in f-string
...
In a formatted string using "lambda', we should not add "\n".
For example in:
f'{(lambda x:x)("8")!r}'
Adding a "\n" after "lambda x: x" will give an error message:
SyntaxError: f-string expression part cannot include a backslash
2022-04-12 16:49:58 -04:00
rocky
a1fe069c8c
Handle walrus operator
...
Or rather set precedence on call_stmt and expr_stmt
Adjust pytest test_single_compile so it works now
2022-04-12 05:21:13 -04:00
rocky
9735453283
Small changes
...
test code for pysource and bump lastest testing Python versions
2022-04-01 03:11:59 -04:00
rocky
6e00a3bdbb
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-03-31 06:44:20 -04:00
rocky
f89a3e8fa1
Remove some 3.6ish type annotations
2022-03-04 05:16:12 -05:00
rocky
2efe2b5b47
WIP
2022-03-04 05:07:31 -05:00
rocky
76f7bae0a6
Merge branch 'master' into python-3.3-to-3.5
2022-03-04 04:48:50 -05:00
rocky
d366248b47
Some small variable-name changes
2022-03-04 04:47:38 -05:00
rocky
ce5207333f
Remove TABLE_R0 - it hasn't been used in a while
2022-02-27 10:18:57 -05:00
rocky
f2a70a2758
Sync with decompyle3 for async "for"
...
More work is needed though
2022-01-18 15:25:51 -05:00
rocky
5b5fa310d9
Partial 3.8 async "for" fixes
2022-01-18 13:08:17 -05:00
rocky
a93bec73cf
merge hell
2022-01-14 08:04:33 -05:00
rocky
997942e235
Merge branch 'master' into python-3.3-to-3.5
2022-01-14 08:04:01 -05:00
rocky
88c0c03ee4
setcomprehension_walk3 -> closure_walk
2022-01-14 07:50:39 -05:00
rocky
15761acd0d
Revise options processing. Sync with decompyle3
...
We should now handle passing assembly options or functions and
subroutines more properly.
The "%P" and "%p" specifiers now allow lists of nonterminals like "%c"
and "%C" do.
version was bumped because top-level main parameter args change slightly.
2022-01-09 04:11:09 -05:00
rocky
3ab9272eb0
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-01-03 22:10:47 -05:00
rocky
7c4b82243b
Merge branch 'master' into python-3.3-to-3.5
2022-01-03 22:08:46 -05:00
rocky
deea74b6a8
ret_expr -> return_expr
...
This matches Python's AST a little more closely
2022-01-03 21:56:07 -05:00
rocky
b5203a077d
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-01-01 22:43:35 -05:00
rocky
92c0534cd4
Merge branch 'master' into python-3.3-to-3.5
2022-01-01 22:42:02 -05:00
rocky
3d5b6f4654
return_lambda -> return_expr_lambda
...
Except those places in 2.6ish code where it is simple a fancy RETURN_VALUE
2022-01-01 21:45:51 -05:00
rocky
b3163d09e8
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-26 18:53:19 -05:00
rocky
b96e1df14b
Merge branch 'master' into python-3.3-to-3.5
2021-12-26 18:52:58 -05:00
rocky
3234673422
mklambda -> lambda_body matches Python AST better
...
Note: we can't use "lambda" since that is a reserved word
2021-12-26 18:48:51 -05:00
rocky
89829fbe4f
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-23 22:26:44 -05:00
rocky
040ed20b59
Sync with master
2021-12-23 16:47:46 -05:00
rocky
30aad42aae
Sync with other versions
2021-12-23 16:46:25 -05:00
rocky
f06bd69858
Sync with master
2021-12-23 16:44:53 -05:00
rocky
819524fbd0
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-23 16:23:19 -05:00
rocky
ef03e7151d
Add operator precedence to -T output
2021-12-23 16:20:58 -05:00
rocky
a3bc9bb32b
Add operator precedence to -T output
2021-12-23 16:11:25 -05:00
rocky
b3aaff0201
Sync pysource with decompyle3
2021-12-18 03:03:50 -05:00
rocky
fbd5cf5994
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-17 06:25:54 -05:00
rocky
16c900ff1d
Propagate show_asm debug option down to functions
2021-12-17 06:07:18 -05:00
rocky
47e615bbfc
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-03 03:08:22 -04:00