rocky
c03a8186b5
Address whileTrue if cond .. -> while cond .. bug
...
Reinstate Python standard library bisect test
2016-09-25 16:59:32 -04:00
rocky
fa1a6347e9
Weaken testing for controlfow branch
...
We have more equivalent programs now
2016-09-23 04:58:29 -04:00
rocky
760532b218
Add COME_FROM_LOOP
...
Note: we have regressed in --verify and some tests,
but I believe that's because we are producing more equivalant
(if uglier) programs. That's a separate problem though.
2016-09-22 08:24:02 -04:00
rocky
dd661bc94a
Start accepting Python 3.1 bytecode
2016-09-09 15:32:46 -04:00
rocky
57d1f3b9f9
More testing
...
- travis:
* 2.7.12 - bump from 2.7.11
* 3.3.6
test_pyenvlib: add --weak-verify to
Makefile: check-3.2.6 needs --weak-verify
2016-09-08 05:09:36 -04:00
rocky
ddc5460030
Start to handle Python 3.1 bytecode
2016-08-26 20:50:08 -04:00
rocky
0958dc889d
Back off of 3.6 testing for now
2016-08-13 23:33:23 -04:00
rocky
a45ee15cf2
I said - we test 2.2 now.
2016-08-13 09:14:33 -04:00
rocky
fb5ad76c4e
Include Python 2.2 in testing
2016-08-13 09:07:15 -04:00
rocky
65a16327ce
Moagstar's 3.6 wordcode + formattedValue rules
2016-08-01 03:16:26 -04:00
rocky
3ef0325cb8
Small changes
2016-07-29 19:54:16 -04:00
rocky
2509d212e5
Start checking PyPy bytecodes
2016-07-25 13:35:02 -04:00
rocky
96b83c3d85
Add pypy scanners
2016-07-25 13:29:03 -04:00
rocky
a3e10db8dc
Handle PyPy CALL_METHOD op more correctly
...
Start testing pypy2.7 and 3.2 bytecodes
2016-07-25 13:05:54 -04:00
rocky
aed4d23c34
More PyPy LOOKUP_METHOD rules
2016-07-24 20:59:44 -04:00
rocky
1c50e34c30
PyPy support
...
* Use proper PYPY 32 opcodes
* handle opcodes LOOKUP_METHOD and CALL_METHOD
* Administrative stuff for PyPy
2016-07-24 18:54:51 -04:00
rocky
cd8cbf9200
Add 3.5 matrix mult ops
...
We now run 3.5 verifycation so we need to remove some
of the tests that fail to verify pending fixing.
2016-07-15 12:12:19 -04:00
rocky
29990c8da0
3.x __qualname__ = supression
...
Class names have become more complicated so the pattern test
needs to be more complex as well. Sigh
2016-07-14 12:57:48 -04:00
rocky
ac45e5757c
Redo Python 2.3 to be more like the rest
2016-07-09 09:11:04 -04:00
rocky
d6b35d57e4
DRY scanner code. Allow 2.4 decompile from 3.x
2016-07-08 21:37:09 -04:00
rocky
62e60817f6
Start handling Pyton 2.4 bytecodes
2016-07-08 15:00:23 -04:00
rocky
bdd8a9f2a0
Can't handle python 2.3 on 3.x for now
2016-06-03 10:55:13 -04:00
rocky
ebcb1d08f4
Limited support for Python 2.3
2016-06-03 10:20:52 -04:00
rocky
69bb74c86e
DRY scanner25 and scanner26 more
2016-05-29 22:18:36 -04:00
rocky
64191aa2d3
use xdis 3.4-3.5 opcodes
2016-05-28 00:58:27 -04:00
rocky
4da2b8e2ed
Python2 comptability in using Python 3 disassembly
...
Also fixes ablility to run bytecode 3.5 tests from 2.x now
For Python 2 reading python3 bytstrings, we need to
make sure we confer the character to a number.
2016-05-14 20:43:14 -04:00
rocky
6f3a88d7e2
Fix up 3.2 tests
...
Remove pypy
2016-05-05 04:41:23 -04:00
rocky
119bb9bb26
Bug
2016-05-01 21:14:25 -04:00
rocky
4455b5e280
Add test for last fix.
...
Drop 2.5 test until we figure out what's wrong
2016-05-01 21:07:10 -04:00
rocky
4aa703d727
Test optimized Python code and Python 3.2
2016-04-30 06:54:01 -04:00
rocky
4e57c3da5b
remove uncompyle3 and make test work again
...
* uncompyle3 removed by request
* make test on python 2.7 is failing on some python3 and python3.5
bytecodes. Remove for now.
2016-03-11 02:10:07 -05:00
rocky
551e2174cb
Add Python 3.5 tests that we can do.
2016-01-07 04:32:20 -05:00
rocky
bc2a36b9f7
Start 3.4 library verify tests
2016-01-02 16:48:59 -05:00
rocky
54a0af733b
Verify 3.4 bytecode. verify API call bug fixed.
2016-01-02 07:50:09 -05:00
rocky
b82a8b90d5
Allow Python 3.5 to decomplyle other versions. No Python 3.5
...
bytecode support just yet though.
2015-12-30 23:46:29 -05:00
rocky
a30f3625ac
Fix Python 2 cross deparsing pythond bytecode tuples co_consts,
...
co_names, co_varnames. Reinstate cross Python 2-3 uncompiling
2015-12-29 22:11:45 -05:00
rocky
34841abe14
scanner3: Python 2.6 compatibility: change set initializations. Get rid
...
of * import
opcode_*: only a little of the much-needed larger cleanup
Makefile: remove 3.x bytecode checking from Python 2.x for now. DRY
Makefile a little bit (but more is needed)
2015-12-29 08:30:49 -05:00
rocky
4640e7dece
Running native on Python 3.3 needs more work
2015-12-26 19:32:32 -05:00
rocky
ce8c7a4dc2
Add ok-2.7 tests for 3.4 full testing
2015-12-26 19:25:46 -05:00
rocky
6bd61deccc
Add verify tests. Add Python 2.6 bytecode and use.
2015-12-26 19:14:53 -05:00
rocky
69a8404edb
For testing we can't 3.3 bytecodes on 2.7 yet, so use 3.2
2015-12-26 10:24:02 -05:00
rocky
008bd79719
Fix up Python 3.2, 3.3, and 3.4 cross-version scanners
...
Try travis 2.6 and 3.3
2015-12-26 10:19:26 -05:00
rocky
ea8bea4cd8
Get ready for releaes 2.0.0
2015-12-25 00:31:29 -05:00
rocky
4f0fe90eef
Add spark option to show grammer. Revise uncompyle options. Start to reorganize
...
tests more
2015-12-22 03:56:50 -05:00
rocky
1456f820f2
Start Python3 slices. Split off token routine.
2015-12-21 12:17:57 -05:00
rocky
9cdcdfd305
Part of a much needed cleanup. Move semantics routines into its own
...
directory. Move out lots of stuff from __init__ to their own files.
Add file loading tests. Document AST handling a tad more complete.
2015-12-20 23:03:35 -05:00
rocky
6910e1b1b4
Python 3 decompilation from Python2
2015-12-20 18:18:40 -05:00
rocky
21920b5852
First list comprehensions from Python3. More test makefile hacking
2015-12-20 17:16:05 -05:00
rocky
7880e0d7b1
Go over makefiles to make "make check" work. walker, deparser: use zip_longest
2015-12-20 12:07:49 -05:00
rocky
6bc425b45e
marshal.py: Python2 marshal code shouldn't try to turn a code object
...
into a string. parse3.py: handle both keyword and positional function
calls. scanner34.py: Remove extra level of quoting in LOAD_CONST.
Keyward handling now works cross Python 2/3. Some other spelling and doc fixes.
2015-12-18 21:20:12 -05:00