rocky
2126e4cf32
Fix bug in 3.5+ async stmt ..
...
and in verification status message
2018-01-19 03:15:08 -05:00
rocky
5dbec5b383
Merge branch 'master' into python-2.4
2018-01-11 10:35:49 -05:00
rocky
71a64299e8
Simplify remove slop in CALL_FUNCTION_VAR on 3.5
2018-01-11 10:13:42 -05:00
rocky
7ac8bf91df
Merge branch 'master' into python-2.4
2018-01-08 23:21:24 -05:00
rocky
7883e00b44
Correct 3.6 FUNCTION_EX handling, somewhat
...
Some Python 2.4 compatibility snuck in but I suppose that is not so bad
2018-01-08 23:20:22 -05:00
rocky
f381211291
Merge branch 'master' into python-2.4
2018-01-08 22:13:05 -05:00
rocky
0692727605
Stronger while 1 testing...
...
Make instructions available in reduce tests.
Back off of a while test that was semantically different.
2018-01-08 21:54:28 -05:00
rocky
aca4cb233d
Merge branch 'master' into python-2.4
2018-01-08 12:24:59 -05:00
rocky
892be78927
correct 3.5 CALL_FUNCTION_VAR handling
...
Sigh, 3.6 changes this so this fix is just for this version
2018-01-08 12:24:00 -05:00
rocky
c68030e9fa
Merge branch 'master' into python-2.4
2017-12-15 19:21:59 -05:00
rocky
9cb99e3290
3.6 FUNCTION_EX_KW fixes
2017-12-15 19:18:27 -05:00
rocky
fd95839701
Merge branch 'master' into python-2.4
2017-12-15 08:26:03 -05:00
rocky
b736e0a0e2
Grammar rule for 3.6 with .. return
2017-12-15 08:25:34 -05:00
rocky
3b0eb017b6
Bang on Python 3.6 MAKE_FUNCTION
2017-12-15 07:35:58 -05:00
rocky
a3e61a710f
Towards handling CALL_FUNCTION_EX_KW...
...
more work is needed though
2017-12-14 23:12:37 -05:00
rocky
78d5d281a8
Handle 2.4- try/finally properly
2017-12-14 19:26:27 -05:00
rocky
6305023219
Handl 2.4- try/finally properly
2017-12-14 19:20:57 -05:00
rocky
c7dda72a84
Merge branch 'master' into python-2.4
2017-12-14 17:58:03 -05:00
rocky
acdefb4f70
NT return_stmt -> return to match AST
2017-12-14 11:03:15 -05:00
rocky
e47568e147
Merge branch 'master' into python-2.4
2017-12-14 08:40:43 -05:00
rocky
a464e41ad9
Comment better what's up
2017-12-14 08:40:21 -05:00
rocky
a1082ebae9
Start handling 3.6 CALL_FUNCTION_KW
2017-12-14 08:36:12 -05:00
rocky
204612ca85
Merge branch 'master' into python-2.4
2017-12-12 11:05:20 -05:00
rocky
36fbafa0f8
Bang on 3.6 CALL_FUNCTION(_VAR)_KW
2017-12-12 11:01:34 -05:00
rocky
0059f53196
Bang on BUILD_MAP_UNPACK_WITH_CALL a little...
...
more cases are needed still. And there's a bug in BUILD_TUPLE_UNPACK_WITH_CALL now
in adding the count twice.
2017-12-12 07:05:32 -05:00
rocky
b84c35acf5
DRY code; localize 3.{5,6} grammar rules..
...
helper.py, pysource: has code to flatten list used in n_list and n_build_tuple_unpack_with_call
parse3{5,6}.py: localize grammar rules with BEFORE_ASYNC_WITH
2017-12-11 21:26:58 -05:00
rocky
3705f6d096
Start to handle CALL_FUNCTION_EX more accurately
2017-12-11 08:24:27 -05:00
rocky
a1b990a078
Back off pervasiveness of singleton reductions
2017-12-06 21:38:27 -05:00
rocky
3d277270a4
Partial fix for removing singleton expr reduction
2017-12-06 20:21:00 -05:00
rocky
a4e9410c07
Start to reduce singleton reductions
2017-12-06 12:14:42 -05:00
rocky
a2054fb7dd
Merge branch 'master' into python-2.4
2017-12-05 18:14:03 -05:00
rocky
f07dcb1508
Remove debug schmutz
2017-12-05 14:23:05 -05:00
rocky
e3f62e4a1a
unicode bug fix try #2...
...
this time, for sure!
2017-12-05 14:20:01 -05:00
rocky
ee3bdbc2ed
logic bug: and->or
2017-12-05 14:12:03 -05:00
rocky
2599b94786
Start to handle FUTURE_UNICODE_LITERALS flag
2017-12-05 13:28:26 -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
00b95dd72e
More verbiage about the comprehension mess
2017-12-04 15:16:46 -05:00
rocky
212771244a
Merge branch 'master' into python-2.4
2017-12-04 14:15:30 -05:00
rocky
c953701623
Slightly better 3.x list comprehension handling
2017-12-04 14:15:06 -05:00
rocky
5fc33aeef5
Merge branch 'master' into python-2.4
2017-12-04 09:41:49 -05:00
rocky
53b195ede9
Tidy a little ...
...
parse32.py: Move common grammar rules from parse32.py to parse3.py
parse32 should just have 3.2ish specific stuff.
parse3.py: favor addRule over add_unique_rule
pysource.py: make more clear what's up with comprehensions.
more later.
2017-12-04 09:36:39 -05:00
rocky
910d210e52
Merge branch 'master' into python-2.4
2017-12-03 13:03:28 -05:00
rocky
344d2d92c4
NT: load_attr -> attribute to match AST
2017-12-03 13:02:22 -05:00
rocky
b719a0ee35
Merge branch 'master' into python-2.4
2017-12-03 12:29:05 -05:00
rocky
f78a3fb92e
Parens around constant in method call ..
...
again.
Note what fails in 2.7 runtests
2017-12-03 12:25:26 -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
260bfd176e
Fix bug in 2.6- except_cond3
2017-12-03 06:16:29 -05:00
rocky
13ab06ecb1
Fix bug in 2.6- except_cond3
2017-12-03 06:10:37 -05:00