rocky
3c2ed93b34
Python 2.4 seems broken
2022-04-15 08:57:55 -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
rocky
8094f3bb12
Remove PYTHON3
2021-11-03 03:00:43 -04:00
rocky
1bcd21a6f4
More version conversion bugs
2021-10-23 10:04:58 -04:00
rocky
536d45deb1
Another version bug
2021-10-23 10:01:53 -04:00
rocky
5b657ac7d8
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-10-23 08:42:32 -04:00
rocky
c68b74a9c6
new dis - Python compisons involving tuples
2021-10-15 23:39:59 -04:00
rocky
cfbb25df3d
Fix some small bugs
2021-07-08 05:40:43 -04:00
rocky
1a3bd3cabe
Merge branch 'master' into python-2.4
2020-09-05 06:02:41 -04:00
rocky
8eb4d6a576
Fix bit rot in fragments.py
...
build_ast() added a code argument
n_dict(): was out of sync with corresponding pysource routine
pysource.py: small doc typo
2020-09-04 19:30:48 -04:00
rocky
8879708da7
del_stmt -> delete to match Python AST better
2020-09-02 07:14:56 -04:00
rocky
71c17c4e53
Fragment api changed...
...
sync with pysource.
Simplify pysource a little
2020-08-23 19:27:52 -04:00
rocky
730b739907
Merge branch 'master' into python-2.4
2020-07-25 13:38:24 -04:00
rocky
024a81c053
Fix condition sense in except_handler.py reduction
2020-07-23 11:03:43 -04:00
rocky
c105edff47
Merge branch 'master' into python-2.4
2020-07-21 18:52:31 -04:00
rocky
a215ee2f00
Use "co_consts" in docstring detection.
...
Note: this is an upheaval because we need to pass "code" or at least
"code.co_consts" to the docstring detection routine
2020-07-21 10:31:07 -04:00
rocky
0f80c38530
Better doc string detection
...
A bug in 2.7 test_descr.py revealed a problem with the way we were
detecting docstrings.
__doc__ = DocDescr()
was getting confused with a docstring.
This program also reveals other bugs in 3.2+ but we'll deal with that
in another commit.
2020-07-19 20:31:50 -04:00
rocky
6c8b3bfbe9
Merge branch 'master' into python-2.4
2020-06-26 08:47:02 -04:00
rocky
11be90758f
Workaround bug detecting MAKE_FUNCTION docstrings
2020-06-26 07:17:31 -04:00