Module Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Exec NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If Call NameLoad NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Slice Num body For NameStore Call NameLoad NameLoad body Expr Yield NameLoad orelse Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num TupleLoad Num Str Num Num NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num TupleLoad Num TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Exec NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpMult Str NameLoad BinOpMult Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If CompareLtE NameLoad Num body Return NameLoad If CompareLtE NameLoad Num body Return BinOpBitAnd BinOpAdd NameLoad Num UnaryOpInvert Num Return BinOpLShift Num Call AttributeLoad BinOpSub NameLoad Num attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return Num Assign NameStore Num Assign NameStore BoolOpAnd CompareGt Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num NameLoad If NameLoad body AugAssignAdd NameStore BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Num Num Assign NameStore IfExp NameLoad SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num If NameLoad body AugAssignAdd NameStore BinOpMult Call NameLoad Call NameLoad NameLoad NameLoad For NameStore NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpAdd NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str BinOpMult Str Num Str decorator_list AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A parser N/A unittest N/A sys N/A struct test test_support support test.script_helper assert_python_failure RoundtripLegalSyntaxTestCase N/A N/A unittest TestCase N/A roundtrip N/A N/A self f s N/A N/A N/A st1 N/A f s N/A t N/A N/A st1 totuple N/A N/A N/A st2 N/A N/A parser sequence2st t N/A N/A N/A N/A parser ParserError N/A why N/A N/A N/A N/A self fail N/A could not roundtrip %r: %s N/A s why N/A N/A N/A self assertEqual t N/A N/A st2 totuple could not re-generate syntax tree N/A check_expr N/A N/A self s N/A N/A N/A N/A N/A self roundtrip N/A parser expr s N/A test_flags_passed N/A N/A self N/A N/A N/A suite N/A N/A parser suite from __future__ import unicode_literals; x = '' N/A code N/A N/A suite compile N/A scope N/A N/A code scope N/A N/A N/A self assertIsInstance N/A scope N/A x unicode N/A check_suite N/A N/A self s N/A N/A N/A N/A N/A self roundtrip N/A parser suite s N/A test_yield_statement N/A N/A self N/A N/A N/A N/A N/A self check_suite def f(): yield 1 N/A N/A N/A self check_suite def f(): yield N/A N/A N/A self check_suite def f(): x += yield N/A N/A N/A self check_suite def f(): x = yield 1 N/A N/A N/A self check_suite def f(): x = y = yield 1 N/A N/A N/A self check_suite def f(): x = yield N/A N/A N/A self check_suite def f(): x = y = yield N/A N/A N/A self check_suite def f(): 1 + (yield)*2 N/A N/A N/A self check_suite def f(): (yield 1)*2 N/A N/A N/A self check_suite def f(): return; yield 1 N/A N/A N/A self check_suite def f(): yield 1; return N/A N/A N/A self check_suite def f():
    for x in range(30):
        yield x
 N/A N/A N/A self check_suite def f():
    if (yield):
        yield x
 N/A test_expressions N/A N/A self N/A N/A N/A N/A N/A self check_expr foo(1) N/A N/A N/A self check_expr {1:1} N/A N/A N/A self check_expr {1:1, 2:2, 3:3} N/A N/A N/A self check_expr {1:1, 2:2, 3:3,} N/A N/A N/A self check_expr {1} N/A N/A N/A self check_expr {1, 2, 3} N/A N/A N/A self check_expr {1, 2, 3,} N/A N/A N/A self check_expr [] N/A N/A N/A self check_expr [1] N/A N/A N/A self check_expr [1, 2, 3] N/A N/A N/A self check_expr [1, 2, 3,] N/A N/A N/A self check_expr () N/A N/A N/A self check_expr (1,) N/A N/A N/A self check_expr (1, 2, 3) N/A N/A N/A self check_expr (1, 2, 3,) N/A N/A N/A self check_expr [x**3 for x in range(20)] N/A N/A N/A self check_expr [x**3 for x in range(20) if x % 3] N/A N/A N/A self check_expr [x**3 for x in range(20) if x % 2 if x % 3] N/A N/A N/A self check_expr [x+y for x in range(30) for y in range(20) if x % 2 if y % 3] N/A N/A N/A self check_expr list(x**3 for x in range(20)) N/A N/A N/A self check_expr list(x**3 for x in range(20) if x % 3) N/A N/A N/A self check_expr list(x**3 for x in range(20) if x % 2 if x % 3) N/A N/A N/A self check_expr list(x+y for x in range(30) for y in range(20) if x % 2 if y % 3) N/A N/A N/A self check_expr {x**3 for x in range(30)} N/A N/A N/A self check_expr {x**3 for x in range(30) if x % 3} N/A N/A N/A self check_expr {x**3 for x in range(30) if x % 2 if x % 3} N/A N/A N/A self check_expr {x+y for x in range(30) for y in range(20) if x % 2 if y % 3} N/A N/A N/A self check_expr {x**3: y**2 for x, y in zip(range(30), range(30))} N/A N/A N/A self check_expr {x**3: y**2 for x, y in zip(range(30), range(30)) if x % 3} N/A N/A N/A self check_expr {x**3: y**2 for x, y in zip(range(30), range(30)) if x % 3 if y % 3} N/A N/A N/A self check_expr {x:y for x in range(30) for y in range(20) if x % 2 if y % 3} N/A N/A N/A self check_expr foo(*args) N/A N/A N/A self check_expr foo(*args, **kw) N/A N/A N/A self check_expr foo(**kw) N/A N/A N/A self check_expr foo(key=value) N/A N/A N/A self check_expr foo(key=value, *args) N/A N/A N/A self check_expr foo(key=value, *args, **kw) N/A N/A N/A self check_expr foo(key=value, **kw) N/A N/A N/A self check_expr foo(a, b, c, *args) N/A N/A N/A self check_expr foo(a, b, c, *args, **kw) N/A N/A N/A self check_expr foo(a, b, c, **kw) N/A N/A N/A self check_expr foo(a, *args, keyword=23) N/A N/A N/A self check_expr foo + bar N/A N/A N/A self check_expr foo - bar N/A N/A N/A self check_expr foo * bar N/A N/A N/A self check_expr foo / bar N/A N/A N/A self check_expr foo // bar N/A N/A N/A self check_expr lambda: 0 N/A N/A N/A self check_expr lambda x: 0 N/A N/A N/A self check_expr lambda *y: 0 N/A N/A N/A self check_expr lambda *y, **z: 0 N/A N/A N/A self check_expr lambda **z: 0 N/A N/A N/A self check_expr lambda x, y: 0 N/A N/A N/A self check_expr lambda foo=bar: 0 N/A N/A N/A self check_expr lambda foo=bar, spaz=nifty+spit: 0 N/A N/A N/A self check_expr lambda foo=bar, **z: 0 N/A N/A N/A self check_expr lambda foo=bar, blaz=blat+2, **z: 0 N/A N/A N/A self check_expr lambda foo=bar, blaz=blat+2, *y, **z: 0 N/A N/A N/A self check_expr lambda x, *y, **z: 0 N/A N/A N/A self check_expr lambda x: 5 if x else 2 N/A N/A N/A self check_expr (x for x in range(10)) N/A N/A N/A self check_expr foo(x for x in range(10)) N/A test_print N/A N/A self N/A N/A N/A N/A N/A self check_suite print N/A N/A N/A self check_suite print 1 N/A N/A N/A self check_suite print 1, N/A N/A N/A self check_suite print >>fp N/A N/A N/A self check_suite print >>fp, 1 N/A N/A N/A self check_suite print >>fp, 1, N/A test_simple_expression N/A N/A self N/A N/A N/A N/A N/A self check_suite a N/A test_simple_assignments N/A N/A self N/A N/A N/A N/A N/A self check_suite a = b N/A N/A N/A self check_suite a = b = c = d = e N/A test_simple_augmented_assignments N/A N/A self N/A N/A N/A N/A N/A self check_suite a += b N/A N/A N/A self check_suite a -= b N/A N/A N/A self check_suite a *= b N/A N/A N/A self check_suite a /= b N/A N/A N/A self check_suite a //= b N/A N/A N/A self check_suite a %= b N/A N/A N/A self check_suite a &= b N/A N/A N/A self check_suite a |= b N/A N/A N/A self check_suite a ^= b N/A N/A N/A self check_suite a <<= b N/A N/A N/A self check_suite a >>= b N/A N/A N/A self check_suite a **= b N/A test_function_defs N/A N/A self N/A N/A N/A N/A N/A self check_suite def f(): pass N/A N/A N/A self check_suite def f(*args): pass N/A N/A N/A self check_suite def f(*args, **kw): pass N/A N/A N/A self check_suite def f(**kw): pass N/A N/A N/A self check_suite def f(foo=bar): pass N/A N/A N/A self check_suite def f(foo=bar, *args): pass N/A N/A N/A self check_suite def f(foo=bar, *args, **kw): pass N/A N/A N/A self check_suite def f(foo=bar, **kw): pass N/A N/A N/A self check_suite def f(a, b): pass N/A N/A N/A self check_suite def f(a, b, *args): pass N/A N/A N/A self check_suite def f(a, b, *args, **kw): pass N/A N/A N/A self check_suite def f(a, b, **kw): pass N/A N/A N/A self check_suite def f(a, b, foo=bar): pass N/A N/A N/A self check_suite def f(a, b, foo=bar, *args): pass N/A N/A N/A self check_suite def f(a, b, foo=bar, *args, **kw): pass N/A N/A N/A self check_suite def f(a, b, foo=bar, **kw): pass N/A N/A N/A self check_suite @staticmethod
