rocky
303e134359
Simplify scanner2 so it relies less on custimize dict
2017-12-13 21:02:40 -05:00
rocky
aac793af09
Start parse2 customize_grammar_rule refactor
2017-12-13 18:56:38 -05:00
rocky
74ec038ce2
Note runtests.sh 2.7 failures
2017-12-13 18:39:12 -05:00
rocky
3b6f1e50e2
runtests.sh for 2.4 and 2.5
2017-12-13 18:09:11 -05:00
rocky
f82edae5a1
add_custom_rules -> customize_grammar_rules
2017-12-13 17:25:19 -05:00
rocky
c5be656320
RsT hacking
2017-12-13 11:40:05 -05:00
rocky
7f035e7613
Sync with Python 2.4 branch
2017-12-13 10:05:53 -05:00
rocky
54b36bc2d1
Update stdlib/runtest.sh code and failures
2017-12-13 08:55:55 -05:00
rocky
acc3e441ac
Fix "or" bug in 2.6- seen via chained comparisons
2017-12-13 07:27:10 -05:00
rocky
fcceda72db
Another ternary compare fix...
...
More is need in 2.6-
2017-12-12 17:10:40 -05:00
rocky
f0f91e838f
Reinstate needed 2.6 grammar rules...
...
removed from last commit .
2017-12-12 15:35:17 -05:00
rocky
733e0ebf9d
Fix 2.6- chained compare in lambda
2017-12-12 14:29:47 -05:00
rocky
832734ccb4
Fix 2.7 lambda with chained compare...
...
More work needs to be done for 2.6-
2017-12-12 13:13:30 -05:00
rocky
84b4ac1c51
NT "_for" -> "for_iter" reduces confusion w/ "for"
2017-12-12 12:41:44 -05:00
rocky
b544827192
NT: "forstmt" renamed to "for" to match AST
2017-12-12 12:33:27 -05:00
rocky
b139e21ca3
Isolation of <= 3.5 bogus COME_FROM workaround
...
Fixes #144
2017-12-12 12:12:29 -05:00
rocky
36fbafa0f8
Bang on 3.6 CALL_FUNCTION(_VAR)_KW
2017-12-12 11:01:34 -05:00
rocky
390dc9a560
Reinstate a 3.5 test
2017-12-12 07:34:51 -05:00
rocky
882c1053ee
Update README.rst
2017-12-12 07:11:33 -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
ec1be81de7
Grammar specialization of DELETE_xxx in 3.x
2017-12-12 05:30:35 -05:00
rocky
41228a5ba9
DRY 3.{5,6} SETUP_WITH a little bit
2017-12-11 21:48:36 -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
3ac1e64c56
Administrivia
release-2.14.1
2017-12-10 18:12:02 -05:00
rocky
c5b8531ef1
Fix last-minute bug due to kwargs->kwargs1
2017-12-10 18:00:44 -05:00
rocky
c787c27901
Get ready for release 2.14.1
2017-12-10 17:41:58 -05:00
rocky
83fc2bf25a
Small updates to "how to report a bug"
2017-12-09 05:10:14 -05:00
rocky
137f3d44d6
ChangeLog should not be in git
2017-12-09 04:51:19 -05:00
rocky
88fbb691d8
Fix 3.1 and 3.2 named and kwargs parsing..
...
Improve 3.4 coverage and note a 3.5 while bug
2017-12-07 16:47:56 -05:00
rocky
41bfa3fc01
Back off 3.5 control flow for now
2017-12-07 15:25:32 -05:00
rocky
ef08677287
Reinstate kwargs1...
...
was just missing the semantic action rule for it
2017-12-07 13:24:55 -05:00
rocky
08789adbb4
Reduce singletons rules and ..
...
fix recently introduced kwargs bug.
2017-12-07 13:20:08 -05:00
rocky
b8b9b8463c
Fix grammar cover from last commit
2017-12-07 12:34:13 -05:00
rocky
7d8c17cb93
grammar isolation and reduction
2017-12-07 12:27:22 -05:00
rocky
b6413b6e6e
Skirt around control-flow problems...
...
Tag some of the weaknesses if we can't address them now
2017-12-07 08:55:45 -05:00
rocky
41db5b8848
Fix while1/if parsing in 3.x. Reinstate some tests
2017-12-06 22:47:56 -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
78e8b93125
Fix grammar after last change
2017-12-06 01:53:49 -05:00
rocky
7daf95fcb4
NT break_stmt, continue_stmt -> break, continue...
...
to match AST
2017-12-06 01:48:44 -05:00
rocky
f8d6998b22
NT continue_stmt -> continue to match AST
2017-12-06 01:45:08 -05:00
rocky
7b39002476
Sync NT joined_str and formmated_value with AST
2017-12-05 23:17:51 -05:00
rocky
e064791870
Fix 10_del.py syntax
2017-12-05 22:50:21 -05:00
rocky
7c58f8b41d
runtest.sh: remove from exlusion stdlib test that now work
2017-12-05 18:13:22 -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