rocky
535df1592e
Another 3.6 control-flow bug...
...
and add source to some previous bytecode tests
2018-03-31 19:28:35 -04:00
rocky
5fe8303184
Two bugs and a refactor ..
...
1. parse2.py: try except in a loop with a (virtual) continue
treat CONTINUE like JUMP_ABSOLUTE which it is
2. in taking methods off of constants, a parenthesis needs to be added
Some refactoring of global code done
2017-12-03 10:46:22 -05:00
rocky
5b916567fe
NT try-middle -> except-handler to match AST
2017-12-03 06:30:33 -05:00
rocky
eafb32b9a0
NT trystmt -> try_except to match AST
2017-12-02 22:20:45 -05:00
rocky
03a5ad3d94
NT funcdef -> function_def to match AST
2017-12-01 21:36:23 -05:00
rocky
9491c67779
More COME_FROM's in Python 3...
...
Need this to find boundaries of simple if better
2017-02-20 04:17:46 -05:00
rocky
da9aeecc60
<= 2.6 weird jump out of try block
...
Allow COME_FROMs to appare via JUMP_FORWARD in
tey/except blocks
2016-06-30 06:21:13 -04:00
rocky
bd809dc08b
Another 3.x bug involving jumps
2016-06-19 17:47:43 -04:00
rocky
f8ccb8065e
3.4 tryifelse bug
2016-06-19 11:15:36 -04:00
rocky
657eeb7de8
Towards Python3 getting try/except working more often.
2015-12-30 09:46:52 -05:00
rocky
7a2703634f
Fix up looping by reinstating JUMP_ABSOLUTE -> JUMP_BACK or CONTINUE
...
get jump offsets into jump attributes. Fix up 3.2 scanner paritally
and use that in 3.4 for in cross version disassembly.
2015-12-26 03:06:03 -05:00
rocky
fe9c8d5734
Python3 try/except handling improvements. Add Walker exception and use
...
that: fixes erroneous uncompyle success message on parse error.
2015-12-26 00:12:02 -05:00
rocky
0409cee6a9
WIP redo try/except for Python3
2015-12-25 17:57:53 -05:00
rocky
c0d50c4d96
Improve Python3 class definition handling
2015-12-24 19:21:36 -05:00
rocky
0c45fcfab9
WIP: Python3 exceptions
2015-12-23 20:08:07 -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
6a49cd2c69
Bug in for loop with try. Add more of 2.7's COME_FROM statements.
...
spark.py: add tracing reduce rules. main: reduce cutsines.
Start history
2015-12-21 21:08:08 -05:00
rocky
6b0bb124ea
Start Python3 execption handling
2015-12-21 15:41:21 -05:00
rocky
d75083c9db
Regularize test names.
2015-12-21 12:34:19 -05:00