Module ImportFrom alias TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Assign NameStore NameLoad If NameLoad body Import alias Import alias ImportFrom alias ImportFrom alias identifier FunctionDef arguments args defaults kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Num Return Call NameLoad Call NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args defaults body FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Return Call NameLoad Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return ListLoad Num Num Num decorator_list NameLoad decorator_list ClassDef bases body Pass decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Str Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Assign NameStore ListLoad TryExcept body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str TryExcept body Expr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str TryExcept body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Str Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpPow Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Str TryExcept body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Str TryExcept body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Num Num Num Num TupleLoad Num Num Num Num TupleLoad Num Num Num Num For TupleStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr CompareLt Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num BinOpFloorDiv Num Num Expr Call AttributeLoad NameLoad attr Num BinOpFloorDiv Num Num Expr Call AttributeLoad NameLoad attr Num BinOpFloorDiv Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Num NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Assign NameStore ListLoad Str Str Str Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Str Str Assign NameStore Dict Str Str Num Str Assign NameStore Dict Num Num Num Num Num NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Repr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad Str ClassDef bases NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str ImportFrom alias Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Import alias Expr Call AttributeLoad NameLoad attr NameLoad Str ImportFrom alias TryExcept body Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Import alias Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpLShift Num BinOpSub Num Num Num Str Expr Call AttributeLoad NameLoad attr BinOpSub BinOpLShift Num Num Num Num Str Expr Call AttributeLoad NameLoad attr BinOpBitAnd Num BinOpAdd Num Num Num Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpBitAnd Num Num Num Num Str Expr Call AttributeLoad NameLoad attr BinOpRShift Num Num Num Str Expr Call AttributeLoad NameLoad attr BinOpRShift Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num FunctionDef arguments args defaults body Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Call NameLoad Return NameLoad decorator_list Return Call NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Num FunctionDef arguments args defaults body Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore NameLoad Return Call NameLoad decorator_list Return Call NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Dict Str Str Num Num Str FunctionDef arguments args defaults body Assign NameStore Num FunctionDef arguments args defaults body FunctionDef arguments args defaults body Assign NameStore NameLoad Return Call NameLoad decorator_list Return TupleLoad Call NameLoad Call NameLoad decorator_list Return Call NameLoad decorator_list Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Num Num Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str FunctionDef arguments args NameParam defaults body ClassDef bases body Assign NameStore Num FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Expr Call NameLoad decorator_list Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Num attr Num Assign NameStore Dict Str Str Num Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str Str Str Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore IfExp NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore IfExp NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore IfExp ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore IfExp UnaryOpNot ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Assign NameStore Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Assign NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num Assign NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num Assign NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Num Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body AugAssignAdd NameStore NameLoad For NameStore Call NameLoad Num body AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num TryExcept body For NameStore Call NameLoad Num body Raise NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body Pass orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body Pass orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Str Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body Assign NameStore Num Break orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Num body Raise NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore ListLoad TryExcept body For NameStore Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Break handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Call NameLoad Call NameLoad Num Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Call NameLoad Call NameLoad Num keyword NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Call NameLoad Call NameLoad Call NameLoad Num Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Call NameLoad Call NameLoad NameLoad Str Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad ListLoad Call NameLoad ListLoad Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad ListLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad Num NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad Num NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad Num NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad Num NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareLtELtE Num NameLoad Num body Return NameLoad Raise Call NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body For NameStore ListLoad Num Num Num Num Num body Expr Yield NameLoad decorator_list Assign NameStore ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad AttributeLoad Call NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr ListLoad Num Num Call NameLoad Call NameLoad AttributeLoad Call NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd NameLoad NameLoad ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Assign NameStore ListLoad Num Num Num Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str TupleLoad Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Str Num TupleLoad Num Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Num Num Str Str Assign NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str TryExcept body Assign NameStore Call NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num ClassDef bases body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num Num attr Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num attr Num Call AttributeLoad Call NameLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Num Call AttributeLoad Call NameLoad NameLoad NameLoad Num attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Num TupleLoad Num Num Num decorator_list decorator_list
N/A UnitTest UnitTest N/A N/A N/A builtin_value N/A builtin value N/A N/A N/A N/A builtin_value None N/A False N/A N/A builtin N/A builtin imports.cls CLS imports.cls1 CLS CLS1 other N/A N/A N/A kwargs N/A N/A kwargs N/A foo N/A N/A _some _long _list _of _arguments N/A N/A N/A _additional 5 N/A N/A other N/A locals N/A ColourThing N/A object N/A rgb N/A N/A N/A N/A fset N/A N/A self rgb N/A N/A N/A N/A N/A self r N/A self g N/A self b rgb N/A fget N/A N/A self N/A N/A N/A N/A N/A self r N/A self g N/A self b N/A N/A N/A property N/A locals N/A N/A C N/A object N/A x N/A N/A self N/A N/A N/A N/A 1 2 3 N/A property N/A Foo N/A N/A N/A N/A LocalsTest N/A N/A __init__ N/A N/A self N/A N/A N/A N/A testargs N/A N/A self test1 test2 N/A N/A N/A N/A locals N/A testkwargs N/A N/A self test1 test2 N/A None None N/A N/A N/A locals N/A N/A BuiltinTest N/A UnitTest N/A testMinMax N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A max 1 2 3 4 4 N/A N/A N/A self assertEqual N/A min 1 2 3 4 1 N/A N/A N/A self assertEqual N/A max N/A 1 2 3 4 4 N/A N/A N/A self assertEqual N/A min N/A 1 2 3 4 1 N/A N/A N/A self assertTrue N/A N/A max N/A 5 3 4 N/A 6 1 2 N/A 6 1 2 max([5,3,4],[6,1,2]) N/A N/A N/A self assertTrue N/A N/A min N/A 5 3 4 N/A 6 1 2 N/A 5 3 4 min([5,3,4],[6,1,2]) N/A testIterProperty N/A N/A self N/A N/A N/A o N/A C N/A tst N/A N/A y N/A iter N/A o x N/A N/A N/A N/A tst append y N/A N/A N/A self assertTrue tst N/A 1 2 3 N/A tst N/A N/A N/A N/A y N/A o x N/A N/A N/A N/A tst append y N/A N/A N/A self assertTrue tst N/A 1 2 3 N/A N/A N/A N/A N/A N/A self fail #490 - no function iter.__iter__ not a function N/A testInt N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A int 5 5 N/A N/A N/A self assertEqual N/A int 09 9 N/A N/A N/A self assertEqual 6 6 N/A N/A N/A self assertEqual N/A int 0 0 N/A N/A N/A self assertEqual N/A int 0 0 N/A N/A N/A self assertEqual N/A int -1 -1 N/A N/A N/A self assertEqual N/A int - 2 -2 N/A N/A N/A self assertEqual N/A int  - 3 -3 N/A N/A N/A N/A int N/A N/A N/A self fail No int() argument error raised: int('') N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 invalid literal for int() with base 10: '' N/A N/A N/A N/A int N/A N/A N/A self fail No int() argument error raised: int(' ') N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 invalid literal for int() with base 10: '' N/A N/A N/A N/A int not int N/A N/A N/A self fail No int() argument error raised: int('not-int') N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 invalid literal for int() with base 10: 'not int' N/A N/A N/A N/A int 1 10 N/A N/A N/A self fail No int() argument error raised: int(1, 10) N/A N/A N/A TypeError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 int() can't convert non-string with explicit base N/A N/A N/A N/A int 10px N/A N/A N/A self fail No int() argument error raised: int('10px') N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 invalid literal for int() with base 10: '10px' N/A testFloat N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A float 5.1 5.1 N/A N/A N/A self assertEqual N/A float 09 9 N/A N/A N/A self assertEqual 6.1 6.1 N/A N/A N/A self assertEqual N/A float 0 0 N/A N/A N/A self assertEqual N/A float 0 0 N/A N/A N/A N/A float not float N/A N/A N/A self fail No float('not float') argument error raised N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 invalid literal for float(): not float N/A N/A N/A N/A float N/A N/A N/A self fail No float('') argument error raised N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 empty string for float() N/A N/A N/A N/A float N/A N/A N/A self fail No float(' ') argument error raised N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertEqual N/A e N/A 0 empty string for float() N/A N/A N/A self assertTrue N/A isinstance 1.0 float 1.0 should be instance of float N/A testOrdChr N/A N/A self N/A N/A N/A i N/A range 256 N/A N/A N/A N/A self assertEqual N/A ord N/A chr i i N/A testMod N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A 12 5 2 N/A N/A N/A self assertEqual N/A -0.4 1 0.6 Modulo error 1 for negative base, bug #473 N/A N/A N/A self assertEqual N/A -0.3 1.0 0.7 N/A N/A N/A self assertEqual N/A -1 2 1 N/A N/A N/A self assertEqual N/A -1 -2 -1 N/A N/A N/A self assertEqual N/A -1 3 2 N/A N/A N/A self assertEqual N/A -2 -3 -2 N/A N/A N/A self assertEqual N/A -1 4 3 N/A N/A N/A self assertEqual N/A -3 -4 -3 N/A N/A N/A self assertEqual N/A -1 5 4 N/A N/A N/A self assertEqual N/A -4 -5 -4 N/A N/A N/A self assertEqual N/A -1.0 6 5.0 N/A N/A N/A self assertEqual N/A -5.0 -6 -5.0 N/A testPower N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A 3 4 81 N/A testPowerfunc N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A pow 10 3 1000 N/A N/A N/A self assertEqual N/A pow 10 3 7 6 N/A testHex N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A hex 23 0x17 N/A N/A N/A h N/A hex 23.2 N/A N/A N/A self fail No hex() argument error raised N/A N/A N/A TypeError N/A why N/A N/A N/A N/A self assertEqual N/A N/A why args N/A 0 hex() argument can't be converted to hex N/A testOct N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A oct 23 027 N/A N/A N/A o N/A oct 23.2 N/A N/A N/A self fail No oct() argument error raised N/A N/A N/A TypeError N/A why N/A N/A N/A N/A self assertEqual N/A str why oct() argument can't be converted to oct N/A testRound N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A round 13.12345 13.0 N/A N/A N/A self assertEqual N/A round 13.12345 3 13.123 N/A N/A N/A self assertEqual N/A round -13.12345 -13.0 N/A N/A N/A self assertEqual N/A round -13.12345 3 -13.123 N/A N/A N/A self assertEqual N/A round 13.62345 14.0 N/A N/A N/A self assertEqual N/A round 13.62345 3 13.623 N/A N/A N/A self assertEqual N/A round -13.62345 -14.0 N/A N/A N/A self assertEqual N/A round -13.62345 3 -13.623 N/A testDivmod N/A N/A self N/A N/A N/A test_set N/A N/A 14 3 4 2 N/A 14.1 3 4.0 2.1 N/A 14.1 3.1 4.0 1.7 N/A N/A x y p q test_set N/A N/A d N/A divmod x y N/A N/A N/A self assertEqual N/A d N/A 0 p N/A N/A N/A self assertEqual N/A N/A abs N/A N/A d N/A 1 q 1e-05 True N/A testFloorDiv N/A N/A self N/A N/A N/A N/A N/A self assertEqual 1 N/A 4 3 N/A N/A N/A self assertEqual 1 N/A 5 3 N/A N/A N/A self assertEqual 2 N/A 6 3 N/A testAll N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A all N/A True 1 a True N/A N/A N/A self assertEqual N/A all N/A True 1 None a False N/A N/A N/A self assertEqual N/A all N/A True 1 a False N/A N/A N/A self assertEqual N/A all N/A True 1 False a False N/A testAny N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A any N/A True 1 a True N/A N/A N/A self assertEqual N/A any N/A True 1 None a True N/A N/A N/A self assertEqual N/A any N/A True 1 a True N/A N/A N/A self assertEqual N/A any N/A True 1 False a True N/A N/A N/A self assertEqual N/A any N/A False None False N/A testRepr N/A N/A self N/A N/A N/A l1 N/A 1 2 3 N/A l2 N/A a b c N/A t1 N/A 4 5 6 7 N/A t2 N/A aa bb N/A d1 N/A a b 1 B N/A d2 N/A 1 2 3 4 5 l1 l2 t1 t2 d1 N/A i1 10000 N/A f1 1.5 N/A N/A N/A self assertEqual N/A repr l1 [1, 2, 3] N/A N/A N/A self assertEqual N/A N/A l1 __repr__ [1, 2, 3] N/A N/A N/A self assertEqual N/A repr l2 ['a', 'b', 'c'] N/A N/A N/A self assertEqual N/A repr t1 (4, 5, 6, 7) N/A N/A N/A self assertEqual N/A repr t2 ('aa', 'bb') N/A N/A N/A self assertEqual N/A repr d1 {'a': 1, 'b': 'B'} N/A N/A N/A self assertEqual N/A repr d2 {1: [1, 2, 3], 2: ['a', 'b', 'c'], 3: (4, 5, 6, 7), 4: ('aa', 'bb'), 5: {'a': 1, 'b': 'B'}} N/A N/A N/A self assertEqual N/A N/A d2 __repr__ {1: [1, 2, 3], 2: ['a', 'b', 'c'], 3: (4, 5, 6, 7), 4: ('aa', 'bb'), 5: {'a': 1, 'b': 'B'}} N/A N/A N/A self assertEqual N/A repr i1 10000 N/A N/A N/A self assertEqual N/A N/A i1 __repr__ 10000 N/A N/A N/A self assertEqual N/A repr f1 1.5 N/A N/A N/A self assertEqual N/A N/A f1 __repr__ 1.5 float.__repr__() returns type instead of value, bug #487 N/A N/A N/A self assertEqual N/A l1 [1, 2, 3] N/A testIsInstance N/A N/A self N/A N/A N/A s hello N/A N/A N/A self assertTrue N/A isinstance s str s is a string N/A N/A N/A self assertFalse N/A isinstance s int s is a string not an integer N/A s 1 N/A N/A N/A self assertFalse N/A isinstance s str s is an integer not a string N/A N/A N/A self assertTrue N/A isinstance s int s is an integer N/A N/A N/A self assertFalse N/A isinstance list '' is not instance of list N/A N/A N/A self assertTrue N/A isinstance N/A list [] is an instance of list Cls N/A object N/A N/A N/A N/A N/A N/A self assertTrue N/A isinstance Cls type Bug #578 classes are instances of type N/A testImport N/A N/A self N/A N/A N/A N/A N/A self assertEqual builtin_value None The builtin is loaded before import! N/A N/A N/A N/A N/A self assertEqual N/A builtin value N/A N/A builtin get_value N/A N/A N/A N/A N/A N/A self fail Import failed for builtin imports overrideme N/A cls1 N/A CLS1 N/A N/A N/A self assertTrue N/A CLS CLS1 CLS is CLS1 N/A N/A N/A self assertTrue N/A isinstance cls1 CLS isinstance(cls1, CLS) N/A N/A N/A self assertEqual overrideme not overridden N/A imports.override N/A N/A N/A self assertEqual overrideme not overridden imports overrideme N/A N/A N/A N/A N/A self assertTrue N/A N/A overrideme overridden True overrideme.overridden is True N/A N/A N/A N/A N/A N/A self fail Exception on 'overrideme.overridden is True' N/A imports N/A N/A N/A self assertTrue N/A CLS N/A N/A imports loccls CLS CLS is imports.loccls.CLS N/A N/A N/A self assertTrue N/A CLS N/A N/A imports upcls CLS CLS is imports.upcls.CLS N/A N/A N/A self assertEqual N/A imports all_masked False from ... import * should respect __all__, #615 N/A N/A N/A self assertEqual N/A imports all_override True Should override globals, #615 N/A N/A N/A self assertEqual N/A imports all_import1 1 N/A N/A N/A self assertEqual N/A imports all_import2 3 N/A N/A N/A self assertEqual N/A imports all_import3 3 N/A testBitOperations N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A 1 N/A 2 1 2 shift error 1 N/A N/A N/A self assertEqual N/A N/A 1 2 1 3 shift error 2 N/A N/A N/A self assertEqual N/A 1 N/A 3 1 0 and error 1 N/A N/A N/A self assertEqual N/A N/A 1 3 1 2 and error 2 N/A N/A N/A self assertEqual N/A 4 2 1 right shift error 1 N/A N/A N/A self assertEqual N/A -4 2 -1 right shift error 2 - bug #341 N/A testLocals N/A N/A self N/A N/A N/A v1 1 N/A v2 2 N/A local_vars N/A locals N/A N/A N/A self assertEqual N/A len local_vars 3 N/A N/A N/A self assertEqual N/A local_vars N/A v1 1 fn1 N/A N/A N/A N/A N/A a 1 fn2 N/A N/A N/A N/A N/A b 1 N/A c N/A locals N/A c N/A N/A N/A fn2 N/A N/A local_vars N/A fn1 N/A N/A N/A self assertEqual local_vars N/A b 1 fn2 N/A N/A N/A N/A N/A lx 3 g N/A N/A N/A N/A N/A li lx N/A N/A locals N/A N/A N/A g N/A N/A N/A N/A self assertEqual N/A fn2 N/A li lx 3 3 locals() bugs: #589 fn3 N/A N/A N/A N/A N/A lx 3 g N/A N/A N/A N/A lh N/A N/A N/A N/A N/A li lx N/A N/A locals N/A N/A N/A N/A locals N/A lh N/A N/A N/A g N/A N/A N/A outer_locals inner_locals N/A fn3 N/A N/A N/A self assertEqual inner_locals N/A li lx 3 3 locals() bugs: #589 N/A keys N/A N/A outer_locals keys N/A N/A N/A keys sort N/A N/A N/A self assertEqual keys N/A lh lx locals() bugs: #589 fn4 N/A N/A x N/A N/A X N/A N/A N/A x 12 fn4 N/A N/A self N/A N/A N/A x N/A N/A N/A locals N/A N/A X N/A N/A N/A N/A self assertEqual N/A N/A fn4 1 x 12 N/A args N/A test1 test2 5 hello N/A la N/A LocalsTest N/A argsreturn N/A N/A la testkwargs args N/A N/A args N/A self la N/A N/A N/A self assertEqual args argsreturn N/A N/A args N/A self N/A argsreturn N/A N/A la testargs args N/A N/A args N/A self la N/A N/A N/A self assertEqual args argsreturn N/A t N/A ColourThing N/A N/A t rgb 1 N/A N/A N/A self assertEqual N/A t rgb 1 N/A args N/A foo 0 1 2 3 4 N/A N/A N/A self assertEqual args N/A _some _additional _of _list _long _arguments 0 5 3 2 1 4 N/A testIfExp N/A N/A self N/A N/A N/A var N/A True 1 0 N/A N/A N/A self assertEqual var 1 N/A var N/A False 1 0 N/A N/A N/A self assertEqual var 0 N/A var N/A N/A 1 0 N/A N/A N/A self assertEqual var 0 N/A var N/A N/A N/A 1 0 N/A N/A N/A self assertEqual var 1 N/A testRange N/A N/A self N/A N/A N/A r N/A range 3 N/A N/A N/A self assertEqual r N/A 0 1 2 N/A r N/A range 2 5 N/A N/A N/A self assertEqual r N/A 2 3 4 N/A r N/A range 2 15 3 N/A N/A N/A self assertEqual r N/A 2 5 8 11 14 N/A r N/A range 15 2 -3 N/A N/A N/A self assertEqual r N/A 15 12 9 6 3 N/A r N/A range 15 2 3 N/A N/A N/A self assertEqual r N/A N/A r N/A range -6 -2 -1 N/A N/A N/A self assertEqual r N/A N/A testXRange N/A N/A self N/A N/A N/A r N/A i N/A i N/A xrange 3 N/A N/A N/A self assertEqual r N/A 0 1 2 N/A r N/A i N/A i N/A xrange 2 5 N/A N/A N/A self assertEqual r N/A 2 3 4 N/A r N/A i N/A i N/A xrange 2 15 3 N/A N/A N/A self assertEqual r N/A 2 5 8 11 14 N/A r N/A i N/A i N/A xrange 15 2 -3 N/A N/A N/A self assertEqual r N/A 15 12 9 6 3 N/A r N/A i N/A i N/A xrange 15 2 3 N/A N/A N/A self assertEqual r N/A N/A r N/A i N/A i N/A xrange -6 -2 -1 N/A N/A N/A self assertEqual r N/A N/A N/A N/A self assertEqual N/A str N/A xrange 3 xrange(3) N/A N/A N/A self assertEqual N/A str N/A xrange 3 4 xrange(3, 4) N/A N/A N/A self assertEqual N/A str N/A xrange 3 4 5 xrange(3, 8, 5) N/A N/A N/A self assertEqual N/A str N/A xrange 14 3 -5 xrange(14, -1, -5) N/A testForLoop N/A N/A self N/A N/A N/A n1 0 N/A n2 0 N/A i N/A range 10 N/A N/A n1 i N/A i N/A xrange 4 N/A N/A n2 i N/A N/A N/A self assertEqual n1 45 N/A N/A N/A self assertEqual n2 60 N/A N/A N/A self assertEqual i 3 N/A N/A N/A i N/A xrange 4 N/A N/A StopIteration N/A N/A N/A self fail Failed to raise StopIteration N/A N/A N/A StopIteration N/A N/A N/A N/A self assertTrue True N/A N/A N/A self assertEqual i 0 N/A e 0 N/A i -1 N/A i N/A range 1 N/A N/A N/A N/A e 1 N/A N/A N/A self assertEqual i 0 N/A N/A N/A self assertEqual e 1 N/A e 0 N/A i -1 N/A i N/A range 0 N/A N/A N/A N/A e 1 N/A N/A N/A self assertEqual i -1 N/A N/A N/A self assertEqual e 1 bug #316 for X in Y:... else ... N/A e 0 N/A i -1 N/A i N/A range 1 N/A N/A e 1 N/A N/A N/A e 2 N/A N/A N/A self assertEqual i 0 N/A N/A N/A self assertEqual e 1 N/A testIter N/A N/A self N/A N/A i N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self idx 0 N/A __iter__ N/A N/A self N/A N/A N/A self N/A next N/A N/A self N/A N/A N/A N/A self idx 1 N/A N/A N/A self idx 5 N/A N/A StopIteration N/A N/A self idx N/A N/A N/A res N/A N/A N/A N/A j N/A i N/A N/A N/A N/A res append j N/A N/A N/A len res 5 N/A N/A N/A N/A self fail too many items in user-defined iterator N/A N/A N/A N/A N/A N/A N/A self fail error in user-defined iterator (caught here so tests can proceed) N/A N/A N/A self assertEqual res N/A range 1 5 N/A testSorted N/A N/A self N/A N/A N/A lst1 N/A range 10 N/A lst2 N/A range 10 N/A N/A N/A lst2 reverse N/A N/A N/A self assertTrue N/A lst1 N/A sorted lst2 lst1 == sorted(lst2) N/A N/A N/A self assertTrue N/A lst1 N/A sorted N/A xrange 10 lst1 == sorted(xrange(1)) N/A N/A N/A self assertTrue N/A lst2 N/A sorted N/A xrange 10 reverse True lst2 == sorted(xrange(10), reverse=True) N/A testReversed N/A N/A self N/A N/A N/A lst1 N/A range 10 N/A lst2 N/A range 10 N/A N/A N/A lst2 reverse N/A tpl1 N/A tuple lst1 N/A N/A N/A self assertTrue N/A lst1 N/A list N/A reversed lst2 lst1 == reversed(lst2) N/A N/A N/A self assertTrue N/A lst2 N/A list N/A reversed N/A xrange 10 lst2 == reversed(xrange(10), reverse=True) N/A N/A N/A self assertTrue N/A lst2 N/A list N/A reversed tpl1 lst1 == reversed(tpl1) N/A dict1 N/A a b A B N/A N/A N/A self assertRaises TypeError reversed dict1 N/A testType N/A N/A self N/A N/A N/A N/A N/A N/A N/A self assertTrue N/A N/A type object type N/A N/A N/A NotImplementedError N/A why N/A N/A N/A N/A self fail N/A Bug #229 N/A str why N/A N/A N/A self assertTrue N/A N/A type N/A N/A type N/A N/A N/A N/A self assertTrue N/A N/A type N/A list N/A N/A N/A N/A N/A self assertTrue N/A N/A type N/A list N/A N/A N/A N/A N/A N/A self fail Bug #515 N/A N/A N/A self assertTrue N/A N/A type str str N/A N/A N/A self assertTrue N/A N/A type True bool bool N/A N/A N/A self assertTrue N/A N/A type 1 int int N/A N/A N/A self assertTrue N/A N/A type 1 long long N/A N/A N/A self assertTrue N/A N/A type 1.1 float float 1.1 N/A N/A N/A self assertTrue N/A N/A type 1.0 float float 1.0 issue #524 N/A testIter N/A N/A self N/A N/A G N/A object N/A __getitem__ N/A N/A self i N/A N/A N/A N/A 0 i 4 N/A N/A i N/A N/A IndexError index out of range N/A N/A fn N/A N/A N/A N/A N/A i N/A 0 1 2 3 4 N/A N/A N/A i N/A N/A lst N/A 0 1 2 3 4 N/A N/A N/A self assertEqual lst N/A list N/A iter lst iter(lst) N/A g N/A G N/A N/A N/A self assertEqual lst N/A list N/A iter g iter(g) N/A N/A N/A self assertEqual lst N/A list N/A iter N/A N/A fn next 5 iter(fn().next, 5) N/A N/A N/A self assertEqual N/A 0 1 N/A list N/A iter N/A N/A fn next 2 iter(fn().next, 2) N/A testReduce N/A N/A self N/A N/A N/A v N/A reduce N/A N/A N/A x y N/A N/A x y N/A 1 2 3 4 5 N/A N/A N/A self assertEqual v 15 N/A testZip N/A N/A self N/A N/A N/A lst1 N/A 0 1 2 3 N/A lst2 N/A 10 11 12 N/A dict1 N/A a b A B N/A v N/A zip lst1 N/A N/A N/A self assertEqual v N/A N/A 0 N/A 1 N/A 2 N/A 3 N/A v N/A zip lst1 lst2 N/A N/A N/A self assertEqual v N/A N/A 0 10 N/A 1 11 N/A 2 12 N/A v N/A zip dict1 N/A N/A N/A self assertEqual v N/A N/A a N/A b N/A v N/A zip lst1 dict1 lst2 N/A N/A N/A self assertEqual v N/A N/A 0 a 10 N/A 1 b 11 N/A testSum N/A N/A self N/A N/A N/A N/A N/A self assertEqual 6 N/A sum N/A 0 1 2 3 N/A N/A N/A self assertEqual 5 N/A sum N/A 0 1 2 3 -1 N/A N/A N/A self assertRaises TypeError sum N/A 0 1 2 3 a N/A testSlice N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A repr N/A slice 1 2 3 slice(1, 2, 3) slice() is mis-used, issue #582 N/A s1 N/A slice 1 2 3 N/A s2 N/A slice 1 2 3 N/A s3 N/A slice 1 2 4 N/A N/A N/A self assertEqual s1 s2 N/A N/A N/A self assertNotEqual s1 s3 slice() is mis-used, issue #582 N/A N/A N/A s N/A slice 1 N/A N/A N/A Exception N/A e N/A N/A N/A N/A self fail slice() is mis-used, issue #582 N/A False N/A N/A N/A self assertEqual N/A s start None N/A N/A N/A self assertEqual N/A s stop 1 N/A N/A N/A self assertEqual N/A s step None N/A s N/A slice 1 2 N/A N/A N/A self assertEqual N/A s start 1 N/A N/A N/A self assertEqual N/A s stop 2 N/A N/A N/A self assertEqual N/A s step None N/A s N/A slice 1 2 3 N/A N/A N/A self assertEqual N/A s start 1 N/A N/A N/A self assertEqual N/A s stop 2 N/A N/A N/A self assertEqual N/A s step 3 AnyClass N/A N/A N/A N/A N/A obj N/A AnyClass N/A s N/A slice obj N/A N/A N/A self assertTrue N/A N/A s stop obj N/A N/A N/A self assertEqual N/A N/A N/A slice None indices 10 N/A 0 10 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None None 2 indices 10 N/A 0 10 2 N/A N/A N/A self assertEqual N/A N/A N/A slice 1 None 2 indices 10 N/A 1 10 2 N/A N/A N/A self assertEqual N/A N/A N/A slice None None -1 indices 10 N/A 9 -1 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice None None -2 indices 10 N/A 9 -1 -2 N/A N/A N/A self assertEqual N/A N/A N/A slice 3 None -2 indices 10 N/A 3 -1 -2 N/A N/A N/A self assertEqual N/A N/A N/A slice None -9 indices 10 N/A 0 1 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None -10 indices 10 N/A 0 0 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None -11 indices 10 N/A 0 0 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None -10 -1 indices 10 N/A 9 0 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice None -11 -1 indices 10 N/A 9 -1 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice None -12 -1 indices 10 N/A 9 -1 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice None 9 indices 10 N/A 0 9 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None 10 indices 10 N/A 0 10 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None 11 indices 10 N/A 0 10 1 N/A N/A N/A self assertEqual N/A N/A N/A slice None 8 -1 indices 10 N/A 9 8 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice None 9 -1 indices 10 N/A 9 9 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice None 10 -1 indices 10 N/A 9 9 -1 N/A N/A N/A self assertEqual N/A N/A N/A slice -100 100 indices 10 N/A N/A N/A slice None indices 10 N/A N/A N/A self assertEqual N/A N/A N/A slice 100 -100 -1 indices 10 N/A N/A N/A slice None None -1 indices 10 N/A N/A N/A self assertEqual N/A N/A N/A slice -100 100 2 indices 10 N/A 0 10 2 N/A N/A