blob: 90c1202de4c91d8a365f99e23b4358c8a63262b1 [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
Guido van Rossumb31c7f71993-11-11 10:31:23 +000091.1.3 String literals
Guido van Rossum6209b971992-11-27 22:54:49 +0000101.2 Grammar
11single_input
12file_input
13expr_input
14eval_input
15funcdef
16simple_stmt
17expr_stmt
181
19(1, 2, 3)
20print_stmt
211 2 3
221 2 3
231 1 1
24del_stmt
25pass_stmt
26flow_stmt
27break_stmt
28continue_stmt
29return_stmt
30raise_stmt
31import_stmt
32[1]
33[2]
34[3]
35[4]
36[5]
37[6]
38global_stmt
Guido van Rossumb3b09c91993-10-22 14:24:22 +000039exec_stmt
Guido van Rossum6209b971992-11-27 22:54:49 +000040if_stmt
41while_stmt
42for_stmt
43[1]
44[2]
45[3]
46try_stmt
47suite
48test
49comparison
50binary mask ops
51shift ops
52additive ops
53multiplicative ops
54unary ops
55selectors
56atoms
57classdef
58test_opcodes
592. Opcodes
60XXX Not yet fully implemented
612.1 try inside for loop
62test_operations
633. Operations
64XXX Not yet implemented
65test_builtin
664. Built-in functions
67test_b1
68abs
69apply
70chr
71cmp
72coerce
73dir
74divmod
75eval
Guido van Rossum6209b971992-11-27 22:54:49 +000076execfile
Guido van Rossume65cce51993-11-08 15:05:21 +000077filter
Guido van Rossum6209b971992-11-27 22:54:49 +000078float
79getattr
80hex
81int
Guido van Rossume65cce51993-11-08 15:05:21 +000082lambda
Guido van Rossum6209b971992-11-27 22:54:49 +000083len
84long
Guido van Rossume65cce51993-11-08 15:05:21 +000085map
Guido van Rossum6209b971992-11-27 22:54:49 +000086max
87min
88test_b2
89oct
90open
91ord
92pow
93range
94input and raw_input
95testing
96testing
Guido van Rossume65cce51993-11-08 15:05:21 +000097reduce
Guido van Rossum6209b971992-11-27 22:54:49 +000098reload
99repr
Guido van Rossume7113b61993-03-29 11:30:50 +0000100round
Guido van Rossum6209b971992-11-27 22:54:49 +0000101setattr
102str
103type
104test_exceptions
1055. Built-in exceptions
106AttributeError
107EOFError
108IOError
109ImportError
110IndexError
111KeyError
112KeyboardInterrupt
113(not testable in a script)
114MemoryError
115(not safe to test)
116NameError
117OverflowError
118RuntimeError
119(not used any more?)
120SyntaxError
121SystemError
122(hard to reproduce)
123SystemExit
124TypeError
125ValueError
126ZeroDivisionError
127test_types
1286. Built-in types
1296.1 Truth value testing
1306.2 Boolean operations
1316.3 Comparisons
1326.4 Numeric types (mostly conversions)
Guido van Rossum80530ce1993-01-21 15:36:40 +00001336.4.1 32-bit integers
1346.4.2 Long integers
1356.4.3 Floating point numbers
Guido van Rossum6209b971992-11-27 22:54:49 +00001366.5 Sequence types
1376.5.1 Strings
1386.5.2 Tuples
1396.5.3 Lists
1406.5.3a Additional list operations
1416.6 Mappings == Dictionaries
142Passed all tests.