rocky
10695d882e
Fix bug in 3.7 chained comparison semantic action
2020-01-24 06:14:28 -05:00
rocky
5c31fdc362
Fix bug in 3.6 handling kwonly params ...
...
when there are annotation args
2020-01-24 05:47:41 -05:00
rocky
beac1d3567
Fix a bug in 3.6+ keyword-only argument passing
2020-01-21 04:37:58 -05:00
rocky
7ec1d0e17b
Merge branch 'master' of github.com:rocky/python-uncompyle6
2020-01-17 04:44:59 -05:00
rocky
027c9a7dc0
Fix "for ... if" bug introduced since 3.6.2...
...
However we've isolated and documented the 3.x grammar a little bit better
2020-01-17 04:41:16 -05:00
rocky
6d368d2b30
parens around consts when taking attr again
2020-01-16 22:15:28 -05:00
rocky
a532aa5b0e
3.7+ use attribute_w_parens like we do in pre 3.7
2020-01-16 11:43:29 -05:00
rocky
73937ffeb4
Handle set/dictionary comprehensions in format strings
2020-01-13 23:49:17 -05:00
rocky
ec3a9978fc
Better 3.6+ nested format strings
2020-01-13 19:08:54 -05:00
rocky
54f4806021
More fstring bugs -- nested fstring grammar rules
2020-01-13 08:04:53 -05:00
rocky
de282af05d
Fix some fstring formats bugs...
...
* Need parens around a lambda in an format string.
* handle format string specifier + width
Note: other format-string bugs remain.
2020-01-13 06:40:18 -05:00
rocky
f56ad56021
Wacky string at beginning of fn which is not docstring...
...
3.7.6 test_fstring.py tests this.
2020-01-12 22:59:06 -05:00
rocky
c3d7ba6dad
3.7 "imports" and "or"
2020-01-11 07:23:23 -05:00
rocky
6cef42f6c7
3.7+ "or" disambiguation and assert2 handling
2020-01-10 20:44:28 -05:00
rocky
7dee584a46
3.7+ "or" handling in listcomp
2020-01-09 03:15:30 -05:00
rocky
6646d18c7a
More complex complex test
2020-01-05 11:54:41 -05:00
rocky
825add1af7
3.7+ "if not" in list comprehension and other bug fixes
2020-01-03 09:01:48 -05:00
rocky
732b5165c2
Fix a 3.7+ chained compare bug...
...
others remain though.
2020-01-03 00:55:45 -05:00
rocky
c42e16fafe
Fix 3.7+ import as
2020-01-01 22:59:07 -05:00
rocky
6de57249ed
Start 3.6+ var type annotations and decompyle3 merge...
...
Although overall an improvement, some new breakage
has occurred and should be fixed.
2020-01-01 01:42:00 -05:00
rocky
566143b515
Python 3.7+ optimized if in comprehension
2019-12-28 18:09:00 -05:00
rocky
b2e1edb434
Fix Python 3.7+ "import as" but keep "import from" working
2019-12-28 11:09:31 -05:00
rocky
bffbd0b352
3.6+ lambda params; add semantic rule customizing for lambdas
2019-12-23 07:19:40 -05:00
rocky
f3bec73840
Fix Bug in 3.6+ in call_ex_kw4 and call_kw36
2019-12-22 08:49:12 -05:00
rocky
805ec7dbfc
Add "if_not_and" rule similar to "if_not_or" rule.
2019-12-13 05:15:21 -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
9bd85fe5a0
Correct assert{,2} transforms
...
Fixes #289
2019-09-23 08:26:16 -04:00
x0ret
2e01f42f65
Fixes #278
2019-07-14 01:12:42 +04:30
rocky
4c76931807
Update tests related to branch
2019-06-30 18:20:40 -04:00
rocky
32c7b8f23d
Add tests for x0ret's recent varrg fixes
2019-06-29 15:50:47 -04:00
rocky
9ab086b207
Add more x0ret tests
2019-06-09 15:19:01 -04:00
x0ret
c7b20edba0
add annotations type test cases
2019-06-06 19:14:03 +04:30
rocky
f7697ccd7b
Some docstring bugs fixed, some remain...
...
I had broken escaping the tail quote by inadvertently switching from """
by default to '''.
Some additional tests have been added to 00_docstring.py for
this. However...
Unicode decoding is still broken. For now I've added errors="ignore" to
.decode("utf-8", ...) until a better fix is found. Sigh.
2019-05-27 18:01:08 -04:00
rocky
47ed0795b2
3.x docsting escaping works differently?
2019-05-24 09:53:56 -04:00
rocky
8b5e0f49f8
Handle {{ }} escape, but when appropriate
2019-05-13 09:41:16 -04:00
rocky
78ca6a0c1f
Add 3.7 testcase for ex_kw call
2019-05-11 19:37:44 -04:00
rocky
b05500dd49
More 3.6+ fstring bugs
2019-05-08 08:57:30 -04:00
rocky
733a44e22f
Revise and hopefully improve 3.6+ fstring handling
2019-05-08 06:03:39 -04:00
rocky
8e9ce0be31
3.7: if <expr> and not <expr> else <expr>
2019-05-04 22:14:07 -04:00
rocky
b2dd58a85e
Hacky attemp to add more 3.x annotate information in
2019-04-18 02:26:50 -04:00
rocky
97cb193a71
3.7 chained comparison grammar
2019-04-17 23:41:41 -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
43646b3c71
Comma placement in 3.6 and 3.7 **kwargs
...
fixes #208
2019-01-14 17:41:54 -05:00
rocky
a97d4003c7
Python 3.7 changes chained comparison code
...
fixes #206
2019-01-13 19:37:41 -05:00
rocky
d443295df6
Check range of _come_froms on ifelsestmt reduction
...
Fixes #200
2018-12-31 08:39:08 -05:00
rocky
ef9ccc3a8c
Fix 3.7 aysnc def testing
2018-04-20 11:15:52 -04:00