blob: 1dbb42a1ecebffc21a6588771e0d0249d8bb0de6 [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
Guido van Rossume65cce51993-11-08 15:05:21 +000076filter
Guido van Rossum6209b971992-11-27 22:54:49 +000077float
78getattr
79hex
80int
Guido van Rossume65cce51993-11-08 15:05:21 +000081lambda
Guido van Rossum6209b971992-11-27 22:54:49 +000082len
83long
Guido van Rossume65cce51993-11-08 15:05:21 +000084map
Guido van Rossum6209b971992-11-27 22:54:49 +000085max
86min
87test_b2
88oct
89open
90ord
91pow
92range
93input and raw_input
94testing
95testing
Guido van Rossume65cce51993-11-08 15:05:21 +000096reduce
Guido van Rossum6209b971992-11-27 22:54:49 +000097reload
98repr
Guido van Rossume7113b61993-03-29 11:30:50 +000099round
Guido van Rossum6209b971992-11-27 22:54:49 +0000100setattr
101str
102type
103test_exceptions
1045. Built-in exceptions
105AttributeError
106EOFError
107IOError
108ImportError
109IndexError
110KeyError
111KeyboardInterrupt
112(not testable in a script)
113MemoryError
114(not safe to test)
115NameError
116OverflowError
117RuntimeError
118(not used any more?)
119SyntaxError
120SystemError
121(hard to reproduce)
122SystemExit
123TypeError
124ValueError
125ZeroDivisionError
126test_types
1276. Built-in types
1286.1 Truth value testing
1296.2 Boolean operations
1306.3 Comparisons
1316.4 Numeric types (mostly conversions)
Guido van Rossum80530ce1993-01-21 15:36:40 +00001326.4.1 32-bit integers
1336.4.2 Long integers
1346.4.3 Floating point numbers
Guido van Rossum6209b971992-11-27 22:54:49 +00001356.5 Sequence types
1366.5.1 Strings
1376.5.2 Tuples
1386.5.3 Lists
1396.5.3a Additional list operations
1406.6 Mappings == Dictionaries
141Passed all tests.