rocky
4482730a23
Merge branch 'python-3.0-to-3.2' into python-2.4-to-2.7
2024-05-30 04:52:22 -04:00
rocky
39b4b83977
Small set literal change
2024-05-07 11:33:03 -04:00
rocky
4ddb1565aa
Merge branch 'python-3.0-to-3.2' into python-2.4-to-2.7
2024-03-15 23:02:48 -04:00
rocky
b88af23406
Mis spelling corrections
2024-03-14 05:39:30 -04:00
rocky
3b1742e779
Merge branch 'python-3.0-to-3.2' into python-2.4-to-2.7
2024-03-08 04:41:40 -05:00
rocky
8542df4639
Add context manager test...
...
handle degenerate 3.8 withas
2024-03-07 18:08:07 -05:00
rocky
0993bb026b
Merge branch 'python-3.0-to-3.2' into python-2.4-to-2.7
2024-03-02 05:31:10 -05:00
rocky
e3be41164e
Add pop return check from decompyle3
2024-02-25 08:34:13 -05:00
rocky
aadc66fe4a
Merge branch 'python-3.0-to-3.2' into python-2.4
2024-02-04 13:18:47 -05:00
rocky
dcc9d1a571
Fix spelling via "codespell"
2023-12-17 10:52:32 -05:00
rocky
c0957d956f
Simpilfy grammar via ending_return
2023-08-13 07:50:13 -04:00
rocky
7e362a8635
Merge branch 'python-3.0-to-3.2' into python-2.4
2022-11-27 05:11:09 -05:00
James Hilliard
ab508e1ec9
Fix ImportError: cannot import name PYTHON_VERSION
2022-11-05 17:17:24 -04:00
rocky
a49f21bb1c
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-09-30 02:54:43 -04:00
rocky
2264ccb1d5
A partial reduce-action sync with decompyle3
...
Start us add _check prefixes and _invalid to the end of check methods
2022-09-30 02:45:52 -04:00
rocky
0ca5866ec7
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-07-07 02:00:32 -04:00
rocky
5a4136a7f6
Some limited support for 3.8 "=" specifier
2022-07-06 13:00:52 -04:00
rocky
697d765a43
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-07-04 07:12:09 -04:00
rocky
85ba8352ba
Port over some recent decompyle3 3.8 fixes
2022-06-26 04:26:15 -04:00
rocky
7f798541f0
Python 3.8 while and whileTrue loops
2022-06-16 15:42:51 -04:00
rocky
a99f0e51ab
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-06-08 13:27:56 -04:00
rocky
7fb483c566
Sync up with decompile3's 3.8 try/else handling
2022-06-08 12:49:23 -04:00
rocky
5f48a8bf2f
python-3.3-3.5 merge
2022-05-14 14:38:03 -04:00
rocky
0170e39f5d
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-05-14 10:43:42 -04:00
rocky
92b8d9c508
Grammar lint adjustments
2022-05-06 03:02:30 -04:00
rocky
f5043408ec
Start rolling in LOAD_ARG for 3.7+
2022-05-06 02:41:02 -04:00
rocky
2efe2b5b47
WIP
2022-03-04 05:07:31 -05:00
rocky
5b5fa310d9
Partial 3.8 async "for" fixes
2022-01-18 13:08:17 -05:00
rocky
3ab9272eb0
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-01-03 22:10:47 -05:00
rocky
deea74b6a8
ret_expr -> return_expr
...
This matches Python's AST a little more closely
2022-01-03 21:56:07 -05:00
rocky
819524fbd0
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-23 16:23:19 -05:00
rocky
da2314f5ae
Part of the decompye3 loop "continue" fixes
2021-12-17 16:13:09 -05:00
rocky
1a3bd3cabe
Merge branch 'master' into python-2.4
2020-09-05 06:02:41 -04:00
rocky
67c45467c3
little sync with decompyle3
...
Add another forelsestmt (found only in a loop)
Add precidence on walrus operator
2020-09-01 17:10:33 -04:00
rocky
33be603e3d
Merge branch 'master' into python-2.4
2020-06-17 05:42:50 -04:00
rocky
d357898bbf
Towards fixing a 3.8 try except-as bug
2020-06-15 06:03:28 -04:00
rocky
527d1b4163
Merge branch 'master' into python-2.4
2020-05-18 23:25:53 -04:00
rocky
d7c3b8454b
3.8 needs call_stmt -> call
...
Simplify/regularize how "return" works
2020-05-18 22:26:18 -04:00
rocky
4365022f40
Adapt decompyle3's 3.8 try/return grammar rules
2020-05-17 10:18:10 -04:00
rocky
0e0c5b91fc
Merge branch 'master' into python-2.4
2020-04-20 23:11:19 -04:00
rocky
5951f974d5
Fix 3.8 grammar rule bug: "for" with "if"/"return"
2020-01-23 06:07:34 -05:00
rocky
29715bb8bf
3.8 ifelsestmt grammar rule...
...
and remove optional "c_stmts" in 3.7 "ifelsesmt" rule. We may
have to come back and add something, but when we do we'll be more
careful and this is probably all for the better.
2020-01-22 22:50:27 -05:00
rocky
b84c89e817
Bang on getting 3.x "try" vs "try/else" disambiguated
2020-01-11 22:36:07 -05:00
rocky
09f232700e
Remove duplicate 3.8async rules
2019-12-14 21:32:00 -05:00
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
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
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
dba6d24361
3.8 for block without a POP_BLOCK ...
...
and confusing JUMP_BACK for CONTINUE. Expect more like this.
Fixes #293
2019-10-29 13:32:43 -04:00