Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Str Import alias Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str TryExcept body Exec Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass TryExcept body Exec Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass TryExcept body Exec Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Exec Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Num Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Exec Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Num TryExcept body Exec Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str Exec Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str Exec Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str NameLoad Exec Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str NameLoad If Call NameLoad body TryExcept body Exec Str NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str ClassDef bases body Expr Str Pass decorator_list Assign NameStore Call NameLoad TryExcept body Exec Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Exec Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Str BinOpMult Str Num Assign NameStore BinOpMod Str BinOpMult TupleLoad NameLoad Num Exec NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args TupleStore NameStore NameStore defaults body Return TupleLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Num Num TupleLoad Num Num FunctionDef arguments args TupleStore NameStore NameStore defaults TupleLoad Num Num body Return TupleLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Num Num FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body Return TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Num TupleLoad Num Num TupleLoad Num Num Num FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults Num TupleLoad Num Num body Return TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Num TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Exec Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr BinOpAdd BinOpMult ListLoad Str Num ListLoad Str Assign NameStore Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad Str Str Str Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd Str NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd Str NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad BinOpMod Str BinOpSub UnaryOpUSub AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad BinOpMod Str BinOpSub UnaryOpUSub AttributeLoad NameLoad attr Num NameLoad decorator_list If CompareEq AttributeLoad NameLoad attr Num body FunctionDef arguments args NameParam defaults body Assign NameStore UnaryOpUAdd Num Assign NameStore Num Assign NameStore UnaryOpUAdd Num Assign NameStore Num Assign NameStore UnaryOpUAdd Num Assign NameStore Num Assign NameStore UnaryOpUAdd Num Assign NameStore Num For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore BoolOpOr TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Str Str Str For NameStore NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str For NameStore NameLoad body Expr Call NameLoad NameLoad Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Assign NameStore Lambda arguments args NameParam defaults Num NameLoad Assign NameStore Lambda arguments args NameParam defaults Num NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num AugAssignAdd SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Delete SubscriptDel NameLoad Index Num Expr Call AttributeLoad NameLoad attr CompareIn Num NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num AugAssignAdd SubscriptStore NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Delete SubscriptDel NameLoad Index TupleLoad Num Num Expr Call AttributeLoad NameLoad attr CompareIn TupleLoad Num Num NameLoad NameLoad Assign SubscriptStore NameLoad Slice Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Num Num AugAssignAdd SubscriptStore NameLoad Slice Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Num Num Delete SubscriptDel NameLoad Slice Num Num Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad Num Num NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Num Num Slice Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Num Slice Num Num Num AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Num Num Slice Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Num Slice Num Num Num Delete SubscriptDel NameLoad ExtSlice Slice Num Num Slice Num Num Expr Call AttributeLoad NameLoad attr CompareIn TupleLoad Call NameLoad Num Num Call NameLoad Num Num NameLoad NameLoad Assign SubscriptStore NameLoad Slice Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Num Num Num AugAssignAdd SubscriptStore NameLoad Slice Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Num Num Num Delete SubscriptDel NameLoad Slice Num Num Num Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad Num Num Num NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Num Num Num Slice Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Num Num Slice Num Num Num Num AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Num Num Num Slice Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Num Num Slice Num Num Num Num Delete SubscriptDel NameLoad ExtSlice Slice Num Num Num Slice Num Num Num Expr Call AttributeLoad NameLoad attr CompareIn TupleLoad Call NameLoad Num Num Num Call NameLoad Num Num Num NameLoad NameLoad Assign SubscriptStore NameLoad Ellipsis Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Ellipsis Num AugAssignAdd SubscriptStore NameLoad Ellipsis Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Ellipsis Num Delete SubscriptDel NameLoad Ellipsis Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Ellipsis Ellipsis Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Ellipsis Ellipsis Num AugAssignAdd SubscriptStore NameLoad ExtSlice Ellipsis Ellipsis Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Ellipsis Ellipsis Num Delete SubscriptDel NameLoad ExtSlice Ellipsis Ellipsis Expr Call AttributeLoad NameLoad attr CompareIn TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A unittest N/A warnings N/A sys test test_support test.test_support check_impl_detail impl_detail TestSpecifics N/A N/A unittest TestCase N/A test_debug_assignment N/A N/A self N/A N/A N/A N/A N/A self assertRaises SyntaxError compile __debug__ = 1 ? single N/A __builtin__ N/A prev N/A __builtin__ __debug__ N/A N/A setattr __builtin__ __debug__ sure N/A N/A setattr __builtin__ __debug__ prev N/A test_argument_handling N/A N/A self N/A N/A N/A N/A N/A self assertRaises SyntaxError eval lambda a,a:0 N/A N/A N/A self assertRaises SyntaxError eval lambda a,a=1:0 N/A N/A N/A self assertRaises SyntaxError eval lambda a=1,a=1:0 N/A N/A N/A def f(a, a): pass N/A N/A N/A self fail duplicate arguments N/A N/A N/A SyntaxError N/A N/A N/A N/A N/A def f(a = 0, a = 1): pass N/A N/A N/A self fail duplicate keyword arguments N/A N/A N/A SyntaxError N/A N/A N/A N/A N/A def f(a): global a; a = 1 N/A N/A N/A self fail variable is global and local N/A N/A N/A SyntaxError N/A N/A N/A test_syntax_error N/A N/A self N/A N/A N/A N/A N/A self assertRaises SyntaxError compile 1+*3 filename exec N/A test_none_keyword_arg N/A N/A self N/A N/A N/A N/A N/A self assertRaises SyntaxError compile f(None=1) <string> exec N/A N/A impl_detail test_duplicate_global_local N/A N/A self N/A N/A N/A N/A N/A def f(a): global a; a = 1 N/A N/A N/A self fail variable is global and local N/A N/A N/A SyntaxError N/A N/A N/A test_exec_with_general_mapping_for_locals N/A N/A self N/A N/A M N/A N/A N/A Test mapping interface versus possible calls from eval(). __getitem__ N/A N/A self key N/A N/A N/A N/A key a N/A N/A 12 N/A KeyError N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A self results N/A key value N/A keys N/A N/A self N/A N/A N/A N/A list xyz N/A N/A N/A m N/A M N/A g N/A globals N/A z = a g m N/A N/A N/A self assertEqual N/A m results N/A z 12 N/A N/A N/A z = b g m N/A N/A N/A NameError N/A N/A N/A N/A N/A N/A self fail Did not detect a KeyError N/A z = dir() g m N/A N/A N/A self assertEqual N/A m results N/A z N/A list xyz N/A z = globals() g m N/A N/A N/A self assertEqual N/A m results N/A z g N/A z = locals() g m N/A N/A N/A self assertEqual N/A m results N/A z m N/A N/A check_impl_detail N/A N/A N/A N/A z = b m N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail Did not validate globals as a real dict A N/A N/A N/A Non-mapping N/A N/A N/A m N/A A N/A N/A N/A z = a g m N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail Did not validate locals as a mapping D N/A dict N/A __getitem__ N/A N/A self key N/A N/A N/A N/A key a N/A N/A 12 N/A N/A N/A dict __getitem__ self key N/A N/A N/A d N/A D N/A z = a g d N/A N/A N/A self assertEqual N/A d N/A z 12 N/A test_extended_arg N/A N/A self N/A N/A N/A longexpr N/A x = x or  N/A -x 2500 N/A code N/A 
def f(x):
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    # the expressions above have no effect, x == argument
    while x:
        x -= 1
        # EXTENDED_ARG/JUMP_ABSOLUTE here
    return x
 N/A N/A longexpr 10 N/A code N/A N/A N/A self assertEqual N/A f 5 0 N/A test_complex_args N/A N/A self N/A N/A comp_args N/A N/A N/A a b N/A N/A N/A N/A a b N/A N/A N/A N/A self assertEqual N/A comp_args N/A 1 2 N/A 1 2 comp_args N/A N/A N/A a b N/A N/A 3 4 N/A N/A N/A a b N/A N/A N/A N/A self assertEqual N/A comp_args N/A 1 2 N/A 1 2 N/A N/A N/A self assertEqual N/A comp_args N/A 3 4 comp_args N/A N/A a N/A b c N/A N/A N/A N/A a b c N/A N/A N/A N/A self assertEqual N/A comp_args 1 N/A 2 3 N/A 1 2 3 comp_args N/A N/A a N/A b c N/A 2 N/A 3 4 N/A N/A N/A a b c N/A N/A N/A N/A self assertEqual N/A comp_args 1 N/A 2 3 N/A 1 2 3 N/A N/A N/A self assertEqual N/A comp_args N/A 2 3 4 N/A test_argument_order N/A N/A self N/A N/A N/A N/A N/A def f(a=1, (b, c)): pass N/A N/A N/A self fail non-default args after default N/A N/A N/A SyntaxError N/A N/A N/A test_float_literals N/A N/A self N/A N/A N/A N/A N/A self assertRaises SyntaxError eval 2e N/A N/A N/A self assertRaises SyntaxError eval 2.0e+ N/A N/A N/A self assertRaises SyntaxError eval 1e- N/A N/A N/A self assertRaises SyntaxError eval 3-4e/21 N/A test_indentation N/A N/A self N/A N/A N/A s 
