rocky
eb3dac062d
More Administrivia
2020-01-07 10:13:25 -05:00
rocky
65e3e5fe5b
Update runtests.sh again
2020-01-07 06:25:49 -05:00
rocky
8c5873333f
Reduce exceptions in runtest.sh for 2.7
2020-01-07 04:49:04 -05:00
rocky
9a77dfaf95
Use copysign() in 2.6 nuke -0.0 test if < 2.6
2020-01-07 04:39:34 -05:00
rocky
14468fe8c9
Go over 2.5 for reduction rules and tests
2020-01-06 23:34:18 -05:00
rocky
19cac525ee
Accomodate "return" in an except handler
2020-01-06 18:57:05 -05:00
rocky
8e2c290e96
Disambiguate 2.7 "try" and "try/else"
...
will expand to other 2.x versions later
2020-01-06 18:29:10 -05:00
rocky
a3beccc874
Another case where we need code to set the generator bit..
...
via a dead-code "yield".
2020-01-06 17:22:50 -05:00
rocky
839eb6fe0b
bogus "yield" insertion not needed in 2.x
2020-01-06 15:02:40 -05:00
rocky
078cca335a
Seomtiems we need to add "yield"...
...
in order to get the generator bit flag set, such as in 3.x where the
yield is optimized away.
2020-01-06 14:57:11 -05:00
rocky
63a88b8eea
Some Python 3.x lambda params are in reverse order
2020-01-06 10:54:14 -05:00
rocky
67c047df75
Python 2.4- doesn't have condition expresions
2020-01-06 04:43:52 -05:00
rocky
444bab760b
Update runtests.sh exception list
2020-01-05 21:25:34 -05:00
rocky
2e0c0f8245
What's up with test_generators.py
2020-01-05 21:17:28 -05:00
rocky
3c5ad58e25
Add 2.x if vs if/else reduction rule check
2020-01-05 21:07:24 -05:00
rocky
962c503133
Small typo
2020-01-05 18:57:04 -05:00
rocky
4f545c5bfa
Get ready for release 3.6.2
3.6.2
2020-01-05 18:40:07 -05:00
rocky
bbfdb814bf
Fix 3.4+ keyword-only parameter handling
2020-01-05 15:54:31 -05:00
rocky
d088e7ef11
Better 3.x if/else reduction rule checking
2020-01-05 13:27:50 -05:00
rocky
6646d18c7a
More complex complex test
2020-01-05 11:54:41 -05:00
rocky
716e097654
kwonly args in lambas for 3.3..3.5
2020-01-05 11:17:33 -05:00
rocky
dba95c5200
3.7+ imports yet again
2020-01-05 00:13:53 -05:00
rocky
d5df411c7a
3.7+ multiple imports of dotted path
2020-01-03 23:22:28 -05:00
rocky
077f192711
Improve 3.7+ dotted imports
2020-01-03 21:22:55 -05:00
rocky
498df35a6c
Update runtests.sh failures for 3.7
2020-01-03 09:31:11 -05:00
R. Bernstein
7e71ce3260
Merge pull request #301 from rocky/decompyle6-2020-merge
...
Decompyle6 2020 merge
2020-01-03 09:06:39 -05:00
rocky
825add1af7
3.7+ "if not" in list comprehension and other bug fixes
2020-01-03 09:01:48 -05:00
rocky
1a901bde8f
remove unused rule found by grammar check.
2020-01-03 01:02:31 -05:00
rocky
732b5165c2
Fix a 3.7+ chained compare bug...
...
others remain though.
2020-01-03 00:55:45 -05:00
rocky
7bd81efe9b
3.7+ "from import" vs "import as" disambiguation
2020-01-02 09:43:37 -05:00
rocky
c42e16fafe
Fix 3.7+ import as
2020-01-01 22:59:07 -05:00
rocky
6de57249ed
Start 3.6+ var type annotations and decompyle3 merge...
...
Although overall an improvement, some new breakage
has occurred and should be fixed.
2020-01-01 01:42:00 -05:00
rocky
faf6ea9630
imports for 3.7+ again
2019-12-29 01:28:05 -05:00
rocky
566143b515
Python 3.7+ optimized if in comprehension
2019-12-28 18:09:00 -05:00
rocky
b2e1edb434
Fix Python 3.7+ "import as" but keep "import from" working
2019-12-28 11:09:31 -05:00
rocky
62c249d6b2
Simplify make_function3 by customization
...
We now have different routines for 3.6+
(and 2.x from before).
This is desirable before fixing 3.0..3.5 lambdas with default
paramerts and * args.
2019-12-27 13:02:59 -05:00
rocky
db2fdb30fd
Tidy code.
...
* Don't use "str" as a variable name
* blacken helper and alphabetically order fns
* use helper function `find_code_node()` in transform `mk_func()`
2019-12-27 12:38:09 -05:00
rocky
37301ab49e
Was dropping docstrings! Add in decompyle make_function36
2019-12-27 11:41:03 -05:00
rocky
97e3a7eb02
Split out make_function.py into v2 and v3 versions
...
A custom 3.3 make_function will be coming soon.
2019-12-27 03:32:15 -05:00
rocky
f98f7372c3
Administrivia
3.6.1
2019-12-24 12:52:32 -05:00
rocky
f88df747b8
Administrivial typo
2019-12-24 12:47:07 -05:00
rocky
6be3656ceb
Get ready for release 3.6.1
2019-12-24 12:42:05 -05:00
rocky
8b48f62fc8
lambda *args with kwargs in 3.4 and 3.5
2019-12-23 20:51:03 -05:00
rocky
868721595d
Fix grammar rule for "expr GET_ITER" in 3.1+
2019-12-23 11:52:27 -05:00
rocky
9f270dce4a
Go over full-version testing
...
When all versions, do less, but do the run tests. Overall overall
better.
Get rid of the tests that were the most problematic with hypothesis.
Hypothesis just doesn't run on enough versions and needs specific
versions for things we do use
2019-12-23 10:46:33 -05:00
rocky
bffbd0b352
3.6+ lambda params; add semantic rule customizing for lambdas
2019-12-23 07:19:40 -05:00
rocky
50fbea1a06
Python lambda *arg handling
2019-12-23 05:33:20 -05:00
rocky
ddffc2c078
blacken main.py
2019-12-23 04:44:40 -05:00
rocky
d9318e9bed
Fix up better_repr tuple and list for singletions
2019-12-22 21:22:55 -05:00
rocky
c078048fb0
Fixes in 3.5+ lambdas break 3.3-. Deal with later.
2019-12-22 13:31:49 -05:00