Commit Graph

325 Commits

Author SHA1 Message Date
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
rocky
b16a166d84 Optimize Python 2/3 code2num 2016-05-15 02:25:39 -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
1d9ab4e1d1 Start to DRY Python 3.4 and 3.5 scanners 2016-05-14 16:55:44 -04:00
rocky
51df8d8cbe See if travis will take spark 1.2.1 2016-05-14 15:28:16 -04:00
rocky
b69001ccbf Fix names for <program> -V 2016-05-14 00:53:46 -04:00
rocky
8c560a4791 Fix botched entry point names
Get ready for relase 2.3.6
2016-05-14 00:42:13 -04:00
rocky
931eb4a7e5 Get ready for release 2.3.5 release-2.3.5 2016-05-14 00:13:39 -04:00
rocky
2db380a77f More fragment bugs 2016-05-13 23:55:27 -04:00
rocky
de0ec195b7 More packaging crap.
Did I tell you how much I hate python packaging?

fragments.py: track recent change in class decorators.
2016-05-13 23:35:31 -04:00
rocky
e0eba6998f Python packaging - yet again.
Did I ever mention how much Python sucks at packaging?
2016-05-13 22:59:15 -04:00
rocky
e1a2860013 Test for class decorator
See https://github.com/rocky/python-uncompyle6/pull/15
2016-05-13 16:25:07 -04:00
R. Bernstein
cce40bef21 Merge pull request #15 from Tey/master
Fix for class decorators
2016-05-13 16:18:00 -04:00
Teyut
ca10f5652f Fix for class decorators 2016-05-13 17:59:12 +02:00
rocky
05898dc7cb Back off spark 1.2.0 for now 2016-05-12 13:06:13 -04:00
rocky
37406557bc More small changes 2016-05-12 12:59:31 -04:00
rocky
7929e4b57d Clean up test byte-compile directory 2016-05-12 11:40:54 -04:00
rocky
5babde61c4 Misc changes
Back off of some validation tests for now.
2016-05-12 11:22:00 -04:00
rocky
6f6f1db576 Misc fixups/cleanups
* parse3.py Had botched if-for-else test by grammar addition
* semantics/*.py: Show errorstack in failed parse when -g (requires sparck 1.2.0)
* some optimization in scanner3
2016-05-12 09:27:25 -04:00
R. Bernstein
8d51456f59 Merge pull request #14 from rocky/make-function-rewrite
Make function rewrite
2016-05-12 03:38:19 -04:00
rocky
a6320359c8 Merge branch 'make-function-rewrite' of github.com:rocky/python-uncompyle6 into make-function-rewrite 2016-05-11 20:36:13 -04:00
rocky
631d7be921 Redo make_function for *, arg
main(*, file='foo') and things like that now work
2016-05-11 20:34:20 -04:00
rocky
1e22734b6b WIP Make function redo 2016-05-11 09:53:33 -04:00
rocky
b134d08e91 add pos_arg ::= expr to make params of fns clear 2016-05-10 18:05:25 -04:00
rocky
8a66fd0be3 * call WIP 2016-05-09 20:23:54 -04:00
rocky
9ae45b363f 3.2 class bug 2016-05-09 20:11:25 -04:00
rocky
b287a305ea 3.2 WhileTrue grammar bug 2016-05-09 19:39:37 -04:00
rocky
d823dfb5d3 Python 3 "while True" bug 2016-05-09 14:44:34 -04:00
rocky
378cca27da Dan Pascu's contribution via Dan 2016-05-09 12:47:16 -04:00
rocky
f9dc797aa0 Another history tweak 2016-05-09 12:13:42 -04:00
rocky
8b9e0eca42 Some grammar cleanup 2016-05-09 11:58:05 -04:00
rocky
41f9e9e53e Track recent lc changes in fragment semantics 2016-05-09 06:57:13 -04:00
rocky
1179dc72da Another closure wrapping bug 2016-05-09 06:47:03 -04:00
rocky
e63bcd54e9 Another Python 3 closure grammar bug 2016-05-09 06:21:57 -04:00
rocky
73461d323e More small history tweaks 2016-05-09 05:34:01 -04:00
rocky
e37b197db9 Fix Python 3 list comprehansion closure bug 2016-05-09 05:03:49 -04:00
rocky
196495c40e Python 3 DUP_TOP_TWO bug 2016-05-08 18:41:59 -04:00
rocky
dddb486d78 DRY parse{2,3} code
Add test for last bug.
2016-05-08 18:15:07 -04:00
rocky
ce2ae463c4 Fix another if/loop parse bug 2016-05-08 18:07:04 -04:00
rocky
739ce7b1fd Go over history yet again. 2016-05-08 16:44:17 -04:00
rocky
b11f6d94f7 come_from_opt handles and/or precidence properly
main.py: give a better error message when file is not found.
2016-05-08 15:51:54 -04:00
rocky
debb46b0fe Semantic routine nonterminal typo 2016-05-08 13:49:15 -04:00
rocky
400153ea53 Yet another Python 3.x COME_FROM grammar problem 2016-05-08 13:08:12 -04:00
rocky
a65a8bb68e Fix 3.2 for/if loopback bug
problem was handling in Python 3.2

 for ...
    if ...
    else:
      ....
      jump for
    come from if
    jump for

In later Python 3's a "come from" is removed.

Also, start to DRY parser{,2,3} grammar rules.
2016-05-08 12:09:50 -04:00
rocky
4a79082872 Fix 3.5 if..pass bug
Update HISTORY.MD to include Dan Pascu. Some minor doc corrections
2016-05-08 10:32:11 -04:00
rocky
61c4a711a2 DRY scanner 3.{4,5} code 2016-05-08 00:52:02 -04:00
rocky
406df297df Python 3 build class parsing 2016-05-07 23:32:59 -04:00
rocky
36ffd4c31f Handle Python 3 yield from
Start dealing with MAKE_FUNCTION flags - not done yet.
2016-05-07 11:33:18 -04:00