def f(): pass N/A N/A N/A self check_suite @staticmethod
@funcattrs(x, y)
def f(): pass N/A N/A N/A self check_suite @funcattrs()
def f(): pass N/A test_class_defs N/A N/A self N/A N/A N/A N/A N/A self check_suite class foo():pass N/A N/A N/A self check_suite @class_decorator
class foo():pass N/A N/A N/A self check_suite @class_decorator(arg)
class foo():pass N/A N/A N/A self check_suite @decorator1
@decorator2
class foo():pass N/A test_import_from_statement N/A N/A self N/A N/A N/A N/A N/A self check_suite from sys.path import * N/A N/A N/A self check_suite from sys.path import dirname N/A N/A N/A self check_suite from sys.path import (dirname) N/A N/A N/A self check_suite from sys.path import (dirname,) N/A N/A N/A self check_suite from sys.path import dirname as my_dirname N/A N/A N/A self check_suite from sys.path import (dirname as my_dirname) N/A N/A N/A self check_suite from sys.path import (dirname as my_dirname,) N/A N/A N/A self check_suite from sys.path import dirname, basename N/A N/A N/A self check_suite from sys.path import (dirname, basename) N/A N/A N/A self check_suite from sys.path import (dirname, basename,) N/A N/A N/A self check_suite from sys.path import dirname as my_dirname, basename N/A N/A N/A self check_suite from sys.path import (dirname as my_dirname, basename) N/A N/A N/A self check_suite from sys.path import (dirname as my_dirname, basename,) N/A N/A N/A self check_suite from sys.path import dirname, basename as my_basename N/A N/A N/A self check_suite from sys.path import (dirname, basename as my_basename) N/A N/A N/A self check_suite from sys.path import (dirname, basename as my_basename,) N/A N/A N/A self check_suite from .bogus import x N/A test_basic_import_statement N/A N/A self N/A N/A N/A N/A N/A self check_suite import sys N/A N/A N/A self check_suite import sys as system N/A N/A N/A self check_suite import sys, math N/A N/A N/A self check_suite import sys as system, math N/A N/A N/A self check_suite import sys, math as my_math N/A test_relative_imports N/A N/A self N/A N/A N/A N/A N/A self check_suite from . import name N/A N/A N/A self check_suite from .. import name N/A N/A N/A self check_suite from .pkg import name N/A N/A N/A self check_suite from ..pkg import name N/A test_pep263 N/A N/A self N/A N/A N/A N/A N/A self check_suite # -*- coding: iso-8859-1 -*-
pass
 N/A test_assert N/A N/A self N/A N/A N/A N/A N/A self check_suite assert alo < ahi and blo < bhi
 N/A test_with N/A N/A self N/A N/A N/A N/A N/A self check_suite with open('x'): pass
 N/A N/A N/A self check_suite with open('x') as f: pass
 N/A N/A N/A self check_suite with open('x') as f, open('y') as g: pass
 N/A test_try_stmt N/A N/A self N/A N/A N/A N/A N/A self check_suite try: pass
