rocky
28d0ec7a2a
Merge branch 'master' into python-2.4
2018-03-02 08:06:53 -05:00
rocky
bb13988126
Instruction fixup broken 3.x make_func...
...
for handling default values
2018-03-02 08:03:51 -05:00
rocky
fb333f1505
Merge branch 'master' into python-2.4
2018-03-01 17:22:45 -05:00
rocky
2edc757b6f
more deparse_code -> code_deparse API additions
2018-03-01 16:55:45 -05:00
rocky
f7439f506a
Fix 3.6 MAKE_FUNCTION for kw params...
...
and remove duplicated attributies in pattr of MAKE_FUNCITON token.
2018-03-01 07:14:46 -05:00
rocky
413df51dfa
Token.format(), shows CONST values better...
...
We were not showing the proper value for None, or False.
Start a unit test for Token().
I think this cleans the Token class up a little more.
More work is needed for MAKE_FUNCTION...
Note: Some debug stuff is commented out in make_funciton.py for upcoming work.
2018-02-28 22:05:12 -05:00
rocky
a1532bbfea
Merge branch 'master' into python-2.4
2018-02-27 10:40:40 -05:00
rocky
5c2d0484e5
3.6 MAKE_FUNCTION workarounds
...
Still wrong, but points to diretions for improvements
2018-02-26 09:10:00 -05:00
Yiming Wang
3545c7dc6f
Keep global statements in fixed order
2018-02-24 22:22:50 +08:00
rocky
fee6114d74
Merge branch 'master' into python-2.4
2018-02-22 19:15:24 -05:00
rocky
09efb24a3e
Start distinguishing AST from grammar tree
2018-02-22 11:17:09 -05:00
rocky
4e949a798d
Merge branch 'master' into python-2.4
2018-01-29 15:41:14 -05:00
rocky
bcf437deda
3.x bug in adding extra , in **kargs
2018-01-29 12:03:15 -05:00
rocky
a9df4e3a54
Fix 3.0 .. 3.2 kwargs bug
2018-01-29 09:40:38 -05:00
rocky
fd95839701
Merge branch 'master' into python-2.4
2017-12-15 08:26:03 -05:00
rocky
3b0eb017b6
Bang on Python 3.6 MAKE_FUNCTION
2017-12-15 07:35:58 -05:00
rocky
5264ffc0e5
Merge branch 'master' into python-2.4
2017-12-10 18:02:23 -05:00
rocky
c5b8531ef1
Fix last-minute bug due to kwargs->kwargs1
2017-12-10 18:00:44 -05:00
rocky
f07c9c6dcf
Merge branch 'master' into python-2.4
2017-12-05 08:32:31 -05:00
rocky
bbaa3e6602
Fix bug in single param **arg
2017-12-05 07:50:22 -05:00
rocky
516c1a7910
Merge branch 'master' into python-2.4
2017-12-05 00:13:59 -05:00
rocky
2d628acf60
Separate rules for set, tuple, dict from list...
...
Sync fragments.py with pysource
2017-12-05 00:13:17 -05:00
rocky
df4d80ff26
Merge branch 'master' into python-2.4
2017-12-03 11:19:48 -05: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
5ae32de709
Add global statements even for read of globals
2017-12-02 19:13:11 -05:00
rocky
7b15e54b7d
Add "global" in functions that just read
2017-12-02 19:11:11 -05:00
rocky
0b9fca2263
Sync with master
2017-12-02 09:51:15 -05:00
rocky
dad1b4780c
Fix bugs in 3.6 default parameter handling
...
Mentioned in Issue #139
2017-12-01 20:12:06 -05:00
rocky
5cf4f0a82f
Merge hell
2017-11-25 23:15:07 -05:00
rocky
9b0225db60
Merge branch 'master' into python-2.4
2017-11-25 23:15:01 -05:00
rocky
af38064a1b
remove unpack_list rule and ...
...
tidy things a bit more
2017-11-25 00:32:13 -05:00
rocky
b89dbb0ee7
Merge hell
2017-11-24 21:48:24 -05:00
rocky
a5bdc1acd0
Merge branch 'master' into python-2.4
2017-11-24 21:48:14 -05:00
rocky
0c386d2c39
Fix bug where lambda has a yield in it
2017-11-24 08:55:26 -05:00
rocky
eafe048c7e
Get ready for release python-2.4-2.13.3
2017-11-13 10:12:27 -05:00
rocky
c0e553dbb5
Merge branch 'master' into python-2.4
2017-11-13 10:11:00 -05:00
rocky
4f0a668b7c
Add flag to tolerate deparse errors...
...
and keep going. The fragment parser should ignore errors
in nested function definitions
2017-11-04 12:29:27 -04:00
rocky
05fd992c48
Update news
2017-10-12 07:06:19 -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
8fc3fd146f
Merge branch 'master' into python-2.4
2017-08-31 09:47:02 -04:00
rocky
4d58438515
Get ready for release 2.11.5
2017-08-31 09:42:14 -04:00
rocky
4c9cd5657e
Merge branch 'master' into python-2.4
2017-08-09 21:45:50 -04:00
rocky
ee3202779a
A guard against badly formated bytecode
2017-06-28 18:39:05 -04:00
rocky
6888553773
Merge branch 'master' into python-2.4
2017-06-25 18:56:31 -04:00
rocky
9c072a6a42
3.x funciton and annotation bug fixes
2017-06-25 18:46:03 -04:00
rocky
0f489672b9
More merge fixups from master
2017-06-18 16:05:22 -04:00
rocky
b7d8cbfaf5
Merge branch 'master' into python-2.4
2017-06-18 15:40:40 -04:00
rocky
daea3c348c
Fragment tag more expressions
...
Revise make_function3 comment wrt args and kwargs
2017-06-10 16:31:56 -04:00