rocky
f425db33b7
except_cond3 needs to be in 2.x
2019-07-03 19:16:09 -04:00
rocky
68c5b2338f
Clearer 3.3 "yeild_from" semantic handling
2019-07-01 12:54:38 -04:00
rocky
e55a0410c9
weak-verify -> syntax-verify. More bytecode tests
2019-07-01 10:23:43 -04:00
R. Bernstein
0fe8961418
Merge pull request #269 from rocky/if-elif-else-more
...
If elif else more
2019-07-01 09:52:11 -04:00
x0ret
7b7f794913
Fix handling py3 annotation args + defparam comma issue
2019-07-01 01:28:32 +04:30
rocky
50e46531ce
Adjust 3.x grammar rules to include annotate args
2019-06-29 23:33:21 -04:00
x0ret
2f06d1eeb0
Fix issue in 3.x star args function signatures
2019-06-29 21:53:02 +04:30
rocky
999f1fb0f9
Mostly x0ret's while(1)/if fixes ..
...
plus a potential test
2019-06-29 07:01:45 -04:00
x0ret
76eef9a149
Handle if elif else case for 3.5
2019-06-29 06:57:23 -04:00
rocky
c8b945fb56
Handling if elif else more
2019-06-29 06:57:23 -04:00
rocky
a1e7c16dbe
Fix bugs introduced by last commit
2019-06-29 06:19:02 -04:00
rocky
35f14e4357
Small assert message change
2019-06-29 05:08:23 -04:00
rocky
49d1a50354
Merge branch 'master' of github.com:rocky/python-uncompyle6
2019-06-29 04:59:46 -04:00
rocky
0dc19a8fdd
Correct 3.4 "yield from" semantic action bug
2019-06-29 04:59:03 -04:00
rocky
887a006849
if/elif for 2.5-2.7
...
Specifically simple_source/03_if_elif.py
2019-06-23 21:29:15 -04:00
rocky
e26c7407a0
Small changes to document some of the complexity.
2019-06-23 20:00:00 -04:00
x0ret
e96498eaf0
Adjust ifelsestmtr grammer
2019-06-24 01:28:33 +04:30
rocky
9d6d6a355d
Start to reinstate elif's
2019-06-21 07:13:05 -04:00
rocky
d371839c99
A few more LOAD_CONST->LOAD_CODE
2019-06-19 15:38:58 -04:00
rocky
24afe072b7
LOAD_CONST -> LOAD_CODE where appropriate
2019-06-19 14:43:07 -04:00
rocky
e2d7f01298
Handle 2-arg asserts in 3.6+ish
...
Changed files have also been reformatted via the blacken formatter
2019-06-18 22:09:16 -04:00
rocky
b39112b601
One more deparse_code removal
2019-06-16 22:30:56 -04:00
rocky
20b513fc81
Merge branch 'master' of github.com:rocky/python-uncompyle6
2019-06-16 21:58:23 -04:00
rocky
d369017122
remove deprecated deparse_code
2019-06-16 21:57:56 -04:00
rocky
6675ea2cd0
Control flow yet again
2019-06-15 10:09:13 -04:00
rocky
4b82806d6c
Flow control bites again.
...
See related appveyor https://ci.appveyor.com/project/rocky/python-decompile3/builds/25301153/job/x0we0dpgb3apgk1v
2019-06-15 07:18:30 -04:00
rocky
3c06b82931
Get ready for release 3.3.4
2019-06-12 12:01:31 -04:00
R. Bernstein
c680416f92
Merge pull request #255 from rocky/3.6-store_annotation
...
Add 3.6 STORE_ANNOTATION
2019-06-12 10:56:27 -04:00
x0ret
c871a4ecc5
Fix subscript in store_annotation + indentation
2019-06-12 00:26:34 +04:30
rocky
002720988c
Formatting in < 3.0 is different for name ops
2019-06-11 14:08:50 -04:00
rocky
08f23567a6
Nicer assembly display...
...
Fewer extraneous quotes and remove pattrs that don't mean anything.
Base more on OP poperties like varargs and NAME_OPS
2019-06-11 12:44:29 -04:00
rocky
37e4754268
Fix Improper semantic action format
2019-06-11 11:10:53 -04:00
rocky
76dcaf9bf0
Tweaks to x0ret's anotation type handling
...
- match AST names a little better: AnnAssign -> ann_assign...
- localize Annotation type grammar change only when we have it
- Add reduce rule to combine assignment and annotate declaration
- Add annotation-type test from Python 3.6
- Docuemnt what's up with annotation types
2019-06-11 11:02:25 -04:00
x0ret
21fd506fbb
Add 3.6 STORE_ANNOTATION
2019-06-11 10:36:55 -04:00
rocky
efe0914814
See above.
2019-06-11 10:35:53 -04:00
rocky
5981c7eae9
Fix LOAD_STR messing up docstring comparision
2019-06-11 10:33:49 -04:00
rocky
b2d97f9847
Possble use of ','.join to remove "ends_in_comma"?
2019-06-09 18:29:46 -04:00
rocky
24ba5d7f40
One more LOAD_CONST->LOAD_STR remnant and...
...
We're good to go!
All function signatures seem to be working! YAY!
Credit goes to x0ret
2019-06-09 18:20:05 -04:00
x0ret
eae3f0d77b
Fix issue in commas in function signatures
2019-06-10 02:25:19 +04:30
x0ret
a54fba7993
Fix issue in commas in function signatures
2019-06-10 01:42:16 +04:30
rocky
719d2d7232
Correct order of pos vs kwargs in 3.0-3.2
2019-06-09 16:26:08 -04:00
x0ret
e82cabc278
Fix 2 issues in commas in function signatures
2019-06-10 00:29:34 +04:30
x0ret
4022e80d6d
Fix py3 function signatures + annotations + ordering
2019-06-09 23:46:33 +04:30
rocky
9811c5bc42
Nicer assembly output
2019-06-09 12:21:45 -04:00
rocky
354796fffd
One more LOAD_CONST->LOAD_STR artifact
2019-06-09 11:10:14 -04:00
x0ret
2f99da8199
Fix leading * arg in function signature in 3.6
2019-06-09 19:06:57 +04:30
rocky
fd5f4fa5b8
Nicer LOAD_STR assembly output
2019-06-09 09:53:21 -04:00
rocky
c8fc6a704c
LOAD_CONST->LOAD_STR bugs and 3.4 kwargsonly
2019-06-09 02:18:21 -04:00
rocky
622d6f849c
Merge branch 'master' into string-const
2019-06-09 01:20:53 -04:00
rocky
86fd5dbf7a
3.3-3.4 pos kwargs ordering
2019-06-08 18:40:50 -04:00