except: pass
 N/A N/A N/A self check_suite try: pass
finally: pass
 N/A N/A N/A self check_suite try: pass
except A: pass
finally: pass
 N/A N/A N/A self check_suite try: pass
except A: pass
except: pass
finally: pass
 N/A N/A N/A self check_suite try: pass
except: pass
else: pass
 N/A N/A N/A self check_suite try: pass
except: pass
else: pass
finally: pass
 N/A test_except_clause N/A N/A self N/A N/A N/A N/A N/A self check_suite try: pass
except: pass
 N/A N/A N/A self check_suite try: pass
except A: pass
 N/A N/A N/A self check_suite try: pass
except A, e: pass
 N/A N/A N/A self check_suite try: pass
except A as e: pass
 N/A test_position N/A N/A self N/A N/A N/A code def f(x):
    return x + 1 N/A st1 N/A N/A parser suite code N/A st2 N/A N/A st1 totuple line_info 1 col_info 1 walk N/A N/A tree N/A N/A N/A node_type N/A tree N/A 0 N/A next N/A tree N/A 1 N/A N/A isinstance next tuple N/A N/A elt N/A tree N/A 1 N/A N/A x N/A walk elt N/A N/A N/A x N/A N/A N/A tree N/A N/A terminals N/A list N/A walk st2 N/A N/A N/A self assertEqual N/A N/A 1 def 1 0 N/A 1 f 1 4 N/A 7 ( 1 5 N/A 1 x 1 6 N/A 8 ) 1 7 N/A 11 : 1 8 N/A 4 1 9 N/A 5 2 -1 N/A 1 return 2 4 N/A 1 x 2 11 N/A 14 + 2 13 N/A 2 1 2 15 N/A 4 2 16 N/A 6 2 -1 N/A 4 2 -1 N/A 0 2 -1 terminals N/A N/A IllegalSyntaxTestCase N/A N/A unittest TestCase N/A check_bad_tree N/A N/A self tree label N/A N/A N/A N/A N/A N/A N/A parser sequence2st tree N/A N/A N/A N/A parser ParserError N/A N/A N/A N/A N/A N/A self fail N/A did not detect invalid tree for %r label N/A test_junk N/A N/A self N/A N/A N/A N/A N/A self check_bad_tree N/A 1 2 3 <junk> N/A test_illegal_yield_1 N/A N/A self N/A N/A N/A tree N/A 257 N/A 264 N/A 285 N/A 259 N/A 1 def N/A 1 f N/A 260 N/A 7 ( N/A 8 ) N/A 11 : N/A 291 N/A 4 N/A 5 N/A 264 N/A 265 N/A 266 N/A 272 N/A 275 N/A 1 return N/A 313 N/A 292 N/A 293 N/A 294 N/A 295 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 304 N/A 305 N/A 2 1 N/A 264 N/A 265 N/A 266 N/A 272 N/A 276 N/A 1 yield N/A 313 N/A 292 N/A 293 N/A 294 N/A 295 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 304 N/A 305 N/A 2 1 N/A 4 N/A 6 N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree def f():
  return 1
  yield 1 N/A test_illegal_yield_2 N/A N/A self N/A N/A N/A tree N/A 257 N/A 264 N/A 265 N/A 266 N/A 278 N/A 1 from N/A 281 N/A 1 __future__ N/A 1 import N/A 279 N/A 1 generators N/A 4 N/A 264 N/A 285 N/A 259 N/A 1 def N/A 1 f N/A 260 N/A 7 ( N/A 8 ) N/A 11 : N/A 291 N/A 4 N/A 5 N/A 264 N/A 265 N/A 266 N/A 272 N/A 275 N/A 1 return N/A 313 N/A 292 N/A 293 N/A 294 N/A 295 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 304 N/A 305 N/A 2 1 N/A 264 N/A 265 N/A 266 N/A 272 N/A 276 N/A 1 yield N/A 313 N/A 292 N/A 293 N/A 294 N/A 295 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 304 N/A 305 N/A 2 1 N/A 4 N/A 6 N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree def f():
  return 1
  yield 1 N/A test_print_chevron_comma N/A N/A self N/A N/A N/A tree N/A 257 N/A 264 N/A 265 N/A 266 N/A 268 N/A 1 print N/A 35 >> N/A 290 N/A 291 N/A 292 N/A 293 N/A 295 N/A 296 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 1 fp N/A 12 , N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree print >>fp, N/A test_a_comma_comma_c N/A N/A self N/A N/A N/A tree N/A 258 N/A 311 N/A 290 N/A 291 N/A 292 N/A 293 N/A 295 N/A 296 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 1 a N/A 12 , N/A 12 , N/A 290 N/A 291 N/A 292 N/A 293 N/A 295 N/A 296 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 1 c N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree a,,c N/A test_illegal_operator N/A N/A self N/A N/A N/A tree N/A 257 N/A 264 N/A 265 N/A 266 N/A 267 N/A 312 N/A 291 N/A 292 N/A 293 N/A 294 N/A 296 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 304 N/A 1 a N/A 268 N/A 37 $= N/A 312 N/A 291 N/A 292 N/A 293 N/A 294 N/A 296 N/A 297 N/A 298 N/A 299 N/A 300 N/A 301 N/A 302 N/A 303 N/A 304 N/A 1 b N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree a $= b N/A test_malformed_global N/A N/A self N/A N/A N/A tree N/A 257 N/A 264 N/A 265 N/A 266 N/A 282 N/A 1 foo N/A 4 N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree malformed global ast N/A test_missing_import_source N/A N/A self N/A N/A N/A tree N/A 257 N/A 267 N/A 268 N/A 269 N/A 281 N/A 283 N/A 1 from N/A 1 import N/A 286 N/A 284 N/A 1 fred N/A 4 N/A 4 N/A 0 N/A N/A N/A self check_bad_tree tree from import a N/A N/A CompileTestCase N/A N/A unittest TestCase N/A test_compile_expr N/A N/A self N/A N/A N/A st N/A N/A parser expr 2 + 3 N/A code N/A N/A parser compilest st N/A N/A N/A self assertEqual N/A eval code 5 N/A test_compile_suite N/A N/A self N/A N/A N/A st N/A N/A parser suite x = 2; y = x + 3 N/A code N/A N/A parser compilest st N/A globs N/A N/A code globs N/A N/A N/A self assertEqual N/A globs N/A y 5 N/A test_compile_error N/A N/A self N/A N/A N/A st N/A N/A parser suite 1 = 3 + 4 N/A N/A N/A self assertRaises SyntaxError N/A parser compilest st N/A test_compile_badunicode N/A N/A self N/A N/A N/A st N/A N/A parser suite a = u"\U12345678" N/A N/A N/A self assertRaises SyntaxError N/A parser compilest st N/A st N/A N/A parser suite a = u"\u1" N/A N/A N/A self assertRaises SyntaxError N/A parser compilest st N/A test_issue_9011 N/A N/A self N/A N/A N/A st N/A N/A parser expr -3 N/A code1 N/A N/A parser compilest st N/A N/A N/A self assertEqual N/A eval code1 -3 N/A code2 N/A N/A parser compilest st N/A N/A N/A self assertEqual N/A eval code2 -3 N/A N/A ParserStackLimitTestCase N/A N/A unittest TestCase N/A N/A try to push the parser to/over its limits.
    see http://bugs.python.org/issue1881 for a discussion
     _nested_expression N/A N/A self level N/A N/A N/A N/A N/A [ level N/A ] level N/A test_deeply_nested_list N/A N/A self N/A N/A N/A e N/A N/A self _nested_expression 99 N/A st N/A N/A parser expr e N/A N/A N/A st compile N/A test_trigger_memory_error N/A N/A self N/A N/A N/A e N/A N/A self _nested_expression 100 N/A N/A rc out err N/A assert_python_failure -c e N/A N/A N/A self assertIn s_push: parser stack overflow err N/A N/A N/A self assertIn MemoryError err N/A N/A STObjectTestCase N/A N/A unittest TestCase N/A N/A Test operations on ST objects themselves N/A check_sizeof N/A support check_sizeof test_sizeof N/A N/A self N/A N/A XXXROUNDUP N/A N/A n N/A N/A N/A N/A n 1 N/A N/A n N/A N/A n 128 N/A N/A N/A N/A n 3 N/A 3 N/A N/A 1 N/A N/A N/A n 1 bit_length N/A N/A basesize N/A N/A support calcobjsize Pii N/A nodesize N/A N/A struct calcsize hP3iP0h sizeofchildren N/A N/A node N/A N/A N/A N/A node None N/A N/A 0 N/A res 0 N/A hasstr N/A N/A N/A len node 1 N/A isinstance N/A node N/A -1 str N/A hasstr N/A N/A res N/A N/A len N/A node N/A -1 1 N/A children N/A hasstr N/A node N/A 1 -1 N/A node N/A 1 N/A children N/A N/A res N/A N/A XXXROUNDUP N/A len children nodesize N/A child children N/A N/A res N/A sizeofchildren child N/A res N/A check_st_sizeof N/A N/A st N/A N/A N/A N/A N/A self check_sizeof st N/A N/A basesize nodesize N/A sizeofchildren N/A N/A st totuple N/A N/A N/A check_st_sizeof N/A N/A parser expr 2 + 3 N/A N/A check_st_sizeof N/A N/A parser expr 2 + 3 + 4 N/A N/A check_st_sizeof N/A N/A parser suite x = 2 + 3 N/A N/A check_st_sizeof N/A N/A parser suite N/A N/A check_st_sizeof N/A N/A parser suite # -*- coding: utf-8 -*- N/A N/A check_st_sizeof N/A N/A parser expr N/A N/A [ N/A 2, 1000 ] N/A N/A support cpython_only N/A test_main N/A N/A N/A N/A N/A N/A N/A support run_unittest RoundtripLegalSyntaxTestCase IllegalSyntaxTestCase CompileTestCase ParserStackLimitTestCase STObjectTestCase N/A N/A N/A __name__ __main__ N/A N/A N/A test_main