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
|
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
|
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
|
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
|
7d9c4ce8ca
|
Better try/else detection
|
2019-12-09 14:04:57 -05:00 |
|
rocky
|
daab1e8610
|
Start to tolerate 3.9 (in pydisassemble)
|
2019-12-09 12:20:00 -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
|
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 |
|
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
|
2987d6a72b
|
Go over some 3.0 and 3.1 tests
|
2019-11-18 22:46:27 -05:00 |
|
rocky
|
ca7f483dbb
|
Better test coverage of operators (in 2.7 and 3.0)
|
2019-11-18 18:10:58 -05:00 |
|
rocky
|
cc856e2b95
|
Refine 2.7 control flow reduction tests...
for "iflastsmtl" and "and"
|
2019-11-18 11:34:06 -05:00 |
|
rocky
|
d696443eb2
|
More 2.7 reduction checks for conditionals:
Specficially for "and" and "laststmtl"
|
2019-11-18 08:36:28 -05:00 |
|
rocky
|
6659fffc0d
|
Two Bugs ...
2.7: more stringent comparison and comp_if testing
2.6-2.7: fix botched dict constant translation
|
2019-11-18 06:49:36 -05:00 |
|
rocky
|
2cfc60fbd7
|
Get ready for release 3.5.1
|
2019-11-17 19:59:26 -05:00 |
|
rocky
|
daa424cf0c
|
Some grammar cleanup based on coverage info
|
2019-11-17 01:01:52 -05:00 |
|
rocky
|
df5df9364c
|
Grammar debugging for 3.0, 3.7 and 3.8
|
2019-11-16 17:59:30 -05:00 |
|
rocky
|
f1496cad4d
|
3.0 return_if_stmt and...
* Some grammar cleanup
* add more grammar debugging
|
2019-11-16 17:32:48 -05:00 |
|
rocky
|
a3a15414d3
|
Add 3.0 whileTrue rule for recent CONTINUE change
|
2019-11-16 16:18:39 -05:00 |
|
rocky
|
9874553fb4
|
while1 rule adjustment for 3.0
|
2019-11-16 16:04:16 -05:00 |
|
rocky
|
d21d93fd84
|
Handle 3.0 call_stmt better
|
2019-11-16 15:21:59 -05:00 |
|
rocky
|
dbf2729f76
|
expand 3.0 "continue" detection
|
2019-11-16 12:23:09 -05:00 |
|
rocky
|
047e27c966
|
3.0 assert2...
Not like other 3.x due to the lack of POP_JUMP_IF
|
2019-11-16 09:10:14 -05:00 |
|
rocky
|
6a81a752a7
|
Adjust 3.0 iflastsmtl rule
|
2019-11-16 00:59:58 -05:00 |
|
rocky
|
44f0ba0efb
|
Add 3.0 try/except rule
|
2019-11-15 23:39:36 -05:00 |
|
rocky
|
bc8907e752
|
Guard again improper assert transform...
we see this happen in getheader() from 3.0.1/lib/python3.0/http/client.pyc
|
2019-11-15 22:19:17 -05:00 |
|
rocky
|
4e9d8783d1
|
Add Python 3.0.1 list_comp rule
|
2019-11-15 21:32:31 -05:00 |
|
rocky
|
47c847644e
|
Modify 3.0 _ifstmts_jump rule
|
2019-11-15 19:23:08 -05:00 |
|
rocky
|
af2ed31871
|
Add 3.0 whilestmt rule
|
2019-11-15 15:14:33 -05:00 |
|
rocky
|
49de5b5c9d
|
add 3.0 iflaststmt rule
|
2019-11-15 14:07:37 -05:00 |
|
rocky
|
c8252ca9cb
|
3.0 import_from rule
|
2019-11-15 09:27:47 -05:00 |
|