Module Expr Str ImportFrom alias alias Import alias Import alias alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str TryExcept body Expr BinOpDiv Num Num handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Return AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad Str Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad Str Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad Str Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Call NameLoad AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr SubscriptLoad NameLoad Index Num ListLoad TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Assign SubscriptStore NameLoad Slice ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad keyword Num Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Num attr attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Num attr attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults BinOpFloorDiv Num Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert CompareIs AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assert CompareIs AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Assign NameStore ListLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Lambda arguments args NameParam defaults Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpAdd NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad TryExcept body Expr BinOpAdd Str Num handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpAdd NameLoad Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return BinOpMult NameLoad Num decorator_list Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str NameLoad TupleLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str NameLoad TupleLoad Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return BinOpMult NameLoad Num decorator_list Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return BinOpMult NameLoad Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str ListLoad Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index Num decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Num Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call NameLoad Str TryExcept body Raise NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call NameLoad Str TryExcept body Raise NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Yield NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list If NameLoad body Assign AttributeStore NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str TryExcept body Raise NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str TryExcept body Raise NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr BinOpFloorDiv Num Num handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num TryExcept body Raise Call NameLoad Str handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Num For NameStore NameLoad body If BoolOpAnd Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad body AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str Str NameLoad Num Expr Call AttributeLoad NameLoad attr Str Str NameLoad Num Expr Call AttributeLoad NameLoad attr Str Str NameLoad Num Expr Call AttributeLoad NameLoad attr Str Str NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults BinOpFloorDiv Num Num attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpFloorDiv Num Num Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad BinOpFloorDiv Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults BinOpFloorDiv Num Num attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpFloorDiv Num Num Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Delete NameDel NameDel NameDel Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Assign NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num For NameStore Call NameLoad Num BinOpAdd Num NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd NameLoad Num For NameStore Call NameLoad Num BinOpAdd Num NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad BinOpAdd NameLoad Num For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr 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 defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Test cases for L{twisted.internet.defer}.
 __future__ division absolute_import N/A warnings N/A gc traceback N/A re twisted.python failure log twisted.python.compat _PY3 twisted.internet defer reactor twisted.internet.task Clock twisted.trial unittest GenericError N/A Exception N/A N/A N/A getDivisionFailure N/A N/A N/A args kwargs N/A N/A 
    Make a L{failure.Failure} of a divide-by-zero error.

    @param args: Any C{*args} are passed to Failure's constructor.
    @param kwargs: Any C{**kwargs} are passed to Failure's constructor.
     N/A N/A N/A N/A 1 0 N/A N/A N/A N/A f N/A N/A failure Failure args kwargs N/A f N/A fakeCallbackCanceller N/A N/A deferred N/A N/A N/A 
    A fake L{defer.Deferred} canceller which callbacks the L{defer.Deferred}
    with C{str} "Callback Result" when cancelling it.

    @param deferred: The cancelled L{defer.Deferred}.
     N/A N/A N/A deferred callback Callback Result N/A ImmediateFailureMixin N/A object N/A N/A 
    Add additional assertion methods.
     assertImmediateFailure N/A N/A self deferred exception N/A N/A N/A 
        Assert that the given Deferred current result is a Failure with the
        given exception.

        @return: The exception instance in the Deferred.
         N/A failures N/A N/A N/A N/A deferred addErrback N/A failures append N/A N/A N/A self assertEqual N/A len failures 1 N/A N/A N/A self assertTrue N/A N/A N/A failures N/A 0 check exception N/A N/A N/A failures N/A 0 value N/A N/A UtilTests N/A N/A unittest TestCase N/A N/A 
    Tests for utility functions.
     test_logErrorReturnsError N/A N/A self N/A N/A N/A 
        L{defer.logError} returns the given error.
         N/A error N/A N/A failure Failure N/A RuntimeError N/A result N/A N/A defer logError error N/A N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertIs error result N/A test_logErrorLogsError N/A N/A self N/A N/A N/A 
        L{defer.logError} logs the given error.
         N/A error N/A N/A failure Failure N/A RuntimeError N/A N/A N/A defer logError error N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEqual errors N/A error N/A test_logErrorLogsErrorNoRepr N/A N/A self N/A N/A N/A 
        The text logged by L{defer.logError} has no repr of the failure.
         N/A output N/A emit N/A N/A eventDict N/A N/A N/A N/A N/A output append N/A N/A log textFromEventDict eventDict N/A N/A N/A N/A log addObserver emit N/A error N/A N/A failure Failure N/A RuntimeError N/A N/A N/A defer logError error N/A N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertTrue N/A N/A N/A output N/A 0 startswith Unhandled Error
