Module ImportFrom alias Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Print NameLoad Return Num decorator_list Assign NameStore BinOpMod Str TupleLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num FunctionDef arguments args defaults body For NameStore Call NameLoad Num Num body Pass decorator_list Assign NameStore BinOpMod Str TupleLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num FunctionDef arguments args NameParam defaults ListLoad body Assert Num BinOpAdd ListComp NameLoad comprehension NameStore NameLoad Num Pass decorator_list Assign NameStore BinOpMod Str TupleLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Import alias If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore BinOpAdd Str Call AttributeLoad Str attr BinOpAdd BinOpMult ListLoad Str NameLoad ListLoad Str Exec NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list For NameStore Call NameLoad Num Num body Assign NameStore BinOpMod NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Num Num Num body Assign NameStore BinOpMod NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A test.test_support run_unittest N/A unittest N/A sys N/A dis N/A StringIO _f N/A N/A a N/A N/A N/A a N/A 1 N/A N/A dis_f N/A  %-4d         0 LOAD_FAST                0 (a)
              3 PRINT_ITEM
              4 PRINT_NEWLINE

 %-4d         5 LOAD_CONST               1 (1)
              8 RETURN_VALUE
 N/A N/A N/A N/A _f func_code co_firstlineno 1 N/A N/A N/A _f func_code co_firstlineno 2 bug708901 N/A N/A N/A N/A N/A res N/A range 1 10 N/A N/A N/A N/A dis_bug708901 N/A  %-4d         0 SETUP_LOOP              23 (to 26)
              3 LOAD_GLOBAL              0 (range)
              6 LOAD_CONST               1 (1)

 %-4d         9 LOAD_CONST               2 (10)
             12 CALL_FUNCTION            2
             15 GET_ITER
        >>   16 FOR_ITER                 6 (to 25)
             19 STORE_FAST               0 (res)

 %-4d        22 JUMP_ABSOLUTE           16
        >>   25 POP_BLOCK
        >>   26 LOAD_CONST               0 (None)
             29 RETURN_VALUE
 N/A N/A N/A N/A bug708901 func_code co_firstlineno 1 N/A N/A N/A bug708901 func_code co_firstlineno 2 N/A N/A N/A bug708901 func_code co_firstlineno 3 bug1333982 N/A N/A x N/A N/A N/A N/A 0 N/A N/A s N/A s x 1 N/A N/A N/A dis_bug1333982 N/A  %-4d         0 LOAD_CONST               1 (0)
              3 POP_JUMP_IF_TRUE        41
              6 LOAD_GLOBAL              0 (AssertionError)
              9 BUILD_LIST               0
             12 LOAD_FAST                0 (x)
             15 GET_ITER
        >>   16 FOR_ITER                12 (to 31)
             19 STORE_FAST               1 (s)
             22 LOAD_FAST                1 (s)
             25 LIST_APPEND              2
             28 JUMP_ABSOLUTE           16

 %-4d   >>   31 LOAD_CONST               2 (1)
             34 BINARY_ADD
             35 CALL_FUNCTION            1
             38 RAISE_VARARGS            1

 %-4d   >>   41 LOAD_CONST               0 (None)
             44 RETURN_VALUE
 N/A N/A N/A N/A bug1333982 func_code co_firstlineno 1 N/A N/A N/A bug1333982 func_code co_firstlineno 2 N/A N/A N/A bug1333982 func_code co_firstlineno 3 N/A _BIG_LINENO_FORMAT %3d           0 LOAD_GLOBAL              0 (spam)
              3 POP_TOP
              4 LOAD_CONST               0 (None)
              7 RETURN_VALUE
 DisTests N/A N/A unittest TestCase N/A do_disassembly_test N/A N/A self func expected N/A N/A N/A s N/A N/A StringIO StringIO N/A save_stdout N/A sys stdout N/A N/A sys stdout s N/A N/A N/A dis dis func N/A N/A sys stdout save_stdout N/A got N/A N/A s getvalue N/A lines N/A N/A got split N/A lines N/A N/A N/A line rstrip N/A line lines N/A expected N/A N/A expected split N/A difflib N/A N/A expected lines N/A N/A N/A N/A self fail N/A events did not match expectation:
 N/A N/A join N/A N/A difflib ndiff expected lines N/A test_opmap N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A dis opmap N/A STOP_CODE 0 N/A N/A N/A self assertIn N/A N/A dis opmap N/A LOAD_CONST N/A dis hasconst N/A N/A N/A self assertIn N/A N/A dis opmap N/A STORE_NAME N/A dis hasname N/A test_opname N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A dis opname N/A N/A N/A dis opmap N/A LOAD_FAST LOAD_FAST N/A test_boundaries N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A dis opmap N/A EXTENDED_ARG N/A dis EXTENDED_ARG N/A N/A N/A self assertEqual N/A N/A dis opmap N/A STORE_NAME N/A dis HAVE_ARGUMENT N/A test_dis N/A N/A self N/A N/A N/A N/A N/A self do_disassembly_test _f dis_f N/A test_bug_708901 N/A N/A self N/A N/A N/A N/A N/A self do_disassembly_test bug708901 dis_bug708901 N/A test_bug_1333982 N/A N/A self N/A N/A N/A __debug__ N/A N/A N/A N/A self do_disassembly_test bug1333982 dis_bug1333982 N/A N/A N/A N/A self skipTest need asserts, run without -O N/A test_big_linenos N/A N/A self N/A N/A func N/A N/A count N/A N/A N/A namespace N/A N/A func N/A def foo():
  N/A N/A join N/A N/A N/A count N/A spam
 N/A func namespace N/A N/A namespace N/A foo N/A N/A i N/A xrange 1 300 N/A N/A expected N/A _BIG_LINENO_FORMAT N/A i 2 N/A N/A N/A self do_disassembly_test N/A func i expected N/A i N/A xrange 300 5000 10 N/A N/A expected N/A _BIG_LINENO_FORMAT N/A i 2 N/A N/A N/A self do_disassembly_test N/A func i expected N/A N/A test_main N/A N/A N/A N/A N/A N/A run_unittest DisTests N/A N/A N/A __name__ __main__ N/A N/A N/A test_main