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 |
|
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
|
6cbb631aa6
|
In lambda code we, no stinking bogus yield
|
2020-02-09 07:32:06 -05:00 |
|
rocky
|
7dee584a46
|
3.7+ "or" handling in listcomp
|
2020-01-09 03:15:30 -05:00 |
|
rocky
|
566143b515
|
Python 3.7+ optimized if in comprehension
|
2019-12-28 18:09:00 -05:00 |
|
rocky
|
79c38441b5
|
Better "assert" transformation. More 3.8 tests
|
2019-12-10 10:43:01 -05:00 |
|
rocky
|
065fd13b81
|
Small tweaks
|
2019-11-12 17:04:35 -05:00 |
|
rocky
|
659f37585b
|
Bug in 3.0 rule in "jump_absolute_else" ...
and disallowing "else" to the wrong place.
|
2019-11-12 16:31:43 -05:00 |
|
rocky
|
144f52da8e
|
More 3.0 control flow pattern fixups
|
2019-11-12 06:08:30 -05:00 |
|
rocky
|
9f250b49ee
|
Cope more JUMP/POP_IF not being in 3.0...
more is probably needed though.
|
2019-11-11 19:58:35 -05:00 |
|
rocky
|
4abdffecb9
|
More 3.0 control-flow rules...
Much more is needed though
|
2019-11-11 19:07:58 -05:00 |
|
rocky
|
1419acf019
|
More Python 3.0 for JUMP elimination ...
here, in except blocks.
|
2019-11-11 13:50:48 -05:00 |
|
rocky
|
bdc24d7f51
|
Add 3.0 gen_comp_body rule.
|
2019-11-11 05:10:54 -05:00 |
|
rocky
|
07ec8fa1fb
|
More Python 3.0 custom "if" statment handling.
|
2019-11-10 18:44:43 -05:00 |
|
rocky
|
04c2240d63
|
Python 3.0 if/else handling
|
2019-11-10 17:23:33 -05:00 |
|
rocky
|
efa964f7c9
|
del handling in 3.0 and add tests
|
2019-04-23 19:12:12 -04:00 |
|
rocky
|
b9e8e619f6
|
Add a 3.0 test
|
2018-07-03 15:45:27 -04:00 |
|
rocky
|
40fa379fd9
|
Add 3.0 comp_if_not grammar rule
|
2018-06-24 07:28:58 -04:00 |
|
rocky
|
c148e49670
|
Python 3.0 chained comparisions
|
2018-06-23 07:38:34 -04:00 |
|
rocky
|
fa5da2b1ef
|
Fix 3.0 try except bug
|
2018-06-23 00:06:35 -04:00 |
|
rocky
|
92d63ac598
|
More 3.0 grammar fixes...
3.0 is such as snowflake
|
2018-06-10 05:26:00 -04:00 |
|
rocky
|
5919be1451
|
Fix chained compares with -'s
|
2017-12-02 12:06:01 -05:00 |
|
rocky
|
acb4ffb758
|
Better grammar coverage; reduce 3.x mklambda rules
|
2017-11-29 16:39:32 -05:00 |
|
rocky
|
11e2637eeb
|
NT augassign -> aug_assign to match AST
|
2017-11-29 10:51:38 -05:00 |
|
rocky
|
1823513841
|
3.x Grammar reduction of custom rules...
by looking for token patterns GET_ITER CALL_FUNCTION_1
|
2017-11-23 07:47:38 -05:00 |
|
rocky
|
80a4ad4f1b
|
Python 3.0 while1 if bug...
Is a workaround. We really need more tagging in of SETUP_LOOP and COME_FROM.
|
2016-11-13 01:28:36 -05:00 |
|