Traceback  N/A N/A DeferredTests N/A N/A unittest SynchronousTestCase ImmediateFailureMixin N/A setUp N/A N/A self N/A N/A N/A N/A self callbackResults None N/A N/A self errbackResults None N/A N/A self callback2Results None N/A N/A N/A self addCleanup N/A defer setDebugging N/A N/A defer getDebugging N/A _callback N/A N/A self N/A args kw N/A N/A N/A self callbackResults N/A args kw N/A N/A args N/A 0 N/A _callback2 N/A N/A self N/A args kw N/A N/A N/A self callback2Results N/A args kw N/A _errback N/A N/A self N/A args kw N/A N/A N/A self errbackResults N/A args kw N/A testCallbackWithoutArgs N/A N/A self N/A N/A N/A deferred N/A N/A defer Deferred N/A N/A N/A deferred addCallback N/A self _callback N/A N/A N/A deferred callback hello N/A N/A N/A self assertEqual N/A self errbackResults None N/A N/A N/A self assertEqual N/A self callbackResults N/A N/A hello N/A N/A testCallbackWithArgs N/A N/A self N/A N/A N/A deferred N/A N/A defer Deferred N/A N/A N/A deferred addCallback N/A self _callback world N/A N/A N/A deferred callback hello N/A N/A N/A self assertEqual N/A self errbackResults None N/A N/A N/A self assertEqual N/A self callbackResults N/A N/A hello world N/A N/A testCallbackWithKwArgs N/A N/A self N/A N/A N/A deferred N/A N/A defer Deferred N/A N/A N/A deferred addCallback N/A self _callback world world N/A N/A N/A deferred callback hello N/A N/A N/A self assertEqual N/A self errbackResults None N/A N/A N/A self assertEqual N/A self callbackResults N/A N/A hello N/A world world N/A testTwoCallbacks N/A N/A self N/A N/A N/A deferred N/A N/A defer Deferred N/A N/A N/A deferred addCallback N/A self _callback N/A N/A N/A deferred addCallback N/A self _callback2 N/A N/A N/A deferred callback hello N/A N/A N/A self assertEqual N/A self errbackResults None N/A N/A N/A self assertEqual N/A self callbackResults N/A N/A hello N/A N/A N/A N/A self assertEqual N/A self callback2Results N/A N/A hello N/A N/A testDeferredList N/A N/A self N/A N/A N/A defr1 N/A N/A defer Deferred N/A defr2 N/A N/A defer Deferred N/A defr3 N/A N/A defer Deferred N/A dl N/A N/A defer DeferredList N/A defr1 defr2 defr3 N/A result N/A cb N/A N/A resultList result N/A result N/A N/A N/A N/A result extend resultList N/A catch N/A N/A err N/A N/A N/A None N/A N/A N/A N/A dl addCallbacks cb cb N/A N/A N/A defr1 callback 1 N/A N/A N/A defr2 addErrback catch N/A N/A N/A defr2 errback N/A GenericError 2 N/A N/A N/A defr3 callback 3 N/A N/A N/A self assertEqual N/A N/A result N/A 0 N/A N/A N/A result N/A 1 N/A 0 N/A str N/A N/A N/A result N/A 1 N/A 1 value N/A result N/A 2 N/A N/A N/A defer SUCCESS 1 N/A N/A defer FAILURE 2 N/A N/A defer SUCCESS 3 N/A testEmptyDeferredList N/A N/A self N/A N/A N/A result N/A cb N/A N/A resultList result N/A result N/A N/A N/A N/A result append resultList N/A N/A dl N/A N/A defer DeferredList N/A N/A N/A N/A dl addCallbacks cb N/A N/A N/A self assertEqual result N/A N/A N/A N/A result N/A N/A N/A dl N/A N/A defer DeferredList N/A fireOnOneCallback 1 N/A N/A N/A dl addCallbacks cb N/A N/A N/A self assertEqual result N/A N/A testDeferredListFireOnOneError N/A N/A self N/A N/A N/A defr1 N/A N/A defer Deferred N/A defr2 N/A N/A defer Deferred N/A defr3 N/A N/A defer Deferred N/A dl N/A N/A defer DeferredList N/A defr1 defr2 defr3 fireOnOneErrback 1 N/A result N/A N/A N/A N/A dl addErrback N/A result append catch N/A N/A err N/A N/A N/A None N/A N/A N/A N/A defr2 addErrback catch N/A N/A N/A defr1 callback 1 N/A N/A N/A self assertEqual result N/A N/A N/A N/A defr2 errback N/A GenericError from def2 N/A N/A N/A self assertEqual N/A len result 1 N/A aFailure N/A result N/A 0 N/A N/A N/A self assertTrue N/A issubclass N/A aFailure type N/A defer FirstError N/A issubclass(aFailure.type, defer.FirstError) failed: failure's type is %r N/A N/A aFailure type N/A firstError N/A aFailure value N/A N/A N/A self assertEqual N/A N/A firstError subFailure type GenericError N/A N/A N/A self assertEqual N/A N/A N/A firstError subFailure value args N/A from def2 N/A N/A N/A self assertEqual N/A firstError index 1 N/A testDeferredListDontConsumeErrors N/A N/A self N/A N/A N/A d1 N/A N/A defer Deferred N/A dl N/A N/A defer DeferredList N/A d1 N/A errorTrap N/A N/A N/A N/A d1 addErrback N/A errorTrap append N/A result N/A N/A N/A N/A dl addCallback N/A result append N/A N/A N/A d1 errback N/A GenericError Bang N/A N/A N/A self assertEqual Bang N/A N/A N/A N/A errorTrap N/A 0 value args N/A 0 N/A N/A N/A self assertEqual 1 N/A len result N/A N/A N/A self assertEqual Bang N/A N/A N/A N/A N/A N/A result N/A 0 N/A 0 N/A 1 value args N/A 0 N/A testDeferredListConsumeErrors N/A N/A self N/A N/A N/A d1 N/A N/A defer Deferred N/A dl N/A N/A defer DeferredList N/A d1 consumeErrors True N/A errorTrap N/A N/A N/A N/A d1 addErrback N/A errorTrap append N/A result N/A N/A N/A N/A dl addCallback N/A result append N/A N/A N/A d1 errback N/A GenericError Bang N/A N/A N/A self assertEqual N/A errorTrap N/A N/A N/A self assertEqual 1 N/A len result N/A N/A N/A self assertEqual Bang N/A N/A N/A N/A N/A N/A result N/A 0 N/A 0 N/A 1 value args N/A 0 N/A testDeferredListFireOnOneErrorWithAlreadyFiredDeferreds N/A N/A self N/A N/A N/A d1 N/A N/A defer Deferred N/A d2 N/A N/A defer Deferred N/A N/A N/A d1 errback N/A GenericError Bang N/A dl N/A N/A defer DeferredList N/A d1 d2 fireOnOneErrback True N/A result N/A N/A N/A N/A dl addErrback N/A result append N/A N/A N/A self assertEqual 1 N/A len result N/A N/A N/A d1 addErrback N/A N/A N/A e N/A None N/A testDeferredListWithAlreadyFiredDeferreds N/A N/A self N/A N/A N/A d1 N/A N/A defer Deferred N/A d2 N/A N/A defer Deferred N/A N/A N/A d1 errback N/A GenericError Bang N/A N/A N/A d2 callback 2 N/A dl N/A N/A defer DeferredList N/A d1 d2 N/A result N/A N/A N/A N/A dl addCallback N/A result append N/A N/A N/A self assertEqual 1 N/A len result N/A N/A N/A d1 addErrback N/A N/A N/A e N/A None N/A test_cancelDeferredList N/A N/A self N/A N/A N/A 
        When cancelling an unfired L{defer.DeferredList}, cancel every
        L{defer.Deferred} in the list.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredOne N/A defer CancelledError N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A test_cancelDeferredListCallback N/A N/A self N/A N/A N/A 
        When cancelling an unfired L{defer.DeferredList} without the
        C{fireOnOneCallback} and C{fireOnOneErrback} flags set, the
        L{defer.DeferredList} will be callback with a C{list} of
        (success, result) C{tuple}s.
         N/A deferredOne N/A N/A defer Deferred fakeCallbackCanceller N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A result N/A N/A self successResultOf deferredList N/A N/A N/A self assertTrue N/A N/A result N/A 0 N/A 0 N/A N/A N/A self assertEqual N/A N/A result N/A 0 N/A 1 Callback Result N/A N/A N/A self assertFalse N/A N/A result N/A 1 N/A 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A result N/A 1 N/A 1 check N/A defer CancelledError N/A test_cancelDeferredListWithFireOnOneCallback N/A N/A self N/A N/A N/A 
        When cancelling an unfired L{defer.DeferredList} with the flag
        C{fireOnOneCallback} set, cancel every L{defer.Deferred} in the list.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo fireOnOneCallback True N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredOne N/A defer CancelledError N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A test_cancelDeferredListWithFireOnOneCallbackAndDeferredCallback N/A N/A self N/A N/A N/A 
        When cancelling an unfired L{defer.DeferredList} with the flag
        C{fireOnOneCallback} set, if one of the L{defer.Deferred} callbacks
        in its canceller, the L{defer.DeferredList} will callback with the
        result and the index of the L{defer.Deferred} in a C{tuple}.
         N/A deferredOne N/A N/A defer Deferred fakeCallbackCanceller N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo fireOnOneCallback True N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A result N/A N/A self successResultOf deferredList N/A N/A N/A self assertEqual result N/A Callback Result 0 N/A test_cancelDeferredListWithFireOnOneErrback N/A N/A self N/A N/A N/A 
        When cancelling an unfired L{defer.DeferredList} with the flag
        C{fireOnOneErrback} set, cancel every L{defer.Deferred} in the list.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo fireOnOneErrback True N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredOne N/A defer CancelledError N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A deferredListFailure N/A N/A self failureResultOf deferredList N/A defer FirstError N/A firstError N/A deferredListFailure value N/A N/A N/A self assertTrue N/A N/A N/A firstError subFailure check N/A defer CancelledError N/A test_cancelDeferredListWithFireOnOneErrbackAllDeferredsCallback N/A N/A self N/A N/A N/A 
        When cancelling an unfired L{defer.DeferredList} with the flag
        C{fireOnOneErrback} set, if all the L{defer.Deferred} callbacks
        in its canceller, the L{defer.DeferredList} will callback with a
        C{list} of (success, result) C{tuple}s.
         N/A deferredOne N/A N/A defer Deferred fakeCallbackCanceller N/A deferredTwo N/A N/A defer Deferred fakeCallbackCanceller N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo fireOnOneErrback True N/A N/A N/A deferredList cancel N/A result N/A N/A self successResultOf deferredList N/A N/A N/A self assertTrue N/A N/A result N/A 0 N/A 0 N/A N/A N/A self assertEqual N/A N/A result N/A 0 N/A 1 Callback Result N/A N/A N/A self assertTrue N/A N/A result N/A 1 N/A 0 N/A N/A N/A self assertEqual N/A N/A result N/A 1 N/A 1 Callback Result N/A test_cancelDeferredListWithOriginalDeferreds N/A N/A self N/A N/A N/A 
        Cancelling a L{defer.DeferredList} will cancel the original
        L{defer.Deferred}s passed in.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A argumentList N/A deferredOne deferredTwo N/A deferredList N/A N/A defer DeferredList argumentList N/A deferredThree N/A N/A defer Deferred N/A N/A N/A argumentList append deferredThree N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredOne N/A defer CancelledError N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A N/A N/A self assertNoResult deferredThree N/A test_cancelDeferredListWithException N/A N/A self N/A N/A N/A 
        Cancelling a L{defer.DeferredList} will cancel every L{defer.Deferred}
        in the list even exceptions raised from the C{cancel} method of the
        L{defer.Deferred}s.
         cancellerRaisesException N/A N/A deferred N/A N/A N/A 
            A L{defer.Deferred} canceller that raises an exception.

            @param deferred: The cancelled L{defer.Deferred}.
             N/A N/A RuntimeError test N/A N/A deferredOne N/A N/A defer Deferred cancellerRaisesException N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo N/A N/A N/A deferredList cancel N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEqual N/A len errors 1 N/A test_cancelFiredOnOneCallbackDeferredList N/A N/A self N/A N/A N/A 
        When a L{defer.DeferredList} has fired because one L{defer.Deferred} in
        the list fired with a non-failure result, the cancellation will do
        nothing instead of cancelling the rest of the L{defer.Deferred}s.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo fireOnOneCallback True N/A N/A N/A deferredOne callback None N/A N/A N/A deferredList cancel N/A N/A N/A self assertNoResult deferredTwo N/A test_cancelFiredOnOneErrbackDeferredList N/A N/A self N/A N/A N/A 
        When a L{defer.DeferredList} has fired because one L{defer.Deferred} in
        the list fired with a failure result, the cancellation will do
        nothing instead of cancelling the rest of the L{defer.Deferred}s.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A deferredList N/A N/A defer DeferredList N/A deferredOne deferredTwo fireOnOneErrback True N/A N/A N/A deferredOne errback N/A GenericError test N/A N/A N/A deferredList cancel N/A N/A N/A self assertNoResult deferredTwo N/A N/A N/A self failureResultOf deferredOne GenericError N/A N/A N/A self failureResultOf deferredList N/A defer FirstError N/A testImmediateSuccess N/A N/A self N/A N/A N/A l N/A N/A d N/A N/A defer succeed success N/A N/A N/A d addCallback N/A l append N/A N/A N/A self assertEqual l N/A success N/A testImmediateFailure N/A N/A self N/A N/A N/A l N/A N/A d N/A N/A defer fail N/A GenericError fail N/A N/A N/A d addErrback N/A l append N/A N/A N/A self assertEqual N/A str N/A N/A l N/A 0 value fail N/A testPausedFailure N/A N/A self N/A N/A N/A l N/A N/A d N/A N/A defer fail N/A GenericError fail N/A N/A N/A d pause N/A N/A N/A d addErrback N/A l append N/A N/A N/A self assertEqual l N/A N/A N/A N/A d unpause N/A N/A N/A self assertEqual N/A str N/A N/A l N/A 0 value fail N/A testCallbackErrors N/A N/A self N/A N/A N/A l N/A N/A d N/A N/A N/A N/A N/A N/A defer Deferred addCallback N/A N/A N/A _ N/A N/A 1 0 addErrback N/A l append N/A N/A N/A d callback 1 N/A N/A N/A self assert_ N/A isinstance N/A N/A l N/A 0 value ZeroDivisionError N/A l N/A N/A d N/A N/A N/A N/A N/A N/A defer Deferred addCallback N/A N/A N/A _ N/A N/A N/A failure Failure N/A ZeroDivisionError addErrback N/A l append N/A N/A N/A d callback 1 N/A N/A N/A self assert_ N/A isinstance N/A N/A l N/A 0 value ZeroDivisionError N/A testUnpauseBeforeCallback N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d pause N/A N/A N/A d addCallback N/A self _callback N/A N/A N/A d unpause N/A testReturnDeferred N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A d2 N/A N/A defer Deferred N/A N/A N/A d2 pause N/A N/A N/A d addCallback N/A N/A N/A r d2 N/A d2 d2 N/A N/A N/A d addCallback N/A self _callback N/A N/A N/A d callback 1 N/A N/A N/A self callbackResults None Should not have been called yet. N/A N/A N/A d2 callback 2 N/A N/A N/A self callbackResults None Still should not have been called yet. N/A N/A N/A d2 unpause N/A N/A N/A N/A N/A self callbackResults N/A 0 N/A 0 2 N/A Result should have been from second deferred:%s N/A N/A self callbackResults N/A test_chainedPausedDeferredWithResult N/A N/A self N/A N/A N/A 
        When a paused Deferred with a result is returned from a callback on
        another Deferred, the other Deferred is chained to the first and waits
        for it to be unpaused.
         N/A expected N/A object N/A paused N/A N/A defer Deferred N/A N/A N/A paused callback expected N/A N/A N/A paused pause N/A chained N/A N/A defer Deferred N/A N/A N/A chained addCallback N/A N/A N/A ignored N/A paused N/A N/A N/A chained callback None N/A result N/A N/A N/A N/A chained addCallback N/A result append N/A N/A N/A self assertEqual result N/A N/A N/A N/A paused unpause N/A N/A N/A self assertEqual result N/A expected N/A test_pausedDeferredChained N/A N/A self N/A N/A N/A 
        A paused Deferred encountered while pushing a result forward through a
        chain does not prevent earlier Deferreds from continuing to execute
        their callbacks.
         N/A first N/A N/A defer Deferred N/A second N/A N/A defer Deferred N/A N/A N/A first addCallback N/A N/A N/A ignored N/A second N/A N/A N/A first callback None N/A N/A N/A first pause N/A N/A N/A second callback None N/A result N/A N/A N/A N/A second addCallback N/A result append N/A N/A N/A self assertEqual result N/A None N/A test_gatherResults N/A N/A self N/A N/A N/A l N/A N/A N/A N/A N/A N/A defer gatherResults N/A N/A N/A defer succeed 1 N/A N/A defer succeed 2 addCallback N/A l append N/A N/A N/A self assertEqual l N/A N/A 1 2 N/A l N/A N/A dl N/A N/A N/A defer succeed 1 N/A N/A defer fail N/A ValueError N/A N/A N/A N/A N/A defer gatherResults dl addErrback N/A l append N/A N/A N/A self assertEqual N/A len l 1 N/A N/A N/A self assert_ N/A isinstance N/A l N/A 0 N/A failure Failure N/A N/A N/A N/A dl N/A 1 addErrback N/A N/A N/A e N/A 1 N/A test_gatherResultsWithConsumeErrors N/A N/A self N/A N/A N/A 
        If a L{Deferred} in the list passed to L{gatherResults} fires with a
        failure and C{consumerErrors} is C{True}, the failure is converted to a
        C{None} result on that L{Deferred}.
         N/A dgood N/A N/A defer succeed 1 N/A dbad N/A N/A defer fail N/A RuntimeError oh noes N/A d N/A N/A defer gatherResults N/A dgood dbad consumeErrors True N/A unconsumedErrors N/A N/A N/A N/A dbad addErrback N/A unconsumedErrors append N/A gatheredErrors N/A N/A N/A N/A d addErrback N/A gatheredErrors append N/A N/A N/A self assertEqual N/A N/A len unconsumedErrors N/A len gatheredErrors N/A 0 1 N/A N/A N/A self assertIsInstance N/A N/A gatheredErrors N/A 0 value N/A defer FirstError N/A firstError N/A N/A N/A gatheredErrors N/A 0 value subFailure N/A N/A N/A self assertIsInstance N/A firstError value RuntimeError N/A test_cancelGatherResults N/A N/A self N/A N/A N/A 
        When cancelling the L{defer.gatherResults} call, all the
        L{defer.Deferred}s in the list will be cancelled.
         N/A deferredOne N/A N/A defer Deferred N/A deferredTwo N/A N/A defer Deferred N/A result N/A N/A defer gatherResults N/A deferredOne deferredTwo N/A N/A N/A result cancel N/A N/A N/A self failureResultOf deferredOne N/A defer CancelledError N/A N/A N/A self failureResultOf deferredTwo N/A defer CancelledError N/A gatherResultsFailure N/A N/A self failureResultOf result N/A defer FirstError N/A firstError N/A gatherResultsFailure value N/A N/A N/A self assertTrue N/A N/A N/A firstError subFailure check N/A defer CancelledError N/A test_cancelGatherResultsWithAllDeferredsCallback N/A N/A self N/A N/A N/A 
        When cancelling the L{defer.gatherResults} call, if all the
        L{defer.Deferred}s callback in their canceller, the L{defer.Deferred}
        returned by L{defer.gatherResults} will be callbacked with the C{list}
        of the results.
         N/A deferredOne N/A N/A defer Deferred fakeCallbackCanceller N/A deferredTwo N/A N/A defer Deferred fakeCallbackCanceller N/A result N/A N/A defer gatherResults N/A deferredOne deferredTwo N/A N/A N/A result cancel N/A callbackResult N/A N/A self successResultOf result N/A N/A N/A self assertEqual N/A callbackResult N/A 0 Callback Result N/A N/A N/A self assertEqual N/A callbackResult N/A 1 Callback Result N/A test_maybeDeferredSync N/A N/A self N/A N/A N/A 
        L{defer.maybeDeferred} should retrieve the result of a synchronous
        function and pass it to its resulting L{defer.Deferred}.
         N/A N/A S E N/A N/A N/A N/A d N/A N/A defer maybeDeferred N/A N/A N/A x N/A N/A x 5 10 N/A N/A N/A d addCallbacks N/A S append N/A E append N/A N/A N/A self assertEqual E N/A N/A N/A N/A self assertEqual S N/A 15 N/A test_maybeDeferredSyncError N/A N/A self N/A N/A N/A 
        L{defer.maybeDeferred} should catch exception raised by a synchronous
        function and errback its resulting L{defer.Deferred} with it.
         N/A N/A S E N/A N/A N/A N/A N/A N/A N/A 10 5 N/A N/A N/A TypeError N/A e N/A N/A expected N/A str e N/A d N/A N/A defer maybeDeferred N/A N/A N/A x N/A N/A x 5 10 N/A N/A N/A d addCallbacks N/A S append N/A E append N/A N/A N/A self assertEqual S N/A N/A N/A N/A self assertEqual N/A len E 1 N/A N/A N/A self assertEqual N/A str N/A N/A E N/A 0 value expected N/A test_maybeDeferredAsync N/A N/A self N/A N/A N/A 
        L{defer.maybeDeferred} should let L{defer.Deferred} instance pass by
        so that original result is the same.
         N/A d N/A N/A defer Deferred N/A d2 N/A N/A defer maybeDeferred N/A N/A N/A N/A d N/A N/A N/A d callback Success N/A result N/A N/A N/A N/A d2 addCallback N/A result append N/A N/A N/A self assertEqual result N/A Success N/A test_maybeDeferredAsyncError N/A N/A self N/A N/A N/A 
        L{defer.maybeDeferred} should let L{defer.Deferred} instance pass by
        so that L{failure.Failure} returned by the original instance is the
        same.
         N/A d N/A N/A defer Deferred N/A d2 N/A N/A defer maybeDeferred N/A N/A N/A N/A d N/A N/A N/A d errback N/A N/A failure Failure N/A RuntimeError N/A N/A N/A self assertImmediateFailure d2 RuntimeError N/A test_innerCallbacksPreserved N/A N/A self N/A N/A N/A 
        When a L{Deferred} encounters a result which is another L{Deferred}
        which is waiting on a third L{Deferred}, the middle L{Deferred}'s
        callbacks are executed after the third L{Deferred} fires and before the
        first receives a result.
         N/A results N/A N/A failures N/A N/A inner N/A N/A defer Deferred cb N/A N/A result N/A N/A N/A N/A N/A results append N/A start-of-cb result N/A d N/A N/A defer succeed inner firstCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A firstCallback inner N/A inner N/A secondCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A secondCallback result N/A N/A result 2 N/A N/A N/A N/A N/A N/A d addCallback firstCallback addCallback secondCallback N/A N/A N/A d addErrback N/A failures append N/A d N/A N/A outer N/A N/A defer succeed outer N/A N/A N/A outer addCallback cb N/A N/A N/A inner callback orange N/A N/A N/A outer addCallback N/A results append N/A N/A N/A inner addErrback N/A failures append N/A N/A N/A outer addErrback N/A failures append N/A N/A N/A self assertEqual N/A failures N/A N/A N/A self assertEqual results N/A N/A start-of-cb outer N/A firstCallback inner N/A secondCallback orange orangeorange N/A test_continueCallbackNotFirst N/A N/A self N/A N/A N/A 
        The continue callback of a L{Deferred} waiting for another L{Deferred}
        is not necessarily the first one. This is somewhat a whitebox test
        checking that we search for that callback among the whole list of
        callbacks.
         N/A results N/A N/A failures N/A N/A a N/A N/A defer Deferred cb N/A N/A result N/A N/A N/A N/A N/A results append N/A cb result N/A d N/A N/A defer Deferred firstCallback N/A N/A ignored N/A N/A N/A N/A N/A results append N/A firstCallback ignored N/A N/A N/A defer gatherResults N/A a N/A secondCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A secondCallback result N/A N/A N/A N/A d addCallback firstCallback N/A N/A N/A d addCallback secondCallback N/A N/A N/A d addErrback N/A failures append N/A N/A N/A d callback None N/A d N/A N/A outer N/A N/A defer succeed outer N/A N/A N/A outer addCallback cb N/A N/A N/A outer addErrback N/A failures append N/A N/A N/A self assertEqual N/A N/A cb outer N/A firstCallback None results N/A N/A N/A a callback withers N/A N/A N/A self assertEqual N/A failures N/A N/A N/A self assertEqual results N/A N/A cb outer N/A firstCallback None N/A secondCallback N/A withers N/A test_callbackOrderPreserved N/A N/A self N/A N/A N/A 
        A callback added to a L{Deferred} after a previous callback attached
        another L{Deferred} as a result is run after the callbacks of the other
        L{Deferred} are run.
         N/A results N/A N/A failures N/A N/A a N/A N/A defer Deferred cb N/A N/A result N/A N/A N/A N/A N/A results append N/A cb result N/A d N/A N/A defer Deferred firstCallback N/A N/A ignored N/A N/A N/A N/A N/A results append N/A firstCallback ignored N/A N/A N/A defer gatherResults N/A a N/A secondCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A secondCallback result N/A N/A N/A N/A d addCallback firstCallback N/A N/A N/A d addCallback secondCallback N/A N/A N/A d addErrback N/A failures append N/A N/A N/A d callback None N/A d N/A N/A outer N/A N/A defer Deferred N/A N/A N/A outer addCallback cb N/A N/A N/A outer addCallback N/A N/A N/A x N/A N/A N/A results append final N/A N/A N/A outer addErrback N/A failures append N/A N/A N/A outer callback outer N/A N/A N/A self assertEqual N/A N/A cb outer N/A firstCallback None results N/A N/A N/A a callback withers N/A N/A N/A self assertEqual N/A failures N/A N/A N/A self assertEqual results N/A N/A cb outer N/A firstCallback None N/A secondCallback N/A withers final N/A test_reentrantRunCallbacks N/A N/A self N/A N/A N/A 
        A callback added to a L{Deferred} by a callback on that L{Deferred}
        should be added to the end of the callback chain.
         N/A deferred N/A N/A defer Deferred N/A called N/A callback3 N/A N/A result N/A N/A N/A N/A N/A called append 3 N/A callback2 N/A N/A result N/A N/A N/A N/A N/A called append 2 N/A callback1 N/A N/A result N/A N/A N/A N/A N/A called append 1 N/A N/A N/A deferred addCallback callback3 N/A N/A N/A N/A deferred addCallback callback1 N/A N/A N/A deferred addCallback callback2 N/A N/A N/A deferred callback None N/A N/A N/A self assertEqual called N/A 1 2 3 N/A test_nonReentrantCallbacks N/A N/A self N/A N/A N/A 
        A callback added to a L{Deferred} by a callback on that L{Deferred}
        should not be executed until the running callback returns.
         N/A deferred N/A N/A defer Deferred N/A called N/A callback2 N/A N/A result N/A N/A N/A N/A N/A called append 2 N/A callback1 N/A N/A result N/A N/A N/A N/A N/A called append 1 N/A N/A N/A deferred addCallback callback2 N/A N/A N/A self assertEqual called N/A 1 N/A N/A N/A N/A deferred addCallback callback1 N/A N/A N/A deferred callback None N/A N/A N/A self assertEqual called N/A 1 2 N/A test_reentrantRunCallbacksWithFailure N/A N/A self N/A N/A N/A 
        After an exception is raised by a callback which was added to a
        L{Deferred} by a callback on that L{Deferred}, the L{Deferred} should
        call the first errback with a L{Failure} wrapping that exception.
         N/A exceptionMessage callback raised exception N/A deferred N/A N/A defer Deferred callback2 N/A N/A result N/A N/A N/A N/A Exception exceptionMessage N/A callback1 N/A N/A result N/A N/A N/A N/A N/A deferred addCallback callback2 N/A N/A N/A N/A deferred addCallback callback1 N/A N/A N/A deferred callback None N/A exception N/A N/A self assertImmediateFailure deferred Exception N/A N/A N/A self assertEqual N/A exception args N/A exceptionMessage N/A test_synchronousImplicitChain N/A N/A self N/A N/A N/A 
        If a first L{Deferred} with a result is returned from a callback on a
        second L{Deferred}, the result of the second L{Deferred} becomes the
        result of the first L{Deferred} and the result of the first L{Deferred}
        becomes C{None}.
         N/A result N/A object N/A first N/A N/A defer succeed result N/A second N/A N/A defer Deferred N/A N/A N/A second addCallback N/A N/A N/A ign N/A first N/A N/A N/A second callback None N/A results N/A N/A N/A N/A first addCallback N/A results append N/A N/A N/A self assertIdentical N/A results N/A 0 None N/A N/A N/A second addCallback N/A results append N/A N/A N/A self assertIdentical N/A results N/A 1 result N/A test_asynchronousImplicitChain N/A N/A self N/A N/A N/A 
        If a first L{Deferred} without a result is returned from a callback on
        a second L{Deferred}, the result of the second L{Deferred} becomes the
        result of the first L{Deferred} as soon as the first L{Deferred} has
        one and the result of the first L{Deferred} becomes C{None}.
         N/A first N/A N/A defer Deferred N/A second N/A N/A defer Deferred N/A N/A N/A second addCallback N/A N/A N/A ign N/A first N/A N/A N/A second callback None N/A firstResult N/A N/A N/A N/A first addCallback N/A firstResult append N/A secondResult N/A N/A N/A N/A second addCallback N/A secondResult append N/A N/A N/A self assertEqual firstResult N/A N/A N/A N/A self assertEqual secondResult N/A N/A result N/A object N/A N/A N/A first callback result N/A N/A N/A self assertEqual firstResult N/A None N/A N/A N/A self assertEqual secondResult N/A result N/A test_synchronousImplicitErrorChain N/A N/A self N/A N/A N/A 
        If a first L{Deferred} with a L{Failure} result is returned from a
        callback on a second L{Deferred}, the first L{Deferred}'s result is
        converted to L{None} and no unhandled error is logged when it is
        garbage collected.
         N/A first N/A N/A defer fail N/A RuntimeError First Deferred's Failure N/A second N/A N/A defer Deferred N/A N/A N/A second addCallback N/A N/A N/A ign first N/A first first N/A N/A N/A second callback None N/A firstResult N/A N/A N/A N/A first addCallback N/A firstResult append N/A N/A N/A self assertIdentical N/A firstResult N/A 0 None N/A N/A N/A self assertImmediateFailure second RuntimeError N/A test_asynchronousImplicitErrorChain N/A N/A self N/A N/A N/A 
        Let C{a} and C{b} be two L{Deferred}s.

        If C{a} has no result and is returned from a callback on C{b} then when
        C{a} fails, C{b}'s result becomes the L{Failure} that was C{a}'s result,
        the result of C{a} becomes C{None} so that no unhandled error is logged
        when it is garbage collected.
         N/A first N/A N/A defer Deferred N/A second N/A N/A defer Deferred N/A N/A N/A second addCallback N/A N/A N/A ign N/A first N/A N/A N/A second callback None N/A secondError N/A N/A N/A N/A second addErrback N/A secondError append N/A firstResult N/A N/A N/A N/A first addCallback N/A firstResult append N/A secondResult N/A N/A N/A N/A second addCallback N/A secondResult append N/A N/A N/A self assertEqual firstResult N/A N/A N/A N/A self assertEqual secondResult N/A N/A N/A N/A first errback N/A RuntimeError First Deferred's Failure N/A N/A N/A self assertTrue N/A N/A N/A secondError N/A 0 check RuntimeError N/A N/A N/A self assertEqual firstResult N/A None N/A N/A N/A self assertEqual N/A len secondResult 1 N/A test_doubleAsynchronousImplicitChaining N/A N/A self N/A N/A N/A 
        L{Deferred} chaining is transitive.

        In other words, let A, B, and C be Deferreds.  If C is returned from a
        callback on B and B is returned from a callback on A then when C fires,
        A fires.
         N/A first N/A N/A defer Deferred N/A second N/A N/A defer Deferred N/A N/A N/A second addCallback N/A N/A N/A ign N/A first N/A third N/A N/A defer Deferred N/A N/A N/A third addCallback N/A N/A N/A ign N/A second N/A thirdResult N/A N/A N/A N/A third addCallback N/A thirdResult append N/A result N/A object N/A N/A N/A second callback None N/A N/A N/A third callback None N/A N/A N/A self assertEqual thirdResult N/A N/A N/A N/A first callback result N/A N/A N/A self assertEqual thirdResult N/A result N/A test_nestedAsynchronousChainedDeferreds N/A N/A self N/A N/A N/A 
        L{Deferred}s can have callbacks that themselves return L{Deferred}s.
        When these "inner" L{Deferred}s fire (even asynchronously), the
        callback chain continues.
         N/A results N/A N/A failures N/A N/A inner N/A N/A defer Deferred cb N/A N/A result N/A N/A N/A N/A N/A results append N/A start-of-cb result N/A d N/A N/A defer succeed inner firstCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A firstCallback inner N/A inner N/A secondCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A secondCallback result N/A N/A result 2 N/A N/A N/A N/A N/A N/A d addCallback firstCallback addCallback secondCallback N/A N/A N/A d addErrback N/A failures append N/A d N/A N/A outer N/A N/A defer succeed outer N/A N/A N/A outer addCallback cb N/A N/A N/A outer addCallback N/A results append N/A N/A N/A self assertEqual results N/A N/A start-of-cb outer N/A firstCallback inner N/A N/A N/A inner callback orange N/A N/A N/A inner addErrback N/A failures append N/A N/A N/A outer addErrback N/A failures append N/A N/A N/A self assertEqual N/A failures Got errbacks but wasn't expecting any. N/A N/A N/A self assertEqual results N/A N/A start-of-cb outer N/A firstCallback inner N/A secondCallback orange orangeorange N/A test_nestedAsynchronousChainedDeferredsWithExtraCallbacks N/A N/A self N/A N/A N/A 
        L{Deferred}s can have callbacks that themselves return L{Deferred}s.
        These L{Deferred}s can have other callbacks added before they are
        returned, which subtly changes the callback chain. When these "inner"
        L{Deferred}s fire (even asynchronously), the outer callback chain
        continues.
         N/A results N/A N/A failures N/A N/A inner N/A N/A defer Deferred cb N/A N/A result N/A N/A N/A N/A N/A results append N/A start-of-cb result N/A d N/A N/A defer succeed inner firstCallback N/A N/A ignored N/A N/A N/A N/A N/A results append N/A firstCallback ignored N/A N/A N/A inner addCallback N/A N/A N/A x N/A N/A x N/A secondCallback N/A N/A result N/A N/A N/A N/A N/A results append N/A secondCallback result N/A N/A result 2 N/A N/A N/A N/A d addCallback firstCallback N/A N/A N/A d addCallback secondCallback N/A N/A N/A d addErrback N/A failures append N/A d N/A N/A outer N/A N/A defer succeed outer N/A N/A N/A outer addCallback cb N/A N/A N/A outer addCallback N/A results append N/A N/A N/A self assertEqual results N/A N/A start-of-cb outer N/A firstCallback inner N/A N/A N/A inner callback withers N/A N/A N/A outer addErrback N/A failures append N/A N/A N/A inner addErrback N/A failures append N/A N/A N/A self assertEqual N/A failures Got errbacks but wasn't expecting any. N/A N/A N/A self assertEqual results N/A N/A start-of-cb outer N/A firstCallback inner N/A secondCallback N/A withers N/A withers withers N/A test_chainDeferredRecordsExplicitChain N/A N/A self N/A N/A N/A 
        When we chain a L{Deferred}, that chaining is recorded explicitly.
         N/A a N/A N/A defer Deferred N/A b N/A N/A defer Deferred N/A N/A N/A b chainDeferred a N/A N/A N/A self assertIdentical N/A a _chainedTo b N/A test_explicitChainClearedWhenResolved N/A N/A self N/A N/A N/A 
        Any recorded chaining is cleared once the chaining is resolved, since
        it no longer exists.

        In other words, if one L{Deferred} is recorded as depending on the
        result of another, and I{that} L{Deferred} has fired, then the
        dependency is resolved and we no longer benefit from recording it.
         N/A a N/A N/A defer Deferred N/A b N/A N/A defer Deferred N/A N/A N/A b chainDeferred a N/A N/A N/A b callback None N/A N/A N/A self assertIdentical N/A a _chainedTo None N/A test_chainDeferredRecordsImplicitChain N/A N/A self N/A N/A N/A 
        We can chain L{Deferred}s implicitly by adding callbacks that return
        L{Deferred}s. When this chaining happens, we record it explicitly as
        soon as we can find out about it.
         N/A a N/A N/A defer Deferred N/A b N/A N/A defer Deferred N/A N/A N/A a addCallback N/A N/A N/A ignored N/A b N/A N/A N/A a callback None N/A N/A N/A self assertIdentical N/A a _chainedTo b N/A test_circularChainWarning N/A N/A self N/A N/A N/A 
        When a Deferred is returned from a callback directly attached to that
        same Deferred, a warning is emitted.
         N/A d N/A N/A defer Deferred circularCallback N/A N/A result N/A N/A N/A d N/A N/A N/A N/A d addCallback circularCallback N/A N/A N/A d callback foo N/A circular_warnings N/A N/A self flushWarnings N/A circularCallback N/A N/A N/A self assertEqual N/A len circular_warnings 1 N/A warning N/A circular_warnings N/A 0 N/A N/A N/A self assertEqual N/A warning N/A category DeprecationWarning N/A pattern Callback returned the Deferred it was attached to N/A N/A N/A self assertTrue N/A N/A re search pattern N/A warning N/A message N/A 
