rocky
2bfd0434a7
Merge branch 'python-3.0-to-3.2' into python-2.4
2023-06-30 02:28:10 -04:00
rocky
b0086460de
Exit when version is not supported
2023-06-15 21:32:17 -04:00
rocky
41d26bde79
Lint some files
2023-05-29 11:00:44 -04:00
rocky
948ecf3123
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-03 02:38:24 -04:00
rocky
f6f0e344d0
Python 3.6+ specialization
2021-11-03 02:23:19 -04:00
rocky
2fbe61aa11
Merge branch 'python-3.3-to-3.5' into python-2.4
2021-11-03 01:46:03 -04:00
rocky
ed34bf9d4a
use xdis.PYTHON3 not uncompyle.PYTHON3
2021-11-02 06:53:11 -04:00
rocky
cb411bcd04
Merge branch 'master' into python-2.4
2020-05-19 01:24:08 -04:00
rocky
5a83c7c643
Simplify imports again using xdis 4.6.0
2020-05-19 00:53:53 -04:00
rocky
fe5cea7042
Merge branch 'master' into python-2.4
2020-04-27 23:01:53 -04:00
rocky
9e193fd7cb
Track branch changes in xdis
2020-04-21 22:42:57 -04:00
rocky
0e0c5b91fc
Merge branch 'master' into python-2.4
2020-04-20 23:11:19 -04:00
rocky
1d7e8f1617
Update to use xdis 4.4.0 ...
...
with more correct SipHash and other needed bug fixes.
2020-04-20 10:47:34 -04:00
rocky
f5bcdeec95
Merge branch 'master' into python-2.4
2020-04-16 13:09:07 -04:00
rocky
869e48877c
Convert to use xdis 4.3.0 or greater
2020-04-16 08:41:53 -04:00
rocky
a1532bbfea
Merge branch 'master' into python-2.4
2018-02-27 10:40:40 -05:00
rocky
c43c9a19aa
Move to GPL3 license
2018-02-27 06:40:36 -05:00
rocky
eb7484c671
Merge branch 'master' into python-2.4
2018-01-27 11:47:57 -05:00
rocky
cb27f244dc
Go over verification routines again
...
Add meager verify-run tests for those versions. More tests will follow
2018-01-24 06:20:38 -05:00
rocky
8e2f78ceba
Add Python 2.4 importmultiple rule
2017-12-02 14:19:32 -05:00
rocky
36aba02093
Correct Python 2.4 importmultiple rule
2017-12-02 14:17:59 -05:00
rocky
c0e553dbb5
Merge branch 'master' into python-2.4
2017-11-13 10:11:00 -05:00
rocky
95268cb14e
In verify, JUMP_BACK is the same as CONTINUE...
...
at least for now. See FIXME in verify
2017-10-29 21:34:34 -04:00
rocky
47f1d888eb
Merge branch 'master' into python-2.4
2017-10-12 07:05:34 -04:00
rocky
9e0c65881d
Sync with master
2017-10-10 22:52:07 -04:00
rocky
1392b18bd7
Adjust for spark-parser 2.7.0 incompatabilities
2017-10-10 14:14:26 -04:00
rocky
0654aed6c8
Get ready for release 2.12.0
2017-09-25 20:08:50 -04:00
rocky
7b38d2f1f8
Adjust for xdis opcode JUMP_OPS. release 2.12.0
2017-09-25 20:01:31 -04:00
rocky
d6c45979ba
Merge branch 'master' into python-2.4
2017-05-06 07:16:39 -04:00
rocky
b35546157f
LOAD_ASSERT can also be an expr
...
This may have the undesirable property that assert statements might get
tagged with equivalant low-level Python code that uses "raise
AssertionError", but so be it.
Fixes #103
2017-04-22 20:03:21 -04:00
rocky
f7a910ec66
Merge branch 'master' into python-2.4
2017-03-01 05:55:26 -05:00
rocky
160ec0d9cc
COME_FROM for 3.x POP_EXCEPT, DRY with op_name() ...
...
Start adding COME_FROMs for POP_EXCEPT in preparation for
getting tryelse blocks correct.
Simpler opname access functions:
- self.op_name(op) is self.opc.opname[op]
- self.op_name_from_offset(offset) is self.opc.opname[self.code[offset]]
verify.py: not all offsets are ints
2017-03-01 05:50:31 -05:00
rocky
0fa0641974
Merge branch 'master' into python-2.4
2017-01-29 22:05:55 -05:00
rocky
597d51951e
Improve Python 2.6 & 2.7 verification
2017-01-23 02:32:09 -05:00
rocky
cc2321f49e
Fix up Python 3.0 handling
2017-01-22 03:45:40 -05:00
rocky
6ed129bd7a
2.4 verify hacks
2017-01-02 07:15:46 -05:00
rocky
a7d93e88b4
Merge branch 'master' into python-2.4
2017-01-02 05:39:13 -05:00
rocky
b00651d428
Merge master branche
...
Handle 2.2 list_if
2016-12-31 05:19:21 -05:00
rocky
a92e6c9688
Bugs in Python 2.6- "and" and "lambda" handling ..
...
and clean up verify output
2016-12-28 04:54:11 -05:00
rocky
2f51067a9d
Scanner call fixes. NAME_MODULE removal for <=2.4
2016-12-25 09:20:57 -05:00
rocky
c8a4dcf72b
Removing NAME_MODULE, lint and bug fixes
...
scanner*.py: show_asm param is optional
verify.py: call correct scanners
main.py, verify.py: Use older Python print statements
2016-12-25 09:16:04 -05:00
rocky
b3bda76582
Merge branch 'master' into python-2.4
2016-12-16 22:56:07 -05:00
rocky
92166452c1
two misc changes
...
- track print_docstring move to help (used in python 3.1)
- verify: allow RETURN_VALUE to match RETURN_END_IF
2016-12-11 08:22:26 -05:00
rocky
263c63e009
Back of some of the verification changes
2016-12-09 21:43:22 -05:00
rocky
813bce4697
Merge branch 'master' of github.com:rocky/python-uncompyle6
2016-12-09 21:13:31 -05:00
rocky
a5d2237435
Python 3.x else clause detection and..
...
- Strengthen verify check.
- weak verification on Python 3.5 for now
2016-12-09 21:10:10 -05:00
rocky
1a8a0df107
Merge branch 'master' into python-2.4
2016-12-04 13:40:06 -05:00
rocky
d22931cb49
Get ready for release 2.9.7
...
Some of the many lint things. Linting is kind of stupid though.
2016-12-04 09:36:30 -05:00
rocky
460069ceaa
Bug in 2.4 "if" dectection and...
...
Wrong language used in old-style exceptions: use "except Error,e" not
"except Error(e)""
2016-11-24 05:15:35 -05:00
rocky
a9349b8f3d
Making it run on Python 2.4 and 2.5
2016-11-23 07:53:51 -05:00