rocky
f3d86e0708
Bang on Python 3.8
2019-04-10 07:22:43 -04:00
rocky
4a354269bc
Adjust 3.7 chained compare for adjusted grammar
...
Add test for last change
2019-03-23 17:06:50 -04:00
rocky
dcad6cf6ce
Fix if return boundary in 3.6+
...
Fixes #209
2019-03-10 05:59:15 -04:00
rocky
bfceeac6c8
2.7 can have two JUMP_BACKs at the end of a while loop
...
Fixes #215
2019-01-27 21:41:17 -05:00
rocky
43646b3c71
Comma placement in 3.6 and 3.7 **kwargs
...
fixes #208
2019-01-14 17:41:54 -05:00
rocky
9a14db567b
Merge branch 'master' of github.com:rocky/python-uncompyle6
2019-01-13 19:39:54 -05:00
rocky
a97d4003c7
Python 3.7 changes chained comparison code
...
fixes #206
2019-01-13 19:37:41 -05:00
rocky
d0dc26caf7
Another test
2019-01-05 16:48:55 -05:00
rocky
df105fbfb2
Fixed one thing in Python 2.7 and break another.
...
We'll go with this until we get to a more serious refactoring.
2019-01-05 16:38:07 -05:00
rocky
a2321773d7
Fix Python 3.x try/else detection
...
Fixes #155
2019-01-01 22:50:28 -05:00
rocky
d443295df6
Check range of _come_froms on ifelsestmt reduction
...
Fixes #200
2018-12-31 08:39:08 -05:00
rocky
7898fa157b
extend Python 2.6- lastc grammar-rule
...
Fixes #192
2018-10-05 12:37:16 -04:00
rocky
616e5c82f6
Reinstat expr32 and expr1024 rules...
...
to speed up handling long literal lists. See also issue #188
Update issue forms to simplfy via putting instructions as comments.
2018-09-19 20:14:42 -04:00
rocky
70f25d5f8d
Merge branch 'master' of github.com:rocky/python-uncompyle6
2018-07-05 21:48:53 -04:00
rocky
1b71cfef07
3.6 omit END_FINALLY sometimes
...
Fixes #182
2018-07-05 21:47:36 -04:00
rocky
b9e8e619f6
Add a 3.0 test
2018-07-03 15:45:27 -04:00
rocky
40fa379fd9
Add 3.0 comp_if_not grammar rule
2018-06-24 07:28:58 -04:00
rocky
34ec41f274
Improve 3.0 list comprehensions
2018-06-24 06:56:30 -04:00
rocky
c148e49670
Python 3.0 chained comparisions
2018-06-23 07:38:34 -04:00
rocky
fa5da2b1ef
Fix 3.0 try except bug
2018-06-23 00:06:35 -04:00
rocky
8955788990
Add first 3.0 run test
2018-06-13 18:47:36 -04:00
rocky
92d63ac598
More 3.0 grammar fixes...
...
3.0 is such as snowflake
2018-06-10 05:26:00 -04:00
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