Expected match: %r
Got: %r N/A pattern N/A warning N/A message N/A test_circularChainException N/A N/A self N/A N/A N/A 
        If the deprecation warning for circular deferred callbacks is
        configured to be an error, the exception will become the failure
        result of the Deferred.
         N/A N/A N/A self addCleanup setattr warnings filters N/A warnings filters N/A N/A N/A warnings filterwarnings error category DeprecationWarning N/A d N/A N/A defer Deferred circularCallback N/A N/A result N/A N/A N/A d N/A N/A N/A N/A d addCallback circularCallback N/A N/A N/A d callback foo N/A failure N/A N/A self failureResultOf d N/A N/A N/A failure trap DeprecationWarning N/A test_repr N/A N/A self N/A N/A N/A 
        The C{repr()} of a L{Deferred} contains the class name and a
        representation of the internal Python ID.
         N/A d N/A N/A defer Deferred N/A address N/A id d N/A N/A N/A self assertEqual N/A repr d N/A <Deferred at 0x%x> N/A address N/A test_reprWithResult N/A N/A self N/A N/A N/A 
        If a L{Deferred} has been fired, then its C{repr()} contains its
        result.
         N/A d N/A N/A defer Deferred N/A N/A N/A d callback orange N/A N/A N/A self assertEqual N/A repr d N/A <Deferred at 0x%x current result: 'orange'> N/A N/A id d N/A test_reprWithChaining N/A N/A self N/A N/A N/A 
        If a L{Deferred} C{a} has been fired, but is waiting on another
        L{Deferred} C{b} that appears in its callback chain, then C{repr(a)}
        says that it is waiting on C{b}.
         N/A a N/A N/A defer Deferred N/A b N/A N/A defer Deferred N/A N/A N/A b chainDeferred a N/A N/A N/A self assertEqual N/A repr a N/A <Deferred at 0x%x waiting on Deferred at 0x%x> N/A N/A id a N/A id b N/A test_boundedStackDepth N/A N/A self N/A N/A N/A 
        The depth of the call stack does not grow as more L{Deferred} instances
        are chained together.
         chainDeferreds N/A N/A howMany N/A N/A N/A stack N/A recordStackDepth N/A N/A ignored N/A N/A N/A N/A N/A stack append N/A len N/A N/A traceback extract_stack N/A N/A top N/A N/A defer Deferred N/A innerDeferreds N/A N/A N/A defer Deferred N/A ignored N/A range howMany N/A originalInners N/A innerDeferreds N/A N/A last N/A N/A defer Deferred N/A inner N/A N/A innerDeferreds pop N/A N/A N/A top addCallback N/A N/A N/A ign inner N/A inner inner N/A N/A N/A top addCallback recordStackDepth N/A innerDeferreds N/A N/A newInner N/A N/A innerDeferreds pop N/A N/A N/A inner addCallback N/A N/A N/A ign inner N/A newInner inner N/A inner newInner N/A N/A N/A inner addCallback N/A N/A N/A ign N/A last N/A N/A N/A top callback None N/A inner originalInners N/A N/A N/A N/A inner callback None N/A N/A N/A self assertEqual stack N/A N/A N/A N/A last callback None N/A N/A stack N/A 0 N/A N/A N/A N/A self assertEqual N/A chainDeferreds 1 N/A chainDeferreds 2 N/A test_resultOfDeferredResultOfDeferredOfFiredDeferredCalled N/A N/A self N/A N/A N/A 
        Given three Deferreds, one chained to the next chained to the next,
        callbacks on the middle Deferred which are added after the chain is
        created are called once the last Deferred fires.

        This is more of a regression-style test.  It doesn't exercise any
        particular code path through the current implementation of Deferred, but
        it does exercise a broken codepath through one of the variations of the
        implementation proposed as a resolution to ticket #411.
         N/A first N/A N/A defer Deferred N/A second N/A N/A defer Deferred N/A third N/A N/A defer Deferred N/A N/A N/A first addCallback N/A N/A N/A ignored N/A second N/A N/A N/A second addCallback N/A N/A N/A ignored N/A third N/A N/A N/A second callback None N/A N/A N/A first callback None N/A N/A N/A third callback None N/A L N/A N/A N/A N/A second addCallback N/A L append N/A N/A N/A self assertEqual L N/A None N/A test_errbackWithNoArgsNoDebug N/A N/A self N/A N/A N/A 
        C{Deferred.errback()} creates a failure from the current Python
        exception.  When Deferred.debug is not set no globals or locals are
        captured in that failure.
         N/A N/A N/A defer setDebugging False N/A d N/A N/A defer Deferred N/A l N/A N/A exc N/A GenericError Bang N/A N/A N/A exc N/A N/A N/A N/A N/A N/A d errback N/A N/A N/A d addErrback N/A l append N/A fail N/A l N/A 0 N/A N/A N/A self assertEqual N/A fail value exc N/A N/A localz globalz N/A N/A N/A fail frames N/A 0 N/A -2 N/A N/A N/A self assertEqual N/A localz N/A N/A N/A self assertEqual N/A globalz N/A test_errbackWithNoArgs N/A N/A self N/A N/A N/A 
        C{Deferred.errback()} creates a failure from the current Python
        exception.  When Deferred.debug is set globals and locals are captured
        in that failure.
         N/A N/A N/A defer setDebugging True N/A d N/A N/A defer Deferred N/A l N/A N/A exc N/A GenericError Bang N/A N/A N/A exc N/A N/A N/A N/A N/A N/A d errback N/A N/A N/A d addErrback N/A l append N/A fail N/A l N/A 0 N/A N/A N/A self assertEqual N/A fail value exc N/A N/A localz globalz N/A N/A N/A fail frames N/A 0 N/A -2 N/A N/A N/A self assertNotEqual N/A localz N/A N/A N/A self assertNotEqual N/A globalz N/A test_errorInCallbackDoesNotCaptureVars N/A N/A self N/A N/A N/A 
        An error raised by a callback creates a Failure.  The Failure captures
        locals and globals if and only if C{Deferred.debug} is set.
         N/A d N/A N/A defer Deferred N/A N/A N/A d callback None N/A N/A N/A defer setDebugging False raiseError N/A N/A ignored N/A N/A N/A N/A GenericError Bang N/A N/A N/A N/A d addCallback raiseError N/A l N/A N/A N/A N/A d addErrback N/A l append N/A fail N/A l N/A 0 N/A N/A localz globalz N/A N/A N/A fail frames N/A 0 N/A -2 N/A N/A N/A self assertEqual N/A localz N/A N/A N/A self assertEqual N/A globalz N/A test_errorInCallbackCapturesVarsWhenDebugging N/A N/A self N/A N/A N/A 
        An error raised by a callback creates a Failure.  The Failure captures
        locals and globals if and only if C{Deferred.debug} is set.
         N/A d N/A N/A defer Deferred N/A N/A N/A d callback None N/A N/A N/A defer setDebugging True raiseError N/A N/A ignored N/A N/A N/A N/A GenericError Bang N/A N/A N/A N/A d addCallback raiseError N/A l N/A N/A N/A N/A d addErrback N/A l append N/A fail N/A l N/A 0 N/A N/A localz globalz N/A N/A N/A fail frames N/A 0 N/A -2 N/A N/A N/A self assertNotEqual N/A localz N/A N/A N/A self assertNotEqual N/A globalz N/A test_inlineCallbacksTracebacks N/A N/A self N/A N/A N/A 
        L{defer.inlineCallbacks} that re-raise tracebacks into their deferred
        should not lose their tracebacks.
         N/A f N/A getDivisionFailure N/A d N/A N/A defer Deferred N/A N/A N/A N/A N/A f raiseException N/A N/A N/A N/A N/A N/A d errback ic N/A N/A d N/A N/A N/A N/A d N/A N/A ic N/A N/A defer inlineCallbacks ic N/A newFailure N/A N/A self failureResultOf d N/A tb N/A N/A traceback extract_tb N/A N/A newFailure getTracebackObject N/A N/A N/A self assertEqual N/A len tb 2 N/A N/A N/A self assertIn test_defer N/A N/A tb N/A 0 N/A 0 N/A N/A N/A self assertEqual test_inlineCallbacksTracebacks N/A N/A tb N/A 0 N/A 2 N/A N/A N/A self assertEqual f.raiseException() N/A N/A tb N/A 0 N/A 3 N/A N/A N/A self assertIn test_defer N/A N/A tb N/A 1 N/A 0 N/A N/A N/A self assertEqual getDivisionFailure N/A N/A tb N/A 1 N/A 2 N/A N/A N/A self assertEqual 1/0 N/A N/A tb N/A 1 N/A 3 N/A N/A _PY3 N/A N/A N/A test_inlineCallbacksTracebacks skip Python 3 support to be fixed in #5949 N/A FirstErrorTests N/A N/A unittest SynchronousTestCase N/A N/A 
    Tests for L{FirstError}.
     test_repr N/A N/A self N/A N/A N/A 
        The repr of a L{FirstError} instance includes the repr of the value of
        the sub-failure and the index which corresponds to the L{FirstError}.
         N/A exc N/A ValueError some text N/A N/A N/A exc N/A N/A N/A N/A f N/A N/A failure Failure N/A error N/A N/A defer FirstError f 3 N/A N/A N/A self assertEqual N/A repr error N/A FirstError[#3, %s] N/A N/A repr exc N/A test_str N/A N/A self N/A N/A N/A 
        The str of a L{FirstError} instance includes the str of the
        sub-failure and the index which corresponds to the L{FirstError}.
         N/A exc N/A ValueError some text N/A N/A N/A exc N/A N/A N/A N/A f N/A N/A failure Failure N/A error N/A N/A defer FirstError f 5 N/A N/A N/A self assertEqual N/A str error N/A FirstError[#5, %s] N/A N/A str f N/A test_comparison N/A N/A self N/A N/A N/A 
        L{FirstError} instances compare equal to each other if and only if
        their failure and index compare equal.  L{FirstError} instances do not
        compare equal to instances of other types.
         N/A N/A N/A N/A 1 0 N/A N/A N/A N/A firstFailure N/A N/A failure Failure N/A one N/A N/A defer FirstError firstFailure 13 N/A anotherOne N/A N/A defer FirstError firstFailure 13 N/A N/A N/A N/A ValueError bar N/A N/A N/A N/A secondFailure N/A N/A failure Failure N/A another N/A N/A defer FirstError secondFailure 9 N/A N/A N/A self assertTrue N/A one anotherOne N/A N/A N/A self assertFalse N/A one another N/A N/A N/A self assertTrue N/A one another N/A N/A N/A self assertFalse N/A one anotherOne N/A N/A N/A self assertFalse N/A one 10 N/A N/A AlreadyCalledTests N/A N/A unittest SynchronousTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self _deferredWasDebugging N/A N/A defer getDebugging N/A N/A N/A defer setDebugging True N/A tearDown N/A N/A self N/A N/A N/A N/A N/A defer setDebugging N/A self _deferredWasDebugging N/A _callback N/A N/A self N/A args kw N/A N/A N/A _errback N/A N/A self N/A args kw N/A N/A N/A _call_1 N/A N/A self d N/A N/A N/A N/A N/A d callback hello N/A _call_2 N/A N/A self d N/A N/A N/A N/A N/A d callback twice N/A _err_1 N/A N/A self d N/A N/A N/A N/A N/A d errback N/A N/A failure Failure N/A RuntimeError N/A _err_2 N/A N/A self d N/A N/A N/A N/A N/A d errback N/A N/A failure Failure N/A RuntimeError N/A testAlreadyCalled_CC N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _call_1 d N/A N/A N/A self failUnlessRaises N/A defer AlreadyCalledError N/A self _call_2 d N/A testAlreadyCalled_CE N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _call_1 d N/A N/A N/A self failUnlessRaises N/A defer AlreadyCalledError N/A self _err_2 d N/A testAlreadyCalled_EE N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _err_1 d N/A N/A N/A self failUnlessRaises N/A defer AlreadyCalledError N/A self _err_2 d N/A testAlreadyCalled_EC N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _err_1 d N/A N/A N/A self failUnlessRaises N/A defer AlreadyCalledError N/A self _call_2 d N/A _count N/A N/A self linetype func lines expected N/A N/A N/A count 0 N/A line lines N/A N/A N/A N/A N/A line startswith N/A  %s: linetype N/A N/A line endswith N/A  %s func N/A N/A count 1 N/A N/A N/A self assertTrue N/A count expected N/A _check N/A N/A self e caller invoker1 invoker2 N/A N/A N/A lines N/A N/A N/A N/A e args N/A 0 split N/A N/A N/A self _count C caller lines 1 N/A N/A N/A self _count C _call_1 lines 0 N/A N/A N/A self _count C _call_2 lines 0 N/A N/A N/A self _count C _err_1 lines 0 N/A N/A N/A self _count C _err_2 lines 0 N/A N/A N/A self _count I invoker1 lines 1 N/A N/A N/A self _count I invoker2 lines 0 N/A testAlreadyCalledDebug_CC N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _call_1 d N/A N/A N/A N/A N/A self _call_2 d N/A N/A N/A N/A defer AlreadyCalledError N/A e N/A N/A N/A N/A self _check e testAlreadyCalledDebug_CC _call_1 _call_2 N/A N/A N/A N/A self fail second callback failed to raise AlreadyCalledError N/A testAlreadyCalledDebug_CE N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _call_1 d N/A N/A N/A N/A N/A self _err_2 d N/A N/A N/A N/A defer AlreadyCalledError N/A e N/A N/A N/A N/A self _check e testAlreadyCalledDebug_CE _call_1 _err_2 N/A N/A N/A N/A self fail second errback failed to raise AlreadyCalledError N/A testAlreadyCalledDebug_EC N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _err_1 d N/A N/A N/A N/A N/A self _call_2 d N/A N/A N/A N/A defer AlreadyCalledError N/A e N/A N/A N/A N/A self _check e testAlreadyCalledDebug_EC _err_1 _call_2 N/A N/A N/A N/A self fail second callback failed to raise AlreadyCalledError N/A testAlreadyCalledDebug_EE N/A N/A self N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _err_1 d N/A N/A N/A N/A N/A self _err_2 d N/A N/A N/A N/A defer AlreadyCalledError N/A e N/A N/A N/A N/A self _check e testAlreadyCalledDebug_EE _err_1 _err_2 N/A N/A N/A N/A self fail second errback failed to raise AlreadyCalledError N/A testNoDebugging N/A N/A self N/A N/A N/A N/A N/A defer setDebugging False N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self _call_1 d N/A N/A N/A N/A N/A self _call_2 d N/A N/A N/A N/A defer AlreadyCalledError N/A e N/A N/A N/A N/A self assertFalse N/A e args N/A N/A N/A N/A self fail second callback failed to raise AlreadyCalledError N/A testSwitchDebugging N/A N/A self N/A N/A N/A N/A N/A defer setDebugging False N/A d N/A N/A defer Deferred N/A N/A N/A d addBoth N/A N/A N/A ign N/A None N/A N/A N/A defer setDebugging True N/A N/A N/A d callback None N/A N/A N/A defer setDebugging False N/A d N/A N/A defer Deferred N/A N/A N/A d callback None N/A N/A N/A defer setDebugging True N/A N/A N/A d addBoth N/A N/A N/A ign N/A None N/A N/A DeferredCancellerTests N/A N/A unittest SynchronousTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self callbackResults None N/A N/A self errbackResults None N/A N/A self callback2Results None N/A N/A self cancellerCallCount 0 N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A self cancellerCallCount N/A 0 1 N/A _callback N/A N/A self data N/A N/A N/A N/A self callbackResults data N/A data N/A _callback2 N/A N/A self data N/A N/A N/A N/A self callback2Results data N/A _errback N/A N/A self data N/A N/A N/A N/A self errbackResults data N/A test_noCanceller N/A N/A self N/A N/A N/A 
        A L{defer.Deferred} without a canceller must errback with a
        L{defer.CancelledError} and not callback.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A N/A N/A self assertEqual N/A self callbackResults None N/A test_raisesAfterCancelAndCallback N/A N/A self N/A N/A N/A 
        A L{defer.Deferred} without a canceller, when cancelled must allow
        a single extra call to callback, and raise
        L{defer.AlreadyCalledError} if callbacked or errbacked thereafter.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A d callback None N/A N/A N/A self assertRaises N/A defer AlreadyCalledError N/A d callback None N/A N/A N/A self assertRaises N/A defer AlreadyCalledError N/A d errback N/A Exception N/A test_raisesAfterCancelAndErrback N/A N/A self N/A N/A N/A 
        A L{defer.Deferred} without a canceller, when cancelled must allow
        a single extra call to errback, and raise
        L{defer.AlreadyCalledError} if callbacked or errbacked thereafter.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A d errback N/A Exception N/A N/A N/A self assertRaises N/A defer AlreadyCalledError N/A d callback None N/A N/A N/A self assertRaises N/A defer AlreadyCalledError N/A d errback N/A Exception N/A test_noCancellerMultipleCancelsAfterCancelAndCallback N/A N/A self N/A N/A N/A 
        A L{Deferred} without a canceller, when cancelled and then
        callbacked, ignores multiple cancels thereafter.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A currentFailure N/A self errbackResults N/A N/A N/A d callback None N/A N/A N/A d cancel N/A N/A N/A self assertIdentical currentFailure N/A self errbackResults N/A test_noCancellerMultipleCancelsAfterCancelAndErrback N/A N/A self N/A N/A N/A 
        A L{defer.Deferred} without a canceller, when cancelled and then
        errbacked, ignores multiple cancels thereafter.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A currentFailure N/A self errbackResults N/A N/A N/A d errback N/A GenericError N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A N/A N/A d cancel N/A N/A N/A self assertIdentical currentFailure N/A self errbackResults N/A test_noCancellerMultipleCancel N/A N/A self N/A N/A N/A 
        Calling cancel multiple times on a deferred with no canceller
        results in a L{defer.CancelledError}. Subsequent calls to cancel
        do not cause an error.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A currentFailure N/A self errbackResults N/A N/A N/A d cancel N/A N/A N/A self assertIdentical currentFailure N/A self errbackResults N/A test_cancellerMultipleCancel N/A N/A self N/A N/A N/A 
        Verify that calling cancel multiple times on a deferred with a
        canceller that does not errback results in a
        L{defer.CancelledError} and that subsequent calls to cancel do not
        cause an error and that after all that, the canceller was only
        called once.
         cancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A currentFailure N/A self errbackResults N/A N/A N/A d cancel N/A N/A N/A self assertIdentical currentFailure N/A self errbackResults N/A N/A N/A self assertEqual N/A self cancellerCallCount 1 N/A test_simpleCanceller N/A N/A self N/A N/A N/A 
        Verify that a L{defer.Deferred} calls its specified canceller when
        it is cancelled, and that further call/errbacks raise
        L{defer.AlreadyCalledError}.
         cancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A self cancellerCallCount 1 N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A N/A N/A self assertRaises N/A defer AlreadyCalledError N/A d callback None N/A N/A N/A self assertRaises N/A defer AlreadyCalledError N/A d errback N/A Exception N/A test_cancellerArg N/A N/A self N/A N/A N/A 
        Verify that a canceller is given the correct deferred argument.
         cancel N/A N/A d1 N/A N/A N/A N/A N/A self assertIdentical d1 d N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A test_cancelAfterCallback N/A N/A self N/A N/A N/A 
        Test that cancelling a deferred after it has been callbacked does
        not cause an error.
         cancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A N/A N/A d errback N/A GenericError N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d callback biff! N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A self cancellerCallCount 0 N/A N/A N/A self assertEqual N/A self errbackResults None N/A N/A N/A self assertEqual N/A self callbackResults biff! N/A test_cancelAfterErrback N/A N/A self N/A N/A N/A 
        Test that cancelling a L{Deferred} after it has been errbacked does
        not result in a L{defer.CancelledError}.
         cancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A N/A N/A d errback N/A GenericError N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d errback N/A GenericError N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A self cancellerCallCount 0 N/A N/A N/A self assertEqual N/A N/A self errbackResults type GenericError N/A N/A N/A self assertEqual N/A self callbackResults None N/A test_cancellerThatErrbacks N/A N/A self N/A N/A N/A 
        Test a canceller which errbacks its deferred.
         cancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A N/A N/A d errback N/A GenericError N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A self cancellerCallCount 1 N/A N/A N/A self assertEqual N/A N/A self errbackResults type GenericError N/A test_cancellerThatCallbacks N/A N/A self N/A N/A N/A 
        Test a canceller which calls its deferred.
         cancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A N/A N/A d callback hello! N/A N/A d N/A N/A defer Deferred canceller cancel N/A N/A N/A d addCallbacks N/A self _callback N/A self _errback N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A self cancellerCallCount 1 N/A N/A N/A self assertEqual N/A self callbackResults hello! N/A N/A N/A self assertEqual N/A self errbackResults None N/A test_cancelNestedDeferred N/A N/A self N/A N/A N/A 
        Verify that a Deferred, a, which is waiting on another Deferred, b,
        returned from one of its callbacks, will propagate
        L{defer.CancelledError} when a is cancelled.
         innerCancel N/A N/A d N/A N/A N/A N/A self cancellerCallCount 1 N/A cancel N/A N/A d N/A N/A N/A N/A N/A self assert_ False N/A N/A b N/A N/A defer Deferred canceller innerCancel N/A a N/A N/A defer Deferred canceller cancel N/A N/A N/A a callback None N/A N/A N/A a addCallback N/A N/A N/A data N/A b N/A N/A N/A a cancel N/A N/A N/A a addCallbacks N/A self _callback N/A self _errback N/A N/A N/A self assertEqual N/A self cancellerCallCount 1 N/A N/A N/A self assertEqual N/A N/A self errbackResults type N/A defer CancelledError N/A N/A LogTests N/A N/A unittest SynchronousTestCase N/A N/A 
    Test logging of unhandled errors.
     setUp N/A N/A self N/A N/A N/A 
        Add a custom observer to observer logging.
         N/A N/A self c N/A N/A N/A N/A log addObserver N/A N/A self c append N/A tearDown N/A N/A self N/A N/A N/A 
        Remove the observer.
         N/A N/A N/A log removeObserver N/A N/A self c append N/A _loggedErrors N/A N/A self N/A N/A N/A N/A e N/A e N/A self c N/A e N/A isError N/A _check N/A N/A self N/A N/A N/A 
        Check the output of the log observer to see if the error is present.
         N/A c2 N/A N/A self _loggedErrors N/A N/A N/A self assertEqual N/A len c2 2 N/A N/A N/A N/A N/A c2 N/A 1 N/A failure trap ZeroDivisionError N/A N/A N/A self flushLoggedErrors ZeroDivisionError N/A test_errorLog N/A N/A self N/A N/A N/A 
        Verify that when a L{Deferred} with no references to it is fired,
        and its final result (the one not handled by any callback) is an
        exception, that exception will be logged immediately.
         N/A N/A N/A N/A N/A N/A N/A defer Deferred addCallback N/A N/A N/A x N/A N/A 1 0 callback 1 N/A N/A N/A gc collect N/A N/A N/A self _check N/A test_errorLogWithInnerFrameRef N/A N/A self N/A N/A N/A 
        Same as L{test_errorLog}, but with an inner frame.
         _subErrorLogWithInnerFrameRef N/A N/A N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallback N/A N/A N/A x N/A N/A 1 0 N/A N/A N/A d callback 1 N/A N/A N/A _subErrorLogWithInnerFrameRef N/A N/A N/A gc collect N/A N/A N/A self _check N/A test_errorLogWithInnerFrameCycle N/A N/A self N/A N/A N/A 
        Same as L{test_errorLogWithInnerFrameRef}, plus create a cycle.
         _subErrorLogWithInnerFrameCycle N/A N/A N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallback N/A N/A N/A x d N/A d N/A 1 0 N/A N/A d _d d N/A N/A N/A d callback 1 N/A N/A N/A _subErrorLogWithInnerFrameCycle N/A N/A N/A gc collect N/A N/A N/A self _check N/A test_errorLogNoRepr N/A N/A self N/A N/A N/A 
        Verify that when a L{Deferred} with no references to it is fired,
        the logged message does not contain a repr of the failure object.
         N/A N/A N/A N/A N/A N/A N/A defer Deferred addCallback N/A N/A N/A x N/A N/A 1 0 callback 1 N/A N/A N/A gc collect N/A N/A N/A self _check N/A N/A N/A self assertEqual 2 N/A len N/A self c N/A msg N/A N/A log textFromEventDict N/A N/A self c N/A -1 N/A expected Unhandled Error
Traceback  N/A N/A N/A self assertTrue N/A N/A msg startswith expected N/A N/A Expected message starting with: {0!r} format expected N/A test_errorLogDebugInfo N/A N/A self N/A N/A N/A 
        Verify that when a L{Deferred} with no references to it is fired,
        the logged message includes debug info if debugging on the deferred
        is enabled.
         doit N/A N/A N/A N/A N/A d N/A N/A defer Deferred N/A N/A d debug True N/A N/A N/A d addCallback N/A N/A N/A x N/A N/A 1 0 N/A N/A N/A d callback 1 N/A N/A N/A doit N/A N/A N/A gc collect N/A N/A N/A self _check N/A N/A N/A self assertEqual 2 N/A len N/A self c N/A msg N/A N/A log textFromEventDict N/A N/A self c N/A -1 N/A expected (debug:  I N/A N/A N/A self assertTrue N/A N/A msg startswith expected N/A N/A Expected message starting with: {0!r} format expected N/A test_chainedErrorCleanup N/A N/A self N/A N/A N/A 
        If one Deferred with an error result is returned from a callback on
        another Deferred, when the first Deferred is garbage collected it does
        not log its error.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallback N/A N/A N/A ign N/A N/A N/A defer fail N/A RuntimeError zoop N/A N/A N/A d callback None N/A results N/A N/A errors N/A N/A N/A N/A d addCallbacks N/A results append N/A errors append N/A N/A N/A self assertEqual results N/A N/A N/A N/A self assertEqual N/A len errors 1 N/A N/A N/A N/A errors N/A 0 trap Exception N/A results errors d N/A N/A N/A gc collect N/A N/A N/A self assertEqual N/A N/A self _loggedErrors N/A N/A test_errorClearedByChaining N/A N/A self N/A N/A N/A 
        If a Deferred with a failure result has an errback which chains it to
        another Deferred, the initial failure is cleared by the errback so it is
        not logged.
         N/A bad N/A N/A defer fail N/A Exception oh no N/A good N/A N/A defer Deferred N/A N/A N/A bad addErrback N/A N/A N/A ignored N/A good N/A good bad None N/A N/A N/A gc collect N/A N/A N/A self assertEqual N/A N/A self _loggedErrors N/A N/A N/A DeferredListEmptyTests N/A N/A unittest SynchronousTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self callbackRan 0 N/A testDeferredListEmpty N/A N/A self N/A N/A N/A Testing empty DeferredList. N/A dl N/A N/A defer DeferredList N/A N/A N/A N/A dl addCallback N/A self cb_empty N/A cb_empty N/A N/A self res N/A N/A N/A N/A self callbackRan 1 N/A N/A N/A self assertEqual N/A res N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A self callbackRan Callback was never run. N/A N/A OtherPrimitivesTests N/A N/A unittest SynchronousTestCase ImmediateFailureMixin N/A _incr N/A N/A self result N/A N/A N/A N/A self counter 1 N/A setUp N/A N/A self N/A N/A N/A N/A self counter 0 N/A testLock N/A N/A self N/A N/A N/A lock N/A N/A defer DeferredLock N/A N/A N/A N/A N/A lock acquire addCallback N/A self _incr N/A N/A N/A self assertTrue N/A lock locked N/A N/A N/A self assertEqual N/A self counter 1 N/A N/A N/A N/A N/A lock acquire addCallback N/A self _incr N/A N/A N/A self assertTrue N/A lock locked N/A N/A N/A self assertEqual N/A self counter 1 N/A N/A N/A lock release N/A N/A N/A self assertTrue N/A lock locked N/A N/A N/A self assertEqual N/A self counter 2 N/A N/A N/A lock release N/A N/A N/A self assertFalse N/A lock locked N/A N/A N/A self assertEqual N/A self counter 2 N/A N/A N/A self assertRaises TypeError N/A lock run N/A firstUnique N/A object N/A secondUnique N/A object N/A controlDeferred N/A N/A defer Deferred helper N/A N/A self b N/A N/A N/A N/A self b b N/A controlDeferred N/A N/A resultDeferred N/A N/A lock run helper self self b firstUnique N/A N/A N/A self assertTrue N/A lock locked N/A N/A N/A self assertEqual N/A self b firstUnique N/A N/A N/A resultDeferred addCallback N/A N/A N/A x N/A N/A setattr self result x N/A N/A N/A N/A N/A lock acquire addCallback N/A self _incr N/A N/A N/A self assertTrue N/A lock locked N/A N/A N/A self assertEqual N/A self counter 2 N/A N/A N/A controlDeferred callback secondUnique N/A N/A N/A self assertEqual N/A self result secondUnique N/A N/A N/A self assertTrue N/A lock locked N/A N/A N/A self assertEqual N/A self counter 3 N/A d N/A N/A N/A N/A lock acquire addBoth N/A N/A N/A x N/A N/A setattr self result x N/A N/A N/A d cancel N/A N/A N/A self assertEqual N/A N/A self result type N/A defer CancelledError N/A N/A N/A lock release N/A N/A N/A self assertFalse N/A lock locked N/A test_cancelLockAfterAcquired N/A N/A self N/A N/A N/A 
        When canceling a L{Deferred} from a L{DeferredLock} that already
        has the lock, the cancel should have no effect.
         _failOnErrback N/A N/A _ N/A N/A N/A N/A N/A self fail Unexpected errback call! N/A N/A lock N/A N/A defer DeferredLock N/A d N/A N/A lock acquire N/A N/A N/A d addErrback _failOnErrback N/A N/A N/A d cancel N/A test_cancelLockBeforeAcquired N/A N/A self N/A N/A N/A 
        When canceling a L{Deferred} from a L{DeferredLock} that does not
        yet have the lock (i.e., the L{Deferred} has not fired), the cancel
        should cause a L{defer.CancelledError} failure.
         N/A lock N/A N/A defer DeferredLock N/A N/A N/A lock acquire N/A d N/A N/A lock acquire N/A N/A N/A d cancel N/A N/A N/A self assertImmediateFailure d N/A defer CancelledError N/A testSemaphore N/A N/A self N/A N/A N/A N 13 N/A sem N/A N/A defer DeferredSemaphore N N/A controlDeferred N/A N/A defer Deferred helper N/A N/A self arg N/A N/A N/A N/A self arg arg N/A controlDeferred N/A N/A results N/A N/A uniqueObject N/A object N/A resultDeferred N/A N/A sem run helper self self arg uniqueObject N/A N/A N/A resultDeferred addCallback N/A results append N/A N/A N/A resultDeferred addCallback N/A self _incr N/A N/A N/A self assertEqual results N/A N/A N/A N/A self assertEqual N/A self arg uniqueObject N/A N/A N/A controlDeferred callback None N/A N/A N/A self assertEqual N/A N/A results pop None N/A N/A N/A self assertEqual N/A self counter 1 N/A N/A self counter 0 N/A i N/A range 1 N/A 1 N N/A N/A N/A N/A N/A N/A sem acquire addCallback N/A self _incr N/A N/A N/A self assertEqual N/A self counter i N/A success N/A fail N/A N/A r N/A N/A N/A N/A N/A success append False N/A succeed N/A N/A r N/A N/A N/A N/A N/A success append True N/A N/A d N/A N/A N/A N/A sem acquire addCallbacks fail succeed N/A N/A N/A d cancel N/A N/A N/A self assertEqual success N/A True N/A N/A N/A N/A N/A sem acquire addCallback N/A self _incr N/A N/A N/A self assertEqual N/A self counter N N/A N/A N/A sem release N/A N/A N/A self assertEqual N/A self counter N/A N 1 N/A i N/A range 1 N/A 1 N N/A N/A N/A N/A sem release N/A N/A N/A self assertEqual N/A self counter N/A N 1 N/A test_semaphoreInvalidTokens N/A N/A self N/A N/A N/A 
        If the token count passed to L{DeferredSemaphore} is less than one
        then L{ValueError} is raised.
         N/A N/A N/A self assertRaises ValueError N/A defer DeferredSemaphore 0 N/A N/A N/A self assertRaises ValueError N/A defer DeferredSemaphore -1 N/A test_cancelSemaphoreAfterAcquired N/A N/A self N/A N/A N/A 
        When canceling a L{Deferred} from a L{DeferredSemaphore} that
        already has the semaphore, the cancel should have no effect.
         _failOnErrback N/A N/A _ N/A N/A N/A N/A N/A self fail Unexpected errback call! N/A N/A sem N/A N/A defer DeferredSemaphore 1 N/A d N/A N/A sem acquire N/A N/A N/A d addErrback _failOnErrback N/A N/A N/A d cancel N/A test_cancelSemaphoreBeforeAcquired N/A N/A self N/A N/A N/A 
        When canceling a L{Deferred} from a L{DeferredSemaphore} that does
        not yet have the semaphore (i.e., the L{Deferred} has not fired),
        the cancel should cause a L{defer.CancelledError} failure.
         N/A sem N/A N/A defer DeferredSemaphore 1 N/A N/A N/A sem acquire N/A d N/A N/A sem acquire N/A N/A N/A d cancel N/A N/A N/A self assertImmediateFailure d N/A defer CancelledError N/A testQueue N/A N/A self N/A N/A N/A N/A N M N/A 2 2 N/A queue N/A N/A defer DeferredQueue N M N/A gotten N/A N/A i N/A range M N/A N/A N/A N/A N/A N/A queue get addCallback N/A gotten append N/A N/A N/A self assertRaises N/A defer QueueUnderflow N/A queue get N/A i N/A range M N/A N/A N/A N/A queue put i N/A N/A N/A self assertEqual gotten N/A list N/A range N/A i 1 N/A i N/A range N N/A N/A N/A N/A queue put N/A N i N/A N/A N/A self assertEqual gotten N/A list N/A range M N/A N/A N/A self assertRaises N/A defer QueueOverflow N/A queue put None N/A gotten N/A N/A i N/A range N N/A N/A N/A N/A N/A N/A queue get addCallback N/A gotten append N/A N/A N/A self assertEqual gotten N/A list N/A range N N/A N/A N i 1 N/A queue N/A N/A defer DeferredQueue N/A gotten N/A N/A i N/A range N N/A N/A N/A N/A N/A N/A queue get addCallback N/A gotten append N/A i N/A range N N/A N/A N/A N/A queue put i N/A N/A N/A self assertEqual gotten N/A list N/A range N N/A queue N/A N/A defer DeferredQueue size 0 N/A N/A N/A self assertRaises N/A defer QueueOverflow N/A queue put None N/A queue N/A N/A defer DeferredQueue backlog 0 N/A N/A N/A self assertRaises N/A defer QueueUnderflow N/A queue get N/A test_cancelQueueAfterSynchronousGet N/A N/A self N/A N/A N/A 
        When canceling a L{Deferred} from a L{DeferredQueue} that already has
        a result, the cancel should have no effect.
         _failOnErrback N/A N/A _ N/A N/A N/A N/A N/A self fail Unexpected errback call! N/A N/A queue N/A N/A defer DeferredQueue N/A d N/A N/A queue get N/A N/A N/A d addErrback _failOnErrback N/A N/A N/A queue put None N/A N/A N/A d cancel N/A test_cancelQueueAfterGet N/A N/A self N/A N/A N/A 
        When canceling a L{Deferred} from a L{DeferredQueue} that does not
        have a result (i.e., the L{Deferred} has not fired), the cancel
        causes a L{defer.CancelledError} failure. If the queue has a result
        later on, it doesn't try to fire the deferred.
         N/A queue N/A N/A defer DeferredQueue N/A d N/A N/A queue get N/A N/A N/A d cancel N/A N/A N/A self assertImmediateFailure d N/A defer CancelledError cb N/A N/A ignore N/A N/A N/A N/A N/A queue put None N/A N/A N/A N/A N/A queue get addCallback N/A self assertIdentical None N/A N/A N/A N/A d addCallback cb N/A done N/A N/A N/A N/A d addCallback N/A done append N/A N/A N/A self assertEqual N/A len done 1 N/A N/A DeferredFilesystemLockTests N/A N/A unittest TestCase N/A N/A 
    Test the behavior of L{DeferredFilesystemLock}
     setUp N/A N/A self N/A N/A N/A N/A self clock N/A Clock N/A N/A self lock N/A N/A defer DeferredFilesystemLock N/A N/A self mktemp scheduler N/A self clock N/A test_waitUntilLockedWithNoLock N/A N/A self N/A N/A N/A 
        Test that the lock can be acquired when no lock is held
         N/A d N/A N/A N/A self lock deferUntilLocked timeout 1 N/A d N/A test_waitUntilLockedWithTimeoutLocked N/A N/A self N/A N/A N/A 
        Test that the lock can not be acquired when the lock is held
        for longer than the timeout.
         N/A N/A N/A self assertTrue N/A N/A N/A self lock lock N/A d N/A N/A N/A self lock deferUntilLocked timeout 5.5 N/A N/A N/A self assertFailure d N/A defer TimeoutError N/A N/A N/A N/A self clock pump N/A N/A 1 10 N/A d N/A test_waitUntilLockedWithTimeoutUnlocked N/A N/A self N/A N/A N/A 
        Test that a lock can be acquired while a lock is held
        but the lock is unlocked before our timeout.
         onTimeout N/A N/A f N/A N/A N/A N/A N/A f trap N/A defer TimeoutError N/A N/A N/A self fail Should not have timed out N/A N/A N/A N/A self assertTrue N/A N/A N/A self lock lock N/A N/A N/A N/A self clock callLater 1 N/A N/A self lock unlock N/A d N/A N/A N/A self lock deferUntilLocked timeout 10 N/A N/A N/A d addErrback onTimeout N/A N/A N/A N/A self clock pump N/A N/A 1 10 N/A d N/A test_defaultScheduler N/A N/A self N/A N/A N/A 
        Test that the default scheduler is set up properly.
         N/A lock N/A N/A defer DeferredFilesystemLock N/A N/A self mktemp N/A N/A N/A self assertEqual N/A lock _scheduler reactor N/A test_concurrentUsage N/A N/A self N/A N/A N/A 
        Test that an appropriate exception is raised when attempting
        to use deferUntilLocked concurrently.
         N/A N/A N/A N/A self lock lock N/A N/A N/A N/A self clock callLater 1 N/A N/A self lock unlock N/A d N/A N/A N/A self lock deferUntilLocked N/A d2 N/A N/A N/A self lock deferUntilLocked N/A N/A N/A self assertFailure d2 N/A defer AlreadyTryingToLockError N/A N/A N/A N/A self clock advance 1 N/A d N/A test_multipleUsages N/A N/A self N/A N/A N/A 
        Test that a DeferredFilesystemLock can be used multiple times
         lockAquired N/A N/A ign N/A N/A N/A N/A N/A N/A self lock unlock N/A d N/A N/A N/A self lock deferUntilLocked N/A d N/A N/A N/A N/A N/A self lock lock N/A N/A N/A N/A self clock callLater 1 N/A N/A self lock unlock N/A d N/A N/A N/A self lock deferUntilLocked N/A N/A N/A d addCallback lockAquired N/A N/A N/A N/A self clock advance 1 N/A d N/A test_cancelDeferUntilLocked N/A N/A self N/A N/A N/A 
        When cancelling a L{defer.Deferred} returned by
        L{defer.DeferredFilesystemLock.deferUntilLocked}, the
        L{defer.DeferredFilesystemLock._tryLockCall} is cancelled.
         N/A N/A N/A N/A self lock lock N/A deferred N/A N/A N/A self lock deferUntilLocked N/A tryLockCall N/A N/A self lock _tryLockCall N/A N/A N/A deferred cancel N/A N/A N/A self assertFalse N/A N/A tryLockCall active N/A N/A N/A self assertEqual N/A N/A self lock _tryLockCall None N/A N/A N/A self failureResultOf deferred N/A defer CancelledError N/A test_cancelDeferUntilLockedWithTimeout N/A N/A self N/A N/A N/A 
        When cancel a L{defer.Deferred} returned by
        L{defer.DeferredFilesystemLock.deferUntilLocked}, if the timeout is
        set, the timeout call will be cancelled.
         N/A N/A N/A N/A self lock lock N/A deferred N/A N/A N/A self lock deferUntilLocked timeout 1 N/A timeoutCall N/A N/A self lock _timeoutCall N/A N/A N/A deferred cancel N/A N/A N/A self assertFalse N/A N/A timeoutCall active N/A N/A N/A self assertEqual N/A N/A self lock _timeoutCall None N/A N/A N/A self failureResultOf deferred N/A defer CancelledError N/A N/A