R. Bernstein
|
4c2f0df3dc
|
Merge pull request #41 from rocky/3.6
Move forward on moagstar's Python 3.6 support
|
2016-08-01 09:16:45 -04:00 |
|
rocky
|
b49d30266f
|
Tidy assembly output a little more
|
2016-08-01 08:42:52 -04:00 |
|
rocky
|
65a16327ce
|
Moagstar's 3.6 wordcode + formattedValue rules
|
2016-08-01 03:16:26 -04:00 |
|
rocky
|
fff09db66e
|
WIP try to keep line numbers the same
|
2016-07-30 14:25:43 -04:00 |
|
rocky
|
3ef0325cb8
|
Small changes
|
2016-07-29 19:54:16 -04:00 |
|
rocky
|
3a6f9d8f24
|
Fix 3.5 misclassifying RETURN_VALUE
We use location of SETUP_EXCEPT instructions to disambiguate.
|
2016-07-29 08:56:23 -04:00 |
|
Daniel Bradburn
|
d14865c1be
|
Starting adding python 3.6 support to uncompyle
|
2016-07-28 09:07:12 +02:00 |
|
rocky
|
152935ab26
|
while1 bug applied to Python 2.3 and 2.4
|
2016-07-28 01:23:29 -04:00 |
|
rocky
|
5c9c0228ee
|
PyPy 3.2 bug confusing RETURN_END_IF for except
Also fix a instruction formatting bug
|
2016-07-28 00:41:40 -04:00 |
|
rocky
|
ac121076e6
|
Split out 3.5 parser
|
2016-07-27 19:09:25 -04:00 |
|
rocky
|
04ae94ee9e
|
Add python 3.4 grammar checking
DRY grammar testing
|
2016-07-27 18:32:15 -04:00 |
|
rocky
|
e8ed17967c
|
Clean and check Python 2.6 grammar
|
2016-07-27 18:03:07 -04:00 |
|
rocky
|
3f7c4209d9
|
Start to segregate and clean up grammar
|
2016-07-27 17:35:21 -04:00 |
|
rocky
|
f33f425692
|
Add is_pypy parameter to places that need it
|
2016-07-27 16:08:40 -04:00 |
|
rocky
|
5ffd9b2be7
|
2.6 and 2.7 while1 grammar rule
Fixes issue #40
|
2016-07-27 13:19:42 -04:00 |
|
rocky
|
87dc5ad80c
|
Start grammar checker
|
2016-07-27 11:02:01 -04:00 |
|
rocky
|
177a422b87
|
Show magic number in output
Fix bugs due to removal of token.format()
|
2016-07-27 09:44:05 -04:00 |
|
rocky
|
3a78332d59
|
tok.format -> tok.__str__; simplify pypy code
|
2016-07-27 09:26:39 -04:00 |
|
rocky
|
5e801b5d74
|
Python 2.7 set comprehension bug
|
2016-07-27 08:36:33 -04:00 |
|
rocky
|
2523b340cd
|
separate semantic action version differences
Added customize_for_version which
uses is_pypy and version to adjust tables
|
2016-07-27 07:32:55 -04:00 |
|
rocky
|
c3f6fa32db
|
Customize tables better for specific Python versions
|
2016-07-27 06:56:02 -04:00 |
|
rocky
|
6dc9d3ab2f
|
Small code clean up
|
2016-07-27 06:01:49 -04:00 |
|
rocky
|
74f440bd0b
|
Usuability fixes
* try using format for __str__
* Explicitly nuke self.attr and self.pattr when no arg
* Sync pysource and format wrt make_function
|
2016-07-26 20:49:41 -04:00 |
|
rocky
|
affc504418
|
Get ready for release 2.7.1
release-2.7.1
|
2016-07-26 17:13:10 -04:00 |
|
rocky
|
ecbbc7dfea
|
Custom PyPy rules for tryfinallysmt, assign{2,3}
|
2016-07-26 16:49:14 -04:00 |
|
rocky
|
6c5bd6289f
|
More PyPy grammar rules
* assert one and two-arg form
* trystmt
Simplify adding multiple grammar rules
|
2016-07-26 10:21:12 -04:00 |
|
rocky
|
9f0b0809b1
|
Instruction formatting - yet again
|
2016-07-25 23:09:34 -04:00 |
|
rocky
|
f0a8505887
|
Add grammar for PyPy 2-arg assert
|
2016-07-25 22:36:02 -04:00 |
|
rocky
|
04cc80b0d6
|
PyPy BUILD_MAP_n. Reinstate bytecode tests
|
2016-07-25 21:53:56 -04:00 |
|
rocky
|
281f429223
|
Handle PyPy BUILD_MAP_0 where actual kw_args > 0
|
2016-07-25 17:50:19 -04:00 |
|
rocky
|
8cfecff9c4
|
Clean up PyPy load_attr grammar rules
|
2016-07-25 16:05:08 -04:00 |
|
rocky
|
116b6eb468
|
Enable more PyPy testing
|
2016-07-25 14:41:27 -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
|
7e1aa6a34d
|
add_custom_rules() in 2.x and 3.x are more alike
|
2016-07-25 09:33:11 -04:00 |
|
rocky
|
476eb50868
|
Handle PyPy JUMP_IF_NOT_DEBUG
Update README.rst to note PyPY and reorganize a little
|
2016-07-25 09:18:03 -04:00 |
|
rocky
|
285444e19a
|
Better assembly formatting of jump instructions
|
2016-07-25 00:36:39 -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 |
|
Daniel Bradburn
|
1be53ca729
|
Merge pull request #1 from rocky/master
Syncing with rocky
|
2016-07-24 16:56:36 +02:00 |
|
rocky
|
808e468e5e
|
add-test: Make sure PyPy bytecode is separated
|
2016-07-24 10:32:35 -04:00 |
|
rocky
|
936b213cec
|
Merge branch 'pypy'
Conflicts:
test/bytecode_2.7/05_for_try_except.pyc
uncompyle6/scanners/scanner2.py
|
2016-07-24 04:27:17 -04:00 |
|
rocky
|
21683719e1
|
Start supporting PyPy 3.2
Add some PyPy 2.7 and PyPy 3.2 bytecode files
|
2016-07-24 04:17:54 -04:00 |
|
rocky
|
9754d27597
|
Merge branch 'pypy' of github.com:rocky/python-uncompyle6 into pypy
|
2016-07-24 03:45:18 -04:00 |
|
rocky
|
7e8173b076
|
Note we need xdis 2.0.0 or greater
|
2016-07-24 03:44:26 -04:00 |
|
rocky
|
ca9888ace4
|
Another 2.7 'continue' detection bug
|
2016-07-23 17:44:42 -04:00 |
|
rocky
|
070b7dab7b
|
Another 2.7 'continue' detection bug
|
2016-07-23 17:42:42 -04:00 |
|
rocky
|
44d95e40e6
|
Another 2.7 'continue' detection bug
|
2016-07-23 17:33:50 -04:00 |
|
rocky
|
f6f3ad362b
|
2.7: Detect "continue" inside except
Fixes issue #38.
This is a bit hacky. We need a more general "continue" detection.
|
2016-07-23 11:02:01 -04:00 |
|