Commit Graph

3097 Commits

Author SHA1 Message Date
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
rocky
3b96313fd8 Revise README.rst 2021-12-28 23:16:53 -05:00
R. Bernstein
2070208ca3 Update NEW_FEATURES.rst 2021-12-27 19:13:00 -05:00
rocky
88e169adca More verbiage on what we have and what's happened. 2021-12-27 16:28:28 -05:00
rocky
165115289a dict_unmap -> dict_unpack matches Python AST better 2021-12-26 19:03:58 -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
23551ea70f unmap_dict -> dict_doublestar ...
This matches Python's AST (Dict) better. Variations or specializations
of an AST name, e.g. "unmap" should come at the end, not the beginning.
2021-12-23 22:57:15 -05:00
rocky
30aad42aae Sync with other versions 2021-12-23 16:46:25 -05:00
rocky
a3bc9bb32b Add operator precedence to -T output 2021-12-23 16:11:25 -05:00
rocky
8deb940b21 Update and revise HISTORY
Remove some of the older history and put a link to that which is nos
recorded in decompyle-2.4's history.
2021-12-22 21:49:38 -05:00
rocky
b3aaff0201 Sync pysource with decompyle3 2021-12-18 03:03:50 -05:00
rocky
da2314f5ae Part of the decompye3 loop "continue" fixes 2021-12-17 16:13:09 -05:00
rocky
16c900ff1d Propagate show_asm debug option down to functions 2021-12-17 06:07:18 -05:00
rocky
ed5346e526 Another pass clarifying what's okay as bug report 2021-11-30 03:33:20 -05:00
rocky
e718b794f3 Administrivia 2021-11-28 06:20:25 -05:00
rocky
03a71290e9 Admnistrivia
revise add-test.py
2021-11-24 15:12:53 -05:00
rocky
2c4acecc9d Start PyPy 3.8 support 2021-11-23 16:45:01 -05:00
rocky
2d5249f1d3 Small comment change 2021-11-23 07:31:37 -05:00
rocky
223b9e1d88 Extent METHOD_CALL_KW to PyPy 3.8 2021-11-23 07:23:23 -05:00
rocky
211c74c240 Better 3.7 CALL_METHOD_KW handling
- Handles positional args now
2021-11-23 05:06:48 -05:00
rocky
3a63847d22 Tweak last commit 2021-11-22 09:27:16 -05:00
rocky
2ed211e0d4 Some PyPY 3.7 support
* Handle CALL_METHOD_KW
* adjust PyPY 3.7 assert stmts
* misc administrivia
2021-11-21 14:04:34 -05:00
rocky
d752f63d12 PyPy 3.7 scanner bug 2021-11-21 00:06:45 -05:00
rocky
88dd5d7756 Remove one more float version test 2021-11-16 06:47:31 -05:00
rocky
4d351e31cd Administrivia: workflows CI 2021-11-07 10:23:12 -05:00
rocky
69387c4173 Tidy scanner more 2021-11-03 05:03:53 -04:00
rocky
22baad273f Sync with decompyle start using types more. 2021-11-03 04:58:41 -04:00
rocky
8094f3bb12 Remove PYTHON3 2021-11-03 03:00:43 -04:00
rocky
f6f0e344d0 Python 3.6+ specialization 2021-11-03 02:23:19 -04:00
rocky
6af63deaa3 Merge branch 'master' of github.com:rocky/python-uncompyle6 2021-11-03 01:26:06 -04:00
R. Bernstein
9b5d953614 Merge pull request #364 from rocky/PYTHON3-move
use xdis.PYTHON3 not uncompyle.PYTHON3
2021-11-03 01:24:47 -04:00
R. Bernstein
33c61137d8 Merge pull request #364 from rocky/PYTHON3-move
use xdis.PYTHON3 not uncompyle.PYTHON3
2021-11-02 06:57:29 -04:00
rocky
ed34bf9d4a use xdis.PYTHON3 not uncompyle.PYTHON3 2021-11-02 06:53:11 -04:00
R. Bernstein
b4912e7b64 Merge pull request #365 from elfring/Increase_the_usage_of_augmented_assignment_statements
Convert 14 statements to the usage of augmented assignments
2021-11-02 06:51:02 -04:00
Markus Elfring
05761b0d46 Issue #363: Convert 14 statements to the usage of augmented assignments
Augmented assignment statements became available with Python 2.
https://docs.python.org/3/whatsnew/2.0.html#augmented-assignment

Thus adjust 14 source code places accordingly.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2021-11-02 11:25:04 +01:00
rocky
7fd1cea877 Start PyPY 3.7 and 3.8 decompilation support 2021-11-02 06:05:09 -04:00
rocky
470d203b40 Merge branch 'master' of github.com:rocky/python-uncompyle6 3.8.0 2021-10-29 22:19:47 -04:00
rocky
4911d85237 Get ready for release 3.8.0 2021-10-29 22:17:17 -04:00
rocky
93a218a8b1 Get ready for release 3.8.0 2021-10-29 22:16:20 -04:00
rocky
32c4b84458 Better handling of bytecode errors 2021-10-28 18:37:54 -04:00