rocky
e5d82f7613
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-25 08:05:28 -04:00
rocky
e564ac3ab1
Go over long-literal test
2022-04-24 17:50:32 -04:00
rocky
8cdf741b62
Bugs in long-literal handlin
...
Move n_dict to n_actions and special case n_const_list.
Generalize build_collection out of 3.7+ and into all Pythons
2022-04-24 17:38:35 -04:00
rocky
371138cfbc
handle long literal constants faster
2022-04-24 13:11:20 -04:00
rocky
4be5c89efb
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-21 05:40:12 -04:00
rocky
f3ac70d0ea
test tweak again
2022-04-21 05:34:15 -04:00
rocky
c88d9de316
Correct 3.7 "impor"t and "from .. import"
2022-04-20 20:03:28 -04:00
rocky
ae68f1823d
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-04-17 11:35:03 -04:00
rocky
1c1752d6d6
Bump testing version ...
...
pyston 2.3 testing
2022-04-17 10:29:23 -04:00
rocky
81e4169dea
Python 2.4 tolerance
2022-04-16 09:13:06 -04:00
rocky
3c2ed93b34
Python 2.4 seems broken
2022-04-15 08:57:55 -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
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
2efe2b5b47
WIP
2022-03-04 05:07:31 -05:00
rocky
219cb0606a
MAKE_FUNCTION_8 -> MAKE_FUNCTION_CLOSURE
...
Clarity is important.
2022-02-27 10:29:53 -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
54299bb3e6
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-31 11:42:33 -05:00
rocky
51e32b88a4
Include 2.4_run, 2.5_run in testing
2021-12-31 11:39:57 -05:00
rocky
3a80c765ac
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-12-31 11:37:08 -05:00
rocky
203139eafa
Add tests, comment what's up with change..
...
and use isinstance()
2021-12-31 11:27:15 -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
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
8bae4e8d9c
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-25 03:22:46 -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
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
65cf9ac48f
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-21 14:20:04 -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
88dd5d7756
Remove one more float version test
2021-11-16 06:47:31 -05:00
rocky
6bb2605bed
Remove PYTHON3
2021-11-03 03:16:58 -04:00
rocky
47e615bbfc
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-03 03:08:22 -04:00
rocky
8094f3bb12
Remove PYTHON3
2021-11-03 03:00:43 -04:00
rocky
2fbe61aa11
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-03 01:46:03 -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
rocky
96617c0895
Merge branch 'master' into python-3.3-to-3.5
2021-11-03 01:20:09 -04:00
rocky
ed34bf9d4a
use xdis.PYTHON3 not uncompyle.PYTHON3
2021-11-02 06:53:11 -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
9ec8918c1f
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-10-28 18:54:42 -04:00
rocky
9cf345d446
Allow running test from 3.9 and 3.10
...
this does not mean we decompile either of those bytecode though.
2021-10-26 19:05:32 -04:00
rocky
5b657ac7d8
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-10-23 08:42:32 -04:00
rocky
f2750cff50
Correct pytest/test_grammar.py for new regime
2021-10-21 02:28:48 -04:00
rocky
f4bb0c44fe
Try Travis with new xdis
2021-10-12 17:24:19 -04:00
rocky
fe7df87288
Sync 3.8 and Makefile changes with decompyle3
...
Makefile: pyston 2.3 tolerance
fragments: 3.8 comprehension adjustments
2021-07-29 13:16:03 -04:00