blob: e1ee9da7260b490c78dbf68f61f4f3f89aa15557 [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
Guido van Rossumb3b09c91993-10-22 14:24:22 +000038exec_stmt
Guido van Rossum6209b971992-11-27 22:54:49 +000039if_stmt
40while_stmt
41for_stmt
42[1]
43[2]
44[3]
45try_stmt
46suite
47test
48comparison
49binary mask ops
50shift ops
51additive ops
52multiplicative ops
53unary ops
54selectors
55atoms
56classdef
57test_opcodes
582. Opcodes
59XXX Not yet fully implemented
602.1 try inside for loop
61test_operations
623. Operations
63XXX Not yet implemented
64test_builtin
654. Built-in functions
66test_b1
67abs
68apply
69chr
70cmp
71coerce
72dir
73divmod
74eval
Guido van Rossum6209b971992-11-27 22:54:49 +000075execfile
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.