blob: a711ba2e3e7a8c30dd6a66c49d07d1993d026931 [file] [log] [blame]
Guido van Rossum6209b971992-11-27 22:54:49 +00001test_grammar
21. Parser
31.1 Tokens
41.1.1 Backslashes
51.1.2 Numeric literals
61.1.2.1 Plain integers
71.1.2.2 Long integers
81.1.2.3 Floating point
91.2 Grammar
10single_input
11file_input
12expr_input
13eval_input
14funcdef
15simple_stmt
16expr_stmt
171
18(1, 2, 3)
19print_stmt
201 2 3
211 2 3
221 1 1
23del_stmt
24pass_stmt
25flow_stmt
26break_stmt
27continue_stmt
28return_stmt
29raise_stmt
30import_stmt
31[1]
32[2]
33[3]
34[4]
35[5]
36[6]
37global_stmt
38if_stmt
39while_stmt
40for_stmt
41[1]
42[2]
43[3]
44try_stmt
45suite
46test
47comparison
48binary mask ops
49shift ops
50additive ops
51multiplicative ops
52unary ops
53selectors
54atoms
55classdef
56test_opcodes
572. Opcodes
58XXX Not yet fully implemented
592.1 try inside for loop
60test_operations
613. Operations
62XXX Not yet implemented
63test_builtin
644. Built-in functions
65test_b1
66abs
67apply
68chr
69cmp
70coerce
71dir
72divmod
73eval
74exec
75execfile
76float
77getattr
78hex
79int
80len
81long
82max
83min
84test_b2
85oct
86open
87ord
88pow
89range
90input and raw_input
91testing
92testing
93reload
94repr
Guido van Rossume7113b61993-03-29 11:30:50 +000095round
Guido van Rossum6209b971992-11-27 22:54:49 +000096setattr
97str
98type
99test_exceptions
1005. Built-in exceptions
101AttributeError
102EOFError
103IOError
104ImportError
105IndexError
106KeyError
107KeyboardInterrupt
108(not testable in a script)
109MemoryError
110(not safe to test)
111NameError
112OverflowError
113RuntimeError
114(not used any more?)
115SyntaxError
116SystemError
117(hard to reproduce)
118SystemExit
119TypeError
120ValueError
121ZeroDivisionError
122test_types
1236. Built-in types
1246.1 Truth value testing
1256.2 Boolean operations
1266.3 Comparisons
1276.4 Numeric types (mostly conversions)
Guido van Rossum80530ce1993-01-21 15:36:40 +00001286.4.1 32-bit integers
1296.4.2 Long integers
1306.4.3 Floating point numbers
Guido van Rossum6209b971992-11-27 22:54:49 +00001316.5 Sequence types
1326.5.1 Strings
1336.5.2 Tuples
1346.5.3 Lists
1356.5.3a Additional list operations
1366.6 Mappings == Dictionaries
137Passed all tests.