Commit Graph

3136 Commits

Author SHA1 Message Date
rocky
f8ae674890 Split out comprehension code..
sync with decompile a little better
2022-04-17 10:52:56 -04:00
rocky
1c1752d6d6 Bump testing version ...
pyston 2.3 testing
2022-04-17 10:29:23 -04:00
rocky
420d22c094 Correct for pypy 3.7 2022-04-15 08:36:42 -04:00
rocky
faac21d1e4 Bump testing versions 2022-04-15 08:25:38 -04:00
rocky
a26ac79d0f Sync up decompyle3 customize37 somewhat 2022-04-15 08:22:45 -04:00
rocky
1a673aba40 Reinstate a test 2022-04-13 03:05:04 -04:00
rocky
04510ac2f8 lambda formatting in f-string
In a formatted string using "lambda',  we should not add "\n".
For example in:
  f'{(lambda x:x)("8")!r}'

Adding a "\n" after "lambda x: x" will give an error message:
  SyntaxError: f-string expression part cannot include a backslash
2022-04-12 16:49:58 -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
e7fd592313 Update bug template 2022-04-11 13:06:39 -04:00
rocky
728954295f Note that you can pay me for personal help 2022-04-10 13:02:58 -04:00
rocky
83ab85353b Remove a reference to an unset local variable
See also https://github.com/rocky/python-uncompyle6/pull/388
2022-04-09 02:29:44 -04:00
rocky
bc71bf7acd Shorten 10_complex.py
Runtime testing took too long because ranges were larger than needed
Also use newer convention for marking runable codes
2022-04-03 06:41:58 -04:00
rocky
9735453283 Small changes
test code for pysource and bump lastest testing Python versions
2022-04-01 03:11:59 -04:00
rocky
7f9014fb05 Add Table of Contents 2022-03-12 05:26:01 -05:00
rocky
e14b8dd496 Sync with decompyle3 2022-03-12 05:18:24 -05:00
rocky
aaa737672b Mention pydeinstaller 2022-03-12 04:56:33 -05:00
R. Bernstein
2198f9bbaa
Update HOW-TO-REPORT-A-BUG.md 2022-03-12 04:52:11 -05:00
R. Bernstein
b7015b16b0
Update HOW-TO-REPORT-A-BUG.md 2022-03-12 04:49:33 -05:00
R. Bernstein
67bb8223d8
Update HOW-TO-REPORT-A-BUG.md 2022-03-12 04:48:07 -05:00
R. Bernstein
2faa7b0597
Update HOW-TO-REPORT-A-BUG.md 2022-03-12 04:43:08 -05:00
R. Bernstein
58f00b1e5b
Update HOW-TO-REPORT-A-BUG.md 2022-03-12 04:39:39 -05:00
rocky
3d24de7ce5 __init__.py lint 2022-03-09 12:16:38 -05:00
R. Bernstein
b270f6eed7
Update HOW-TO-REPORT-A-BUG.md 2022-03-05 05:27:21 -05:00
R. Bernstein
e81d944c12
Update HOW-TO-REPORT-A-BUG.md 2022-03-05 05:26:26 -05:00
rocky
2718492001 spell check 2022-03-05 05:08:52 -05:00
R. Bernstein
68d6bc2fa1
Update HOW-TO-REPORT-A-BUG.md 2022-03-05 04:58:33 -05:00
rocky
884c15e84a Update toc 2022-03-05 04:57:55 -05:00
rocky
82456c15e1 Reduce check type for 2.5 and update bug reporting 2022-03-05 04:55:11 -05:00
rocky
09c10f51fa Revise README 2022-03-05 04:20:30 -05:00
rocky
3490389a66 Correct some Python 2.6 chain compare bugs 2022-03-05 04:03:27 -05:00
rocky
d366248b47 Some small variable-name changes 2022-03-04 04:47:38 -05:00
rocky
6f112ec5b2 Ensure no parens on subscript slice 2022-03-03 21:05:47 -05:00
rocky
219cb0606a MAKE_FUNCTION_8 -> MAKE_FUNCTION_CLOSURE
Clarity is important.
2022-02-27 10:29:53 -05:00
rocky
ce5207333f Remove TABLE_R0 - it hasn't been used in a while 2022-02-27 10:18:57 -05:00
rocky
f2a70a2758 Sync with decompyle3 for async "for"
More work is needed though
2022-01-18 15:25:51 -05:00
rocky
5b5fa310d9 Partial 3.8 async "for" fixes 2022-01-18 13:08:17 -05:00
rocky
88c0c03ee4 setcomprehension_walk3 -> closure_walk 2022-01-14 07:50:39 -05:00
rocky
a381b4663b Adapt for recent options changes in
-T option structure changed.
2022-01-09 16:01:32 -05:00
R. Bernstein
2fda52bf45
Merge pull request #382 from lostbeta/master
Fix version check comparison
2022-01-09 14:48:42 -05:00
lostBeta
415cba6978 Fix version check comparison 2022-01-09 18:52:48 +02:00
rocky
15761acd0d Revise options processing. Sync with decompyle3
We should now handle passing assembly options or functions and
subroutines more properly.

The "%P" and "%p" specifiers now allow lists of nonterminals like "%c"
and "%C" do.

version was bumped because top-level main parameter args change slightly.
2022-01-09 04:11:09 -05:00
R. Bernstein
1c0fc283b1
Merge pull request #381 from rocky/return-expr
ret_expr -> return_expr
2022-01-03 22:02:43 -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
R. Bernstein
7f42694c25
Merge pull request #380 from rocky/return_expr_lambda
return_lambda -> return_expr_lambda
2022-01-01 22:41:12 -05:00
rocky
3d5b6f4654 return_lambda -> return_expr_lambda
Except those places in 2.6ish code where it is simple a fancy RETURN_VALUE
2022-01-01 21:45:51 -05:00
rocky
51e32b88a4 Include 2.4_run, 2.5_run in testing 2021-12-31 11:39:57 -05:00
R. Bernstein
b7583dfb60
Merge pull request #379 from rocky/elif-transformation-with-continue
Elif transformation with continue
2021-12-31 11:32:23 -05:00
rocky
203139eafa Add tests, comment what's up with change..
and use isinstance()
2021-12-31 11:27:15 -05:00
R. Bernstein
9172f82bae
Merge pull request #378 from dkw72n/wrong_type
Fix #377
2021-12-31 11:07:14 -05:00
dkw72n
d9de4ea245 Fix #377 2021-12-31 16:11:27 +08:00