rocky
|
c504bb2491
|
2.5-2.7 relative import fixes
|
2022-05-14 19:25:26 -04:00 |
|
rocky
|
a040439f48
|
bug in formatting slice2 nonterminal
|
2022-05-14 16:51:28 -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
|
f5043408ec
|
Start rolling in LOAD_ARG for 3.7+
|
2022-05-06 02:41:02 -04:00 |
|
rocky
|
eba0d37d0f
|
Improve Python 1.x decompiling
Still has bugs, but is much better.
|
2022-04-30 05:54:22 -04:00 |
|
rocky
|
e5d82f7613
|
Merge branch 'python-3.3-to-3.5' into python-2.4
|
2022-04-25 08:05:28 -04:00 |
|
rocky
|
371138cfbc
|
handle long literal constants faster
|
2022-04-24 13:11:20 -04:00 |
|
rocky
|
3c2ed93b34
|
Python 2.4 seems broken
|
2022-04-15 08:57:55 -04:00 |
|
rocky
|
a1fe069c8c
|
Handle walrus operator
Or rather set precedence on call_stmt and expr_stmt
Adjust pytest test_single_compile so it works now
|
2022-04-12 05:21:13 -04:00 |
|
rocky
|
2efe2b5b47
|
WIP
|
2022-03-04 05:07:31 -05:00 |
|
rocky
|
6f112ec5b2
|
Ensure no parens on subscript slice
|
2022-03-03 21:05:47 -05:00 |
|
rocky
|
ce5207333f
|
Remove TABLE_R0 - it hasn't been used in a while
|
2022-02-27 10:18:57 -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
|
b3163d09e8
|
Merge branch 'python-3.3-to-3.5' into python-2.4
|
2021-12-26 18:53:19 -05:00 |
|
rocky
|
3234673422
|
mklambda -> lambda_body matches Python AST better
Note: we can't use "lambda" since that is a reserved word
|
2021-12-26 18:48:51 -05:00 |
|
rocky
|
948ecf3123
|
Merge branch 'python-3.3-to-3.5' into python-2.4
|
2021-11-03 02:38:24 -04:00 |
|
rocky
|
f6f0e344d0
|
Python 3.6+ specialization
|
2021-11-03 02:23:19 -04:00 |
|
rocky
|
2fbe61aa11
|
Merge branch 'python-3.3-to-3.5' into python-2.4
|
2021-11-03 01:46:03 -04:00 |
|
rocky
|
ed34bf9d4a
|
use xdis.PYTHON3 not uncompyle.PYTHON3
|
2021-11-02 06:53:11 -04:00 |
|
rocky
|
1a3bd3cabe
|
Merge branch 'master' into python-2.4
|
2020-09-05 06:02:41 -04:00 |
|
rocky
|
b4db22d525
|
Narrow precedence for call statement
|
2020-09-03 04:35:59 -04:00 |
|
rocky
|
8879708da7
|
del_stmt -> delete to match Python AST better
|
2020-09-02 07:14:56 -04:00 |
|
rocky
|
c105edff47
|
Merge branch 'master' into python-2.4
|
2020-07-21 18:52:31 -04:00 |
|
rocky
|
a215ee2f00
|
Use "co_consts" in docstring detection.
Note: this is an upheaval because we need to pass "code" or at least
"code.co_consts" to the docstring detection routine
|
2020-07-21 10:31:07 -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
|
f5bcdeec95
|
Merge branch 'master' into python-2.4
|
2020-04-16 13:09:07 -04:00 |
|
rocky
|
869e48877c
|
Convert to use xdis 4.3.0 or greater
|
2020-04-16 08:41:53 -04:00 |
|
rocky
|
880a60c3e4
|
Merge branch 'master' into python-2.4
|
2020-04-11 09:58:36 -04:00 |
|
rocky
|
7ed40d5f6e
|
Adjust _mklambda vs. yield precedence
|
2020-04-11 09:54:03 -04:00 |
|
rocky
|
5c6365d8a1
|
Go over "yield" and other precedence
|
2020-04-09 20:27:07 -04:00 |
|
rocky
|
bac3fea8cd
|
Merge branch 'master' into python-2.4
|
2020-02-09 09:55:41 -05:00 |
|
rocky
|
5355cb5404
|
async with rules back to 3.5 and ...
add precidence on cascaded "await" expressions
|
2020-02-08 20:31:06 -05:00 |
|
rocky
|
cb35ad906c
|
One more if_exp use (ret_cond)
|
2020-02-07 16:34:48 -05:00 |
|
rocky
|
278af38df6
|
conditional -> if_exp ...
to match Python IfExp AST
|
2020-02-07 16:17:47 -05:00 |
|
rocky
|
d9975defe9
|
Merge branch 'master' into python-2.4
|
2020-02-04 20:21:35 -05:00 |
|
rocky
|
6f4ec21ae2
|
__modname__ and __qualname__ detection...
since grammar has simplified.
May still need work for Python < 3.0
|
2020-02-02 19:09:50 -05:00 |
|
rocky
|
31468a2328
|
Merge branch 'master' into python-2.4
|
2020-01-29 15:39:46 -05:00 |
|
rocky
|
fdf4496a2d
|
Track grammar "stmt" simplifications class ...
* NAME_MODULE constant
* QUAL_NAME constant
|
2020-01-29 15:37:58 -05:00 |
|
rocky
|
e30051b460
|
Merge branch 'master' into python-2.4
|
2020-01-26 12:00:11 -05:00 |
|
rocky
|
5951f974d5
|
Fix 3.8 grammar rule bug: "for" with "if"/"return"
|
2020-01-23 06:07:34 -05:00 |
|
rocky
|
2c608c7909
|
Merge branch 'master' into python-2.4
|
2020-01-21 06:50:49 -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
|
74961caed1
|
Merge branch 'master' into python-2.4
|
2020-01-13 11:25:59 -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
|
7adfc9c2dc
|
Merge branch 'master' into python-2.4
|
2020-01-12 10:23:52 -05:00 |
|
rocky
|
aaba4ecb2b
|
Better try/else/finally for 3.x
|
2020-01-11 21:33:22 -05:00 |
|