Commit Graph

1399 Commits

Author SHA1 Message Date
rocky
de594ce7f2 Remove 3-arg raise in 3.x and..
add tests in 2.x
2017-12-02 22:07:44 -05:00
rocky
e172a8f3c0 Fix docstring bug..
small sync with python 2.4 branch
2017-12-02 21:11:19 -05:00
rocky
f7abc69861 Administrivia 2017-12-02 20:51:58 -05:00
rocky
624c59cd5e Adminsitrivia 2017-12-02 20:08:38 -05:00
rocky
5ae32de709 Add global statements even for read of globals 2017-12-02 19:13:11 -05:00
rocky
ec9d00a34d Administrivia 2017-12-02 17:08:12 -05:00
rocky
8e2f78ceba Add Python 2.4 importmultiple rule 2017-12-02 14:19:32 -05:00
rocky
f5c91d77d2 runtests.sh tweaks 2017-12-02 13:16:18 -05:00
rocky
cda15026e5 A couple more tests 2017-12-02 12:17:24 -05:00
rocky
5919be1451 Fix chained compares with -'s 2017-12-02 12:06:01 -05:00
rocky
93949e8222 Small grammar isolation bugs 2017-12-02 10:57:32 -05:00
rocky
5872caee54 Correct hacky version number 2017-12-02 09:53:05 -05:00
rocky
a7005f6a77 2.7 exec stmt grammar rule isolation/reduction 2017-12-02 09:23:18 -05:00
rocky
28e573b73c Improve 3.x forelselast coverage 2017-12-02 08:53:11 -05:00
rocky
ac819cd1b9 whileTrue grammar reduction 2017-12-02 07:53:19 -05:00
rocky
6d0f72f13b Fix bug in 2.6 tryelse get test_grammar working...
localize grammar rules
2017-12-02 01:35:43 -05:00
rocky
fc33a4a72d Python 3.5 grammar reduction 2017-12-01 22:26:58 -05:00
rocky
8b6ae46a1d Isolate and reduce 3.x conditionals and lambda rules 2017-12-01 22:03:12 -05:00
rocky
ad822c02d8 opt_come_from_loop -> come_from_loops...
ANd remove unused rules associated with COME_FROM_FINALLY
2017-12-01 21:46:56 -05:00
rocky
03a5ad3d94 NT funcdef -> function_def to match AST 2017-12-01 21:36:23 -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
edfedec65c Small tweak 2017-12-01 04:54:59 -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
rocky
0744a549dd Modify test_grammar for last change 2017-11-30 17:17:44 -05:00
rocky
01b5ed2304 NT mapexpr -> dict to match AST 2017-11-30 15:59:15 -05:00
rocky
77617a05c2 ops coverage on 3.{0,1} 2017-11-30 12:38:08 -05:00
rocky
824824b402 Typo 2017-11-30 11:27:50 -05:00
rocky
3d8eb01c4c _ifstmts_jump rule reduction in 3.x 2017-11-30 11:17:44 -05:00
rocky
41adcef8f8 Isolate unmap_dict rule in 3.5 2017-11-30 11:03:12 -05:00
rocky
6e19e922f8 Last commit introduced a bug 2017-11-30 10:41:50 -05:00
rocky
860d9b21f0 Isolate listcomp a little in Python 3 too 2017-11-30 10:36:00 -05:00
rocky
bf5a6237d8 Isolate listcomp rule in 2.7 2017-11-30 10:30:08 -05:00
rocky
ac4d4d1da9 NT dictcomp -> dict_comp to match AST 2017-11-30 08:50:00 -05:00
rocky
0b284f8230 NT setcomp -> set_comp to match AST 2017-11-30 07:14:29 -05:00
rocky
fcdea73b4f list_compr -> list_comp to match AST...
more Python 3 custom rule cleanup
2017-11-29 21:26:31 -05:00
rocky
6fee7fdfe3 Claan up 3.x custom MAKE_{FUNCTION,CLOSURE} rules 2017-11-29 21:09:50 -05:00
rocky
34117522b2 NT importstmt -> import to match AST 2017-11-29 20:20:54 -05:00
rocky
4ea1416fdd Python 3.x reduction of listcomp with closures 2017-11-29 19:14:08 -05:00
rocky
c4bfe38ee0 Reduce 3.x rules, esp. listcomp 2017-11-29 19:03:11 -05:00
rocky
acb4ffb758 Better grammar coverage; reduce 3.x mklambda rules 2017-11-29 16:39:32 -05:00
rocky
11e2637eeb NT augassign -> aug_assign to match AST 2017-11-29 10:51:38 -05:00
rocky
7775bdabd5 import_as -> alias; and reinstate rule 2017-11-29 10:38:18 -05:00
rocky
ff43403a05 More test coverage; simplify 3.2 grammar 2017-11-29 10:32:34 -05:00
rocky
278756be49 Administrivia and more coverage 2017-11-29 10:12:09 -05:00
rocky
98312c172b More coverage on 3.2 and 3.3 2017-11-29 09:36:32 -05:00
rocky
f2eaa09e96 Fix import and 3.x class bugs...
import x.y as z was failing across all Python versions
class decorators for Python 3.0..3.3 was failing
reduce 3.x while grammar rules
2017-11-29 06:59:05 -05:00
rocky
42fd38e2c0 More Wordsmithing 2017-11-29 05:27:17 -05:00
rocky
3a55faf9f3 More wordsmithing 2017-11-29 05:24:53 -05:00
rocky
1fcccb2472 Wordsmithing 2017-11-29 05:21:16 -05:00