if 1:
    if 2:
        pass N/A N/A compile s <string> exec N/A test_leading_newlines N/A N/A self N/A N/A N/A s256 N/A N/A join N/A N/A N/A 256 N/A spam N/A co N/A compile s256 fn exec N/A N/A N/A self assertEqual N/A co co_firstlineno 257 N/A N/A N/A self assertEqual N/A co co_lnotab N/A test_literals_with_leading_zeroes N/A N/A self N/A N/A N/A arg N/A 077787 0xj 0x. 0e 090000000000000 080000000000000 000000000000009 000000000000008 N/A N/A N/A N/A self assertRaises SyntaxError eval arg N/A N/A N/A self assertEqual N/A eval 0777 511 N/A N/A N/A self assertEqual N/A eval 0777L 511 N/A N/A N/A self assertEqual N/A eval 000777 511 N/A N/A N/A self assertEqual N/A eval 0xff 255 N/A N/A N/A self assertEqual N/A eval 0xffL 255 N/A N/A N/A self assertEqual N/A eval 0XfF 255 N/A N/A N/A self assertEqual N/A eval 0777. 777 N/A N/A N/A self assertEqual N/A eval 0777.0 777 N/A N/A N/A self assertEqual N/A eval 000000000000000000000000000000000000000000000000000777e0 777 N/A N/A N/A self assertEqual N/A eval 0777e1 7770 N/A N/A N/A self assertEqual N/A eval 0e0 0 N/A N/A N/A self assertEqual N/A eval 0000E-012 0 N/A N/A N/A self assertEqual N/A eval 09.5 9.5 N/A N/A N/A self assertEqual N/A eval 0777j 777j N/A N/A N/A self assertEqual N/A eval 00j 0j N/A N/A N/A self assertEqual N/A eval 00.0 0 N/A N/A N/A self assertEqual N/A eval 0e3 0 N/A N/A N/A self assertEqual N/A eval 090000000000000. 9e+13 N/A N/A N/A self assertEqual N/A eval 090000000000000.0000000000000000000000 9e+13 N/A N/A N/A self assertEqual N/A eval 090000000000000e0 9e+13 N/A N/A N/A self assertEqual N/A eval 090000000000000e-0 9e+13 N/A N/A N/A self assertEqual N/A eval 090000000000000j 9e+13j N/A N/A N/A self assertEqual N/A eval 000000000000007 7 N/A N/A N/A self assertEqual N/A eval 000000000000008. 8.0 N/A N/A N/A self assertEqual N/A eval 000000000000009. 9.0 N/A test_unary_minus N/A N/A self N/A N/A N/A N/A N/A sys maxint 2147483647 N/A N/A all_one_bits 0xffffffff N/A N/A N/A self assertEqual N/A eval all_one_bits 4294967295 N/A N/A N/A self assertEqual N/A eval N/A - all_one_bits -4294967295 N/A N/A N/A N/A sys maxint 9223372036854775807 N/A N/A all_one_bits 0xffffffffffffffff N/A N/A N/A self assertEqual N/A eval all_one_bits 18446744073709551615 N/A N/A N/A self assertEqual N/A eval N/A - all_one_bits -18446744073709551615 N/A N/A N/A N/A self fail How many bits *does* this machine have??? N/A N/A N/A self assertTrue N/A isinstance N/A eval N/A %s N/A N/A N/A sys maxint 1 int N/A N/A N/A self assertTrue N/A isinstance N/A eval N/A %s N/A N/A N/A sys maxint 2 long N/A N/A N/A N/A sys maxint 9223372036854775807 N/A test_32_63_bit_values N/A N/A self N/A N/A N/A a N/A 4294967296 N/A b -4294967296 N/A c N/A 281474976710656 N/A d -281474976710656 N/A e N/A 4611686018427387904 N/A f -4611686018427387904 N/A g N/A 9223372036854775807 N/A h -9223372036854775807 N/A variable N/A N/A N/A self test_32_63_bit_values func_code co_consts N/A N/A N/A variable None N/A N/A N/A N/A self assertTrue N/A isinstance variable int N/A test_sequence_unpacking_error N/A N/A self N/A N/A N/A N/A i j N/A N/A 1 -1 N/A -1 1 N/A N/A N/A self assertEqual i 1 N/A N/A N/A self assertEqual j -1 N/A test_none_assignment N/A N/A self N/A N/A N/A stmts N/A None = 0 None += 0 __builtins__.None = 0 def None(): pass class None: pass (a, None) = 0, 0 for None in range(10): pass def f(None): pass N/A stmt stmts N/A N/A stmt N/A N/A N/A self assertRaises SyntaxError compile stmt tmp single N/A N/A N/A self assertRaises SyntaxError compile stmt tmp exec N/A test_import N/A N/A self N/A N/A N/A succeed N/A import sys import os, sys import os as bar import os.path as bar from __future__ import nested_scopes, generators from __future__ import (nested_scopes,
generators) from __future__ import (nested_scopes,
generators,) from sys import stdin, stderr, stdout from sys import (stdin, stderr,
stdout) from sys import (stdin, stderr,
stdout,) from sys import (stdin
, stderr, stdout) from sys import (stdin
, stderr, stdout,) from sys import stdin as si, stdout as so, stderr as se from sys import (stdin as si, stdout as so, stderr as se) from sys import (stdin as si, stdout as so, stderr as se,) N/A fail N/A import (os, sys) import (os), (sys) import ((os), (sys)) import (sys import sys) import (os,) import os As bar import os.path a bar from sys import stdin As stdout from sys import stdin a stdout from (sys) import stdin from __future__ import (nested_scopes from __future__ import nested_scopes) from __future__ import nested_scopes,
generators from sys import (stdin from sys import stdin) from sys import stdin, stdout,
stderr from sys import stdin si from sys import stdin,from sys import (*) from sys import (stdin,, stdout, stderr) from sys import (stdin, stdout), N/A stmt succeed N/A N/A N/A compile stmt tmp exec N/A stmt fail N/A N/A N/A N/A self assertRaises SyntaxError compile stmt tmp exec N/A test_for_distinct_code_objects N/A N/A self N/A N/A f N/A N/A N/A N/A N/A f1 N/A N/A N/A x N/A 1 x N/A f2 N/A N/A N/A x N/A 2 x N/A N/A f1 f2 N/A N/A N/A f1 f2 N/A f N/A N/A N/A self assertNotEqual N/A id N/A f1 func_code N/A id N/A f2 func_code N/A test_unicode_encoding N/A N/A self N/A N/A N/A code # -*- coding: utf-8 -*-
pass
 N/A N/A N/A self assertRaises SyntaxError compile code tmp exec N/A test_subscripts N/A N/A self N/A N/A str_map N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self data N/A N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A self data N/A N/A str key N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A N/A self data N/A N/A str key value N/A __delitem__ N/A N/A self key N/A N/A N/A N/A N/A self data N/A N/A str key N/A __contains__ N/A N/A self key N/A N/A N/A N/A N/A str key N/A self data N/A N/A N/A d N/A str_map N/A N/A d N/A 1 1 N/A N/A N/A self assertEqual N/A d N/A 1 1 N/A N/A d N/A 1 1 N/A N/A N/A self assertEqual N/A d N/A 1 2 N/A N/A d N/A 1 N/A N/A N/A self assertEqual N/A 1 d False N/A N/A d N/A N/A 1 1 1 N/A N/A N/A self assertEqual N/A d N/A N/A 1 1 1 N/A N/A d N/A N/A 1 1 1 N/A N/A N/A self assertEqual N/A d N/A N/A 1 1 2 N/A N/A d N/A N/A 1 1 N/A N/A N/A self assertEqual N/A N/A 1 1 d False N/A N/A d N/A 1 2 1 N/A N/A N/A self assertEqual N/A d N/A 1 2 1 N/A N/A d N/A 1 2 1 N/A N/A N/A self assertEqual N/A d N/A 1 2 2 N/A N/A d N/A 1 2 N/A N/A N/A self assertEqual N/A N/A slice 1 2 d False N/A N/A d N/A N/A 1 2 N/A 1 2 1 N/A N/A N/A self assertEqual N/A d N/A N/A 1 2 N/A 1 2 1 N/A N/A d N/A N/A 1 2 N/A 1 2 1 N/A N/A N/A self assertEqual N/A d N/A N/A 1 2 N/A 1 2 2 N/A N/A d N/A N/A 1 2 N/A 1 2 N/A N/A N/A self assertEqual N/A N/A N/A slice 1 2 N/A slice 1 2 d False N/A N/A d N/A 1 2 3 1 N/A N/A N/A self assertEqual N/A d N/A 1 2 3 1 N/A N/A d N/A 1 2 3 1 N/A N/A N/A self assertEqual N/A d N/A 1 2 3 2 N/A N/A d N/A 1 2 3 N/A N/A N/A self assertEqual N/A N/A slice 1 2 3 d False N/A N/A d N/A N/A 1 2 3 N/A 1 2 3 1 N/A N/A N/A self assertEqual N/A d N/A N/A 1 2 3 N/A 1 2 3 1 N/A N/A d N/A N/A 1 2 3 N/A 1 2 3 1 N/A N/A N/A self assertEqual N/A d N/A N/A 1 2 3 N/A 1 2 3 2 N/A N/A d N/A N/A 1 2 3 N/A 1 2 3 N/A N/A N/A self assertEqual N/A N/A N/A slice 1 2 3 N/A slice 1 2 3 d False N/A N/A d N/A 1 N/A N/A N/A self assertEqual N/A d N/A 1 N/A N/A d N/A 1 N/A N/A N/A self assertEqual N/A d N/A 2 N/A N/A d N/A N/A N/A N/A self assertEqual N/A Ellipsis d False N/A N/A d N/A N/A N/A 1 N/A N/A N/A self assertEqual N/A d N/A N/A N/A 1 N/A N/A d N/A N/A N/A 1 N/A N/A N/A self assertEqual N/A d N/A N/A N/A 2 N/A N/A d N/A N/A N/A N/A N/A N/A self assertEqual N/A N/A Ellipsis Ellipsis d False N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest TestSpecifics N/A N/A N/A __name__ __main__ N/A N/A N/A test_main