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 |
|
rocky
|
0441fbc616
|
3.0.1 "ret_or", "ret_and", and "or" rules
|
2019-11-15 09:12:53 -05:00 |
|
rocky
|
1b4335edf1
|
Add 3.0.1 while loop rule
|
2019-11-15 07:48:23 -05:00 |
|
rocky
|
2e36551c02
|
Remove more 3.0 parse errors...
However this doesn't mean that some wrong rules still don't
kid in. We still have control-flow "if/and/else" vs "if/if/else" problems.
|
2019-11-14 18:32:52 -05:00 |
|
rocky
|
fff6f82dd7
|
expand 3.0 jump_except rule
|
2019-11-14 10:11:28 -05:00 |
|
rocky
|
7c8f3cc9ec
|
Two 3.0 rules ...
- ifstmtlastl
- ifnotstmt30
|
2019-11-14 03:57:41 -05:00 |
|
rocky
|
78a595c8cf
|
Bang on 3.0.1 control flow...
more word is needed though
|
2019-11-13 20:35:44 -05:00 |
|
rocky
|
d852f23962
|
3.3 "yield from" semantic action fix
|
2019-11-12 17:48:16 -05:00 |
|
rocky
|
065fd13b81
|
Small tweaks
|
2019-11-12 17:04:35 -05:00 |
|
rocky
|
659f37585b
|
Bug in 3.0 rule in "jump_absolute_else" ...
and disallowing "else" to the wrong place.
|
2019-11-12 16:31:43 -05:00 |
|
rocky
|
bc18fcf7fa
|
3.0 tweak in iflastsmtl reduction validation
|
2019-11-12 06:37:43 -05:00 |
|
rocky
|
144f52da8e
|
More 3.0 control flow pattern fixups
|
2019-11-12 06:08:30 -05:00 |
|
rocky
|
9f250b49ee
|
Cope more JUMP/POP_IF not being in 3.0...
more is probably needed though.
|
2019-11-11 19:58:35 -05:00 |
|