rocky
|
e2baccb4e5
|
Reinstate 3.5 tests
|
2020-04-18 23:18:24 -04:00 |
|
rocky
|
17d07eaf00
|
continuing xdis refactor aftermath...
Both 2.7 bytecode broken from the refactor have now been reinstated, but
two 3.5 and 3.6 bytecode have moved into the "todo" category.
|
2020-04-18 18:47:06 -04:00 |
|
rocky
|
7fb50918cd
|
Bug in "async for" indentation
|
2020-02-06 23:54:03 -05:00 |
|
rocky
|
b2e1edb434
|
Fix Python 3.7+ "import as" but keep "import from" working
|
2019-12-28 11:09:31 -05:00 |
|
rocky
|
e93b70bcce
|
Fix Python 3.x pringing superclasses...
class Description: not class Description("Description").
Introduced in not catching LOAD_CONST->LOAD_STR change
|
2019-12-15 10:49:24 -05:00 |
|
rocky
|
e713169bdf
|
Administrivia: go over tests...
Some tests were deferred and are not now
update Python 2.7 standard library tests
|
2019-11-18 12:30:48 -05:00 |
|
rocky
|
24ba5d7f40
|
One more LOAD_CONST->LOAD_STR remnant and...
We're good to go!
All function signatures seem to be working! YAY!
Credit goes to x0ret
|
2019-06-09 18:20:05 -04:00 |
|
rocky
|
af209dc142
|
Bug in 3.5+ generator detection...
Also bug in 3.5 code detection for async attribute
|
2019-06-05 19:08:21 -04:00 |
|
rocky
|
59c77f103d
|
More self-checking run tests
|
2019-04-10 11:49:27 -04:00 |
|
rocky
|
49e354375e
|
More run tests
|
2019-04-10 11:05:46 -04:00 |
|
rocky
|
f3d86e0708
|
Bang on Python 3.8
|
2019-04-10 07:22:43 -04:00 |
|
rocky
|
27f67e6fca
|
Fix some 3.6/3.7 bugs
|
2018-04-19 10:00:40 -04:00 |
|
rocky
|
6b78677a74
|
Work on 3.5+ BUILD_MAP_UNPACK...
bugs still remain, just reduced.
|
2018-04-01 13:41:16 -04:00 |
|
rocky
|
d90c44b454
|
3.5+ handle then before "if" jump going to loop
|
2018-03-27 19:24:29 -04:00 |
|
rocky
|
74f01fbe33
|
Python 3.5 CALL_FUNCTION_VAR handling
|
2018-03-26 07:42:15 -04:00 |
|
rocky
|
cfb4ad625f
|
3.5 *() arg without further args
|
2018-03-25 22:24:32 -04:00 |
|
rocky
|
1f663013ab
|
3.5 CALL_FUNCTION_VAR semantic handling
|
2018-03-24 10:24:16 -04:00 |
|
rocky
|
c03cdf1a49
|
Last 2.6 while1 bug...
before all of 2.6.9 stdlib parses without error.
|
2018-03-06 18:52:27 -05:00 |
|
rocky
|
230a38d537
|
Fix Python 3.5 CALL_FUNCTION_VAR handling
|
2018-02-12 03:07:03 -05:00 |
|
rocky
|
bb45be2dc7
|
Start to handle 3.5+ BUILD_LIST_UNPACK in call ..
to implement multple star arguments
|
2018-02-09 03:41:13 -05:00 |
|
rocky
|
f7999d2754
|
Add custom 3.5 handling for f(*a, *b, *c)
|
2018-02-08 08:42:38 -05:00 |
|
rocky
|
2126e4cf32
|
Fix bug in 3.5+ async stmt ..
and in verification status message
|
2018-01-19 03:15:08 -05:00 |
|
rocky
|
7883e00b44
|
Correct 3.6 FUNCTION_EX handling, somewhat
Some Python 2.4 compatibility snuck in but I suppose that is not so bad
|
2018-01-08 23:20:22 -05:00 |
|
rocky
|
0692727605
|
Stronger while 1 testing...
Make instructions available in reduce tests.
Back off of a while test that was semantically different.
|
2018-01-08 21:54:28 -05:00 |
|
rocky
|
892be78927
|
correct 3.5 CALL_FUNCTION_VAR handling
Sigh, 3.6 changes this so this fix is just for this version
|
2018-01-08 12:24:00 -05:00 |
|
rocky
|
f59174575e
|
Fix 3.5+ bug in if's with pass bodies
Fixes #104 in a somewhat hacky way.
|
2018-01-08 10:21:53 -05:00 |
|
rocky
|
eb5706ee4b
|
Add a missing 3.6 generator rule
|
2017-12-14 12:15:58 -05:00 |
|
rocky
|
390dc9a560
|
Reinstate a 3.5 test
|
2017-12-12 07:34:51 -05:00 |
|
rocky
|
88fbb691d8
|
Fix 3.1 and 3.2 named and kwargs parsing..
Improve 3.4 coverage and note a 3.5 while bug
|
2017-12-07 16:47:56 -05:00 |
|
rocky
|
41bfa3fc01
|
Back off 3.5 control flow for now
|
2017-12-07 15:25:32 -05:00 |
|
rocky
|
b6413b6e6e
|
Skirt around control-flow problems...
Tag some of the weaknesses if we can't address them now
|
2017-12-07 08:55:45 -05:00 |
|
rocky
|
e064791870
|
Fix 10_del.py syntax
|
2017-12-05 22:50:21 -05:00 |
|
rocky
|
bbaa3e6602
|
Fix bug in single param **arg
|
2017-12-05 07:50:22 -05:00 |
|
rocky
|
c953701623
|
Slightly better 3.x list comprehension handling
|
2017-12-04 14:15:06 -05:00 |
|
rocky
|
3425851dc7
|
Python 3.x needs conditional_not
|
2017-12-04 08:40:06 -05:00 |
|
rocky
|
28e573b73c
|
Improve 3.x forelselast coverage
|
2017-12-02 08:53:11 -05:00 |
|
rocky
|
acb4ffb758
|
Better grammar coverage; reduce 3.x mklambda rules
|
2017-11-29 16:39:32 -05:00 |
|
rocky
|
278756be49
|
Administrivia and more coverage
|
2017-11-29 10:12:09 -05:00 |
|
rocky
|
f2eaa09e96
|
Fix import and 3.x class bugs...
import x.y as z was failing across all Python versions
class decorators for Python 3.0..3.3 was failing
reduce 3.x while grammar rules
|
2017-11-29 06:59:05 -05:00 |
|
rocky
|
ad755b27a3
|
Isolaate kv, kv2 and kv3 better
|
2017-11-26 07:13:04 -05:00 |
|
rocky
|
b7003914c9
|
localize 2 and 3 argument BUILD_SLICE...
Nontermninal name matches AST anme now. Add test.
|
2017-11-25 21:10:11 -05:00 |
|
rocky
|
63a43d0c93
|
Profiling workarounds, more coverage ...
test/Makefile: more grammar checking. Update python versions
10_del.pyc add test of DEL_GLOBAL
check_ast.py, pysource.py: Profileing workarounds
|
2017-11-15 03:16:54 -05:00 |
|
rocky
|
5b9f9319a8
|
Reinstate previously failed tests
2.6, 3.5 and 3.6 decompilation has gotten better
|
2017-11-12 16:05:19 -05:00 |
|
rocky
|
9ec43de039
|
bug in 3.x importlists
consts.py: add rule for importlists. imports weren't separated by ', '.
parser.py: Make importlist a list type of node.
test/* add test for importlist
|
2017-11-09 04:42:47 -05:00 |
|
rocky
|
d3794ec9af
|
More explicit about 3.5 UNMAP_PACK
Have to reduce 3.5 bytecode testing for now, code is more solid.
|
2017-05-20 07:40:59 -04:00 |
|
rocky
|
47977b3372
|
Python 3.5 kw arg can be an expr
Fixes Issue #95
|
2017-05-14 11:46:15 -04:00 |
|
rocky
|
246495febd
|
Bang more on BUIlD_MAP_UNPACK
there are still bugs. Note:
{**{'x': 1}, **{'y': 2}} and
{{'x': 1}, **{'y': 2}}
generate the same Python 3.5+ bytecode.
|
2017-05-02 21:55:41 -04:00 |
|
rocky
|
91b86ac156
|
BUILD_MAP_UNPACK'ing of dictionaries in 3.5
|
2017-05-02 05:51:48 -04:00 |
|
rocky
|
364827a2f2
|
Handle BUILD_MAP_UNPACK in a build_list
|
2017-04-29 21:44:52 -04:00 |
|
rocky
|
87db833f62
|
Add await expr
Fixes #111
|
2017-04-22 10:39:20 -04:00 |
|