rocky
949b9b504e
Nuke Travis 3.2 and 3.3 testing for now
2016-05-28 01:16:25 -04:00
rocky
b18b3e5d47
xdis for Python 3 opcodes
2016-05-28 01:14:18 -04:00
rocky
64191aa2d3
use xdis 3.4-3.5 opcodes
2016-05-28 00:58:27 -04:00
rocky
8e2c6aaa96
More travis versions
2016-05-27 19:24:39 -04:00
rocky
4398b5b2e0
Use xdis for code, magics, and marshal
2016-05-27 19:18:06 -04:00
rocky
eebe8249a8
Merge branch 'master' of github.com:rocky/python-uncompyle6
2016-05-25 20:08:37 -04:00
rocky
b6a0c5a704
Remove bytecode that doesn't exist on CircleCI
2016-05-25 20:08:12 -04:00
R. Bernstein
450d103760
Merge pull request #21 from rocky/fragments-state-fix
...
Fixed bug in pysource / fragments where the use of deparse_code from …
2016-05-25 19:00:33 -04:00
Daniel Bradburn
ebee84228b
Fixed bug in pysource / fragments where the use of deparse_code from fragments could break subsequent calls to deparse_code from pysource due to amending to the global TABLE_DIRECT.
2016-05-25 20:48:35 +02:00
rocky
79593d6ef1
Small change
...
0 shouldn't be used as False.
2016-05-24 12:38:44 -04:00
rocky
79f4893cd9
final RETURN removal bug
...
We want to remove a final return from a module, but otherwise not.
Note we'll no lonager be able to verify functools.pyc as there
is now a return after a raise statement. That will have to be
delt with separately.
May address Issue #17 .
2016-05-23 22:41:46 -04:00
rocky
544cb334e8
pydisassemble is in pyxdis now
...
Some small ReST tag fixes
2016-05-22 18:12:42 -04:00
Daniel Bradburn
fd9ecdecc7
Excluding experimental branch from travis ci
2016-05-22 01:03:59 +02:00
Daniel Bradburn
bec66bfb44
Excluding experimental branch from travis ci
2016-05-22 00:52:28 +02:00
Daniel Bradburn
913decaaec
Merge pull request #16 from rocky/multi-gen--bug-3.5
...
Fix 3.x generator bug...
2016-05-21 20:40:17 +02:00
rocky
b6e7f365c5
Remove the JUMP_ABSOLUTE in comp_for altogether
...
Supposition is this was added as a result of a bug in my code from
earlier.
If we find we need it, we'll add it back again.
2016-05-21 05:45:56 -04:00
rocky
09f6286bec
Fix 3.x generator bug...
...
found by Daniel Brandburn. See
af61622960
2016-05-21 05:09:27 -04:00
rocky
95bc1a76cb
Check Python version in uncompile.py
...
Seems this is the only place that uses that.
2016-05-21 04:37:21 -04:00
rocky
207edbd53d
Small changes
...
test_pyenvlib.py: cleanup code a little
uncompyle6/main.py: more explicit decompile msg
2016-05-20 22:19:17 -04:00
rocky
68ff878b3e
Small pyflakes stuff
2016-05-20 21:37:46 -04:00
rocky
f834b46b84
Fragment fixes
...
fragments.py:
* Use "%x" specifier if for iterators
* Add '%D' interpretation
pysource.py:
TABLE_DIRECT can get messed up from running fragments
duplicate "%x" specifier to igore fragment stuff
2016-05-20 06:18:41 -04:00
rocky
6956e88e0e
Small changes and administrivia
2016-05-19 08:40:20 -04:00
rocky
1121ff2456
Handle marshal frozenset
2016-05-18 17:01:40 -04:00
rocky
fbcdc7a181
Allow PyPy 2.7 opcodes and magic and ...
...
disas.py:
* more aggressive code checking
magics.py:
* Add PYPY magic
opcodes_27.py:
* Add PYPY opcodes
2016-05-18 15:04:06 -04:00
rocky
06edeeeb46
Get ready for release 2.4.0
release-2.4.0
2016-05-18 12:46:23 -04:00
rocky
b629a0c5df
Add 3.5 to verify
2016-05-18 10:59:57 -04:00
rocky
a08ece371e
pydisassemble improvements; DRY scannners
...
disas.py:
- disassembles *all* code objects found
scanner*.py:
- no longer need to pass in version numbers; this
is obtained from the class name
- no longer pass in opcodes; this is done at
initialization from the scanner name
- all Pythoin 3 scanners support native disassembly
2016-05-18 10:58:48 -04:00
rocky
d42f84a59c
Go over disassembly routine...
...
* tok.py:
- add arg value when it is an integer
* pydisassemble.py:
- add option -U --uncomplyle for which flavor of disassembly
- remove -o option
* scanner27.py:
- allow for native (non-uncompyle6) output
2016-05-17 22:52:16 -04:00
rocky
a3dd61c981
Fix marshal bug in handling complex numbers
2016-05-17 19:25:34 -04:00
rocky
9462e33f48
Fix Python 3.x bugs
...
* class definitions made via closures
* Add "make check-short" to top-level
* parse3.py: Python 3.3 uses STORE_LOGALS
2016-05-17 04:00:54 -04:00
rocky
f69c76c351
Fix a number of small bugs...
...
test_peynv.py: make Python3 compatible
marsh.py: remove duplicate test
scanner3.py: fix opcode typo
2016-05-16 21:31:02 -04:00
rocky
09bf364d89
Fix Python 3.x bug in function VAR and KW args
2016-05-16 20:41:22 -04:00
rocky
3d261a38c7
Readd some 3.x loop tests
2016-05-16 20:20:53 -04:00
rocky
bb384bc0b3
pytest for last commit
2016-05-16 19:44:35 -04:00
rocky
09a01dc783
Correct bugs in Python 3.2 source generation
2016-05-16 15:50:45 -04:00
rocky
73d784510a
Travis can't handle pytest on Python 3.5
2016-05-16 13:48:00 -04:00
rocky
bdd7df6040
Python 2 loop scanner detection in Python 3
...
scanner*.py: Make scanner27 and scanner3 more aligned
Makefile: we can run py.test on Python 3.5
HISTORY.md: grammar changes
2016-05-16 13:40:55 -04:00
rocky
134b67d952
Misc small changes
...
Go over history yet again
code cleanups.
2016-05-16 10:15:55 -04:00
rocky
ebfe5e3ba8
Python3 mklambda bug
2016-05-15 21:16:53 -04:00
rocky
b5eaa9445d
Python 3 genexpr bug
2016-05-15 20:59:28 -04:00
rocky
007328b353
Correct info on parser
2016-05-15 19:44:18 -04:00
rocky
6be6632e96
Bug in Python 3.x genexpr
2016-05-15 19:35:45 -04:00
rocky
2c121545f0
Fix bug in Python 3 lambda expression handling
...
Some other small cleanup changes
2016-05-15 18:14:22 -04:00
rocky
bb31629c35
pydisassemble disassemble without grammar mangling
...
Some other small cleanups as well
2016-05-15 13:55:21 -04:00
rocky
56dc270145
Fix verify bug in 3.2
2016-05-15 06:40:12 -04:00
rocky
4cba5a28ef
3.4 if/while bug
2016-05-15 05:37:44 -04:00
rocky
e79cecbb71
force Travis 2.7.11 for Python 2.7
2016-05-15 04:28:32 -04:00
rocky
38a5180e02
Add more Python 2.7 verify tests
2016-05-15 04:24:29 -04:00
rocky
2fdcdcb154
Fix bug in kvlist handling on Python 2.7
...
Created from previous DRY code in Python 3
2016-05-15 03:47:30 -04:00
rocky
b9692c9b1f
DRY scanner34 and scanner35
...
handle 3.0..3.4 build maps as key/value pairs
2016-05-15 03:29:08 -04:00