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
rocky
21a8726a47
Merge branch 'master' into python-2.4
2017-12-03 03:34:50 -05:00
rocky
eafb32b9a0
NT trystmt -> try_except to match AST
2017-12-02 22:20:45 -05:00
rocky
e172a8f3c0
Fix docstring bug..
...
small sync with python 2.4 branch
2017-12-02 21:11:19 -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
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
0b9fca2263
Sync with master
2017-12-02 09:51:15 -05:00
rocky
03a5ad3d94
NT funcdef -> function_def to match AST
2017-12-01 21:36:23 -05:00
rocky
dd0fe36af0
NT importfrom -> import_from ...
...
to match AST better
and importstar -> import_from_star
misc administrivia
2017-12-01 04:33:04 -05:00
rocky
dfdd5c6c1c
NT build_list -> list to match AST
2017-12-01 03:55:31 -05:00