rocky
096563cf91
Fix Python 1.5- bug in handling unpack list
2018-06-04 10:49:20 -04:00
rocky
7fd21aa227
Fix more Python 1.4 decompilation bugs
2018-06-04 09:37:35 -04:00
rocky
82bc294995
Improve Python 1.4 bytecode coverage
2018-06-04 08:54:09 -04:00
rocky
e5f3d803a8
Start Python 1.4 decompilation ...
...
Tidy up test code for issue 162 and comments for some disassembly massaging.
2018-05-19 07:14:00 -04:00
rocky
80b68af2d3
More 2.6 control flow logix futzing
2018-05-09 11:12:16 -04:00
rocky
b94f98f8f7
Note we can't handle try/else sometimes in 2.7
2018-05-08 10:17:38 -04:00
rocky
15533c5e38
Fixes #174
2018-05-03 14:56:18 -04:00
rocky
24011bb0da
Python 2.7.5 tolerance
2018-05-01 02:48:51 -04:00
rocky
269f4f2e1b
2.6, 2.7 Parse if else inside list comprehension
...
Fixes #171
2018-04-28 20:44:09 -04:00
rocky
f1e48fb60a
while1 grammar rule cleanup
...
Closes #172
2018-04-27 10:57:27 -04:00
rocky
41a50b5e46
Handle if not else in lambdas...
...
Fixes #170
2018-04-25 12:57:09 -04:00
rocky
edbab038ca
Fix improper 3.0 class handling...
...
... is like 3.1 not 2.7
2018-04-12 17:59:39 -04:00
rocky
ede6eabc40
Slightly Python 3.x handing of subclasses...
...
which are created via a call to create a subclass.
Should be more general though.
2018-04-08 05:22:35 -04:00
rocky
23fb07b1c9
Update test
2018-04-07 07:21:22 -04:00
rocky
1bbb72a6ce
Handle class with one kwarg subclass
2018-04-07 07:13:49 -04:00
rocky
68821efdb0
Improve 3.5+ BUILD_MAP_UNPACK...
...
And add build_tuple_unpack runtime test from a previous commit.
We are far from out of the woods, as there is more to do and
we've uncovered more bugs in handling this.
2018-04-06 21:34:31 -04:00
rocky
e9c0d03b8b
3.2 mk_func tweak...
...
...more is needed though
2018-04-03 17:57:37 -04:00
rocky
e2dec73a62
3.5 CALL_FUNCTION_VAR bug
2018-04-03 05:56:45 -04:00
rocky
6b78677a74
Work on 3.5+ BUILD_MAP_UNPACK...
...
bugs still remain, just reduced.
2018-04-01 13:41:16 -04:00
rocky
254d0519bb
More 3.6 CALL_FUNCTION argument parsing
2018-04-01 11:26:46 -04:00
rocky
120412f5a8
Add Python 3.6 setcomp and another call bug
2018-04-01 07:09:24 -04:00
rocky
b54be24e14
3.6 argument parsing
2018-03-31 23:07:06 -04:00
rocky
535df1592e
Another 3.6 control-flow bug...
...
and add source to some previous bytecode tests
2018-03-31 19:28:35 -04:00
rocky
9be4908c9c
Python 3.6 MAKE_FUNCTION yet again...
...
And we'll eventually have to do more down the line
2018-03-29 22:04:46 -04:00
rocky
7d110f17bc
3.6 decompilation problems
2018-03-29 17:21:22 -04:00
rocky
94a81a36b7
3.5, 3.6 loop if/continue handling
2018-03-28 09:23:34 -04:00
rocky
e568d68baa
Reinstate a test
2018-03-28 07:52:04 -04:00
rocky
d90c44b454
3.5+ handle then before "if" jump going to loop
2018-03-27 19:24:29 -04:00
rocky
3500c49daf
More Python 3.4 CALL_FUNCTION_VAR
2018-03-26 19:40:33 -04:00
rocky
3d218c84b0
LOAD assert needs to be on 3.x...
...
Expand testing
2018-03-26 18:11:57 -04:00
rocky
74f01fbe33
Python 3.5 CALL_FUNCTION_VAR handling
2018-03-26 07:42:15 -04:00
rocky
710c950965
Bang on 3.4 CALL_FUNCTION_VAR
2018-03-26 00:19:39 -04:00
rocky
cfb4ad625f
3.5 *() arg without further args
2018-03-25 22:24:32 -04:00
rocky
631940887f
Additional Python 2.x assert vs raise testing
2018-03-25 17:35:18 -04:00
rocky
e3c7afb94d
Towards handling 3.x' CALL_FUNCTION_VAR correctly
2018-03-24 08:26:45 -04:00
rocky
1b2b45642b
3.6 try except-as bug
2018-03-22 23:54:12 -04:00
rocky
7fc7e083c3
A couple of 3.6 bugs...
...
remove parens around decorators by adjusting precidence
Partial handling of quotes within 3.6 format strings
2018-03-21 19:54:28 -04:00
rocky
da06d83a87
3.6 subclass extraction bug
2018-03-21 15:14:23 -04:00
rocky
6fb5808ff0
Merge branch 'master' of github.com:rocky/python-uncompyle6
2018-03-21 13:18:50 -04:00
rocky
0c3db340fa
2.7 bug confusing "or" with "if" and "assert"
2018-03-21 13:18:18 -04:00
rocky
925b6667d7
3.6 CALL_FUNCTION_KW handling
2018-03-21 08:01:45 -04:00
rocky
ff50a7f37b
In 2.7: raise <expr>; expr can't be a "or"
2018-03-20 16:14:53 -04:00
rocky
90ac8a463d
Adjust 3.x while1else reduction check
2018-03-20 11:33:10 -04:00
rocky
0e64111195
Extend 3.4: "while 1: if : continue" handling
2018-03-20 10:37:19 -04:00
rocky
4905cc6bb0
Note where 3.4's 05 test came from
2018-03-20 05:14:28 -04:00
rocky
f008b8f411
Two 3.4 fixes..
...
* LOAD_DEREF does not signal "nonlocal" variables
* Add rule for "if" with a "continue" and "return"
2018-03-20 05:07:19 -04:00
rocky
5c8f93b735
Fix 3.6 try/except with return
2018-03-19 16:12:44 -04:00
rocky
88ef4baca8
Fix a 3.6 try/except-as bug
2018-03-19 11:10:37 -04:00
rocky
6ab711baab
More 3.6 lambda handling
2018-03-19 09:36:02 -04:00
rocky
9e05750537
Another 3.6 lambda parsing bug
2018-03-19 09:09:59 -04:00