rocky
|
f527fdbdcd
|
Bump xdis version to handle 3.6 code optimization flags
|
2019-12-16 13:47:55 -05:00 |
|
rocky
|
d39169dbda
|
Add 3.7 async listcomp
|
2019-12-16 00:14:16 -05:00 |
|
rocky
|
996719688a
|
Merge branch 'master' of github.com:rocky/python-uncompyle6
|
2019-12-15 21:18:44 -05:00 |
|
rocky
|
af9f6b05fa
|
Add 3.7 "async for" in generator
|
2019-12-15 21:18:37 -05:00 |
|
rocky
|
39cbddccaf
|
Include test for recent bug
|
2019-12-15 11:13:57 -05:00 |
|
rocky
|
75b3aaa86d
|
Adminsitrivia: improve setup scripts
|
2019-12-15 10:56:29 -05:00 |
|
rocky
|
e93b70bcce
|
Fix Python 3.x pringing superclasses...
class Description: not class Description("Description").
Introduced in not catching LOAD_CONST->LOAD_STR change
|
2019-12-15 10:49:24 -05:00 |
|
rocky
|
0eaeb82d48
|
Sync a little with decompyle3
|
2019-12-15 08:07:02 -05:00 |
|
rocky
|
0ae9612c7c
|
Go over runtests.sh to make it more robust
|
2019-12-15 07:43:07 -05:00 |
|
rocky
|
09f232700e
|
Remove duplicate 3.8async rules
|
2019-12-14 21:32:00 -05:00 |
|
rocky
|
bfde66c5e1
|
Extend "and" reduction-rule test to 2.4
|
2019-12-14 19:49:26 -05:00 |
|
rocky
|
4773ca4e5b
|
Go over runtests.sh tests
|
2019-12-14 18:15:34 -05:00 |
|
rocky
|
62a3fcc9d5
|
Update runtests.sh output
|
2019-12-14 18:05:09 -05:00 |
|
rocky
|
bc7d7ddf12
|
Narrow what's excepted for iflastsmtl...
Disallow "if" jump to jump inside body of "then".
|
2019-12-14 17:23:37 -05:00 |
|
rocky
|
41b6e91286
|
More stringent transform test for assert
|
2019-12-14 11:31:13 -05:00 |
|
rocky
|
56bf3e3125
|
unary_expr -> unary_op
|
2019-12-14 10:57:19 -05:00 |
|
rocky
|
805ec7dbfc
|
Add "if_not_and" rule similar to "if_not_or" rule.
|
2019-12-13 05:15:21 -05:00 |
|
rocky
|
668141662e
|
unary_expr -> unary_op to match Python AST
former unary_op is now unary_operator
|
2019-12-11 15:47:46 -05:00 |
|
rocky
|
cc55fa1de1
|
binary_expr -> bin_op to match Python AST
I know binary_expr is more natural, but as with things Python we
sometimes sacrifice elegance and clarity for Python Fascism.
|
2019-12-11 13:35:21 -05:00 |
|
rocky
|
6f51f8910c
|
Add 3.7+ "and" grammar rule and limit "or" more
|
2019-12-11 12:32:32 -05:00 |
|
rocky
|
bc614cf3fb
|
Another 3.7+ "or" grammar rule
|
2019-12-11 07:32:35 -05:00 |
|
rocky
|
05f3dad32c
|
Fix some 3.7+ "if"/"and" logic bugs
|
2019-12-11 06:56:43 -05:00 |
|
rocky
|
fb3761e4f3
|
Add another 3.8 try/finally rule and semantic action
|
2019-12-10 22:28:16 -05:00 |
|
rocky
|
9b2e22cbaf
|
Small "not" bug in prior commit
|
2019-12-10 16:12:01 -05:00 |
|
rocky
|
cea2c7e1dc
|
One more "assert" transform
|
2019-12-10 15:46:26 -05:00 |
|
rocky
|
79c38441b5
|
Better "assert" transformation. More 3.8 tests
|
2019-12-10 10:43:01 -05:00 |
|
rocky
|
3e3dd87c3b
|
Get ready for release 3.6.0
3.5.2
|
2019-12-09 21:51:15 -05:00 |
|
rocky
|
edbbefb57d
|
Start to remove crud in control-flow detection for 3.7+
|
2019-12-09 18:28:57 -05:00 |
|
rocky
|
6546bbdaf9
|
Fix 2.x false tryelsestmtl detection...
With grammar reduction tests. Same as tryelsestmt. Lots of stdlib tests work
now. (More remain though.)
|
2019-12-09 16:19:10 -05:00 |
|
rocky
|
825ed3fef9
|
Reinstate some stdlib tests...
now that we distinguish try/else a little better
|
2019-12-09 14:13:30 -05:00 |
|
rocky
|
7d9c4ce8ca
|
Better try/else detection
|
2019-12-09 14:04:57 -05:00 |
|
rocky
|
fdac1e3c46
|
Use 3.9-enabled xdis
|
2019-12-09 12:56:30 -05:00 |
|
rocky
|
daab1e8610
|
Start to tolerate 3.9 (in pydisassemble)
|
2019-12-09 12:20:00 -05:00 |
|
rocky
|
b8f4dca505
|
Update README.rsgt
|
2019-12-09 07:19:51 -05:00 |
|
rocky
|
99b8a99ffa
|
Python 2.5 fixes..
* "with" handling.
* Go over 2.5 runtest.sh exclusions
|
2019-12-09 06:57:02 -05:00 |
|
rocky
|
8c879c02de
|
Small logic correction in run-time test.
|
2019-12-09 04:09:44 -05:00 |
|
rocky
|
d11a9ea126
|
Remember rocky: use off2int() in offset testing!
|
2019-12-08 21:42:49 -05:00 |
|
rocky
|
4926474efc
|
Add jump range check for 2.7 assert_expr_and
|
2019-12-08 21:37:45 -05:00 |
|
rocky
|
eba5226a04
|
Typos: decompyle3 -> uncompyle6
|
2019-12-08 18:05:37 -05:00 |
|
R. Bernstein
|
8d0ff367d8
|
Merge pull request #297 from rocky/decompile-merge
Merging in recent 3.7 and 3.8 improvements from decompyle6
|
2019-12-08 18:01:38 -05:00 |
|
rocky
|
c6ddefcef5
|
Merging in recent 3.7 and 3.8 improvements from decompyle6
This rebases 3.7, 3.8 ...decompilation off of 3.7ish rather than a 3.4
base.
Add more 3.7 and 3.8 tests
|
2019-12-08 17:54:59 -05:00 |
|
rocky
|
301464d646
|
Accomodate for optional docstring in function kw calculation
|
2019-12-02 12:58:26 -05:00 |
|
rocky
|
d5b52d44e0
|
Better bytecode detection for Python > 3.0...
Not perfect though. More work is needed on the xdis side.
|
2019-11-21 19:39:57 -05:00 |
|
rocky
|
322f491c83
|
Revise NEWS
|
2019-11-20 10:08:20 -05:00 |
|
rocky
|
2987d6a72b
|
Go over some 3.0 and 3.1 tests
|
2019-11-18 22:46:27 -05:00 |
|
rocky
|
7609165967
|
Revise mixed expressions
|
2019-11-18 18:22:16 -05:00 |
|
rocky
|
655162a05e
|
One more test
|
2019-11-18 18:15:30 -05:00 |
|
rocky
|
ca7f483dbb
|
Better test coverage of operators (in 2.7 and 3.0)
|
2019-11-18 18:10:58 -05:00 |
|
rocky
|
e713169bdf
|
Administrivia: go over tests...
Some tests were deferred and are not now
update Python 2.7 standard library tests
|
2019-11-18 12:30:48 -05:00 |
|
rocky
|
cc856e2b95
|
Refine 2.7 control flow reduction tests...
for "iflastsmtl" and "and"
|
2019-11-18 11:34:06 -05:00 |
|