Module Expr Str ImportFrom alias alias Import alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr Str attr AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr Str attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str With Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Dict NameLoad Str Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr 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 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 Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareGt Call NameLoad NameLoad Num body AugAssignAdd NameStore Str Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Return NameLoad Return Str decorator_list For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return CompareGt BinOpBitAnd NameLoad Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Num decorator_list Return Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad NameLoad comprehension NameStore TupleLoad Str Str Str decorator_list For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num Num body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Str BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Str BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Str BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num For NameStore TupleLoad Str Str Str body For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad Num Num body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs Call NameLoad NameLoad Str NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr FunctionDef arguments args defaults body Return ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str attr FunctionDef arguments args NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr decorator_list Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str decorator_list If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Assign NameStore TupleLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpFloorDiv Call NameLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr BinOpFloorDiv Call NameLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr BinOpFloorDiv Call NameLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list If CompareNotEq Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list If CompareNotEq Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareGt Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareGtE Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareGtE Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareLtE Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareLtE Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr 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 TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call 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 Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Lambda arguments args defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr 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 AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str 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 AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore NameLoad Delete NameDel Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr 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 Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr 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 Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad Num Num body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Num For NameStore TupleLoad Num Num body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body Assign NameStore NameLoad orelse Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore TupleLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list Assign NameStore Call NameLoad FunctionDef arguments args defaults vararg kwarg body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr NameLoad BinOpMod Str TupleLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list
N/A N/A 
Test cases covering L{twisted.python.filepath}.
 __future__ division absolute_import N/A os time pickle errno stat N/A contextlib pprint pformat twisted.python.compat _PY3 twisted.python.win32 WindowsError ERROR_DIRECTORY twisted.python filepath twisted.python.runtime platform twisted.trial.unittest SkipTest SynchronousTestCase TestCase zope.interface.verify verifyObject BytesTestCase N/A TestCase N/A N/A 
    Override default method implementations to support byte paths.
     mktemp N/A N/A self N/A N/A N/A 
        Return a temporary path, encoded as bytes.
         N/A N/A N/A N/A N/A TestCase mktemp self encode utf-8 N/A N/A AbstractFilePathTestCase N/A BytesTestCase N/A N/A 
    Tests for L{IFilePath} implementations.
     N/A f1content file 1 N/A f2content file 2 _mkpath N/A N/A self N/A p N/A N/A x N/A N/A N/A os path abspath N/A N/A N/A os path join N/A self cmn p N/A N/A N/A N/A self all append x N/A x N/A subdir N/A N/A self N/A dirname N/A N/A N/A N/A os mkdir N/A N/A self _mkpath dirname N/A subfile N/A N/A self N/A dirname N/A N/A N/A open N/A N/A self _mkpath dirname wb N/A setUp N/A N/A self N/A N/A N/A N/A self now N/A N/A time time N/A cmn N/A self cmn N/A N/A N/A os path abspath N/A N/A self mktemp N/A N/A self all N/A cmn N/A N/A N/A os mkdir cmn N/A N/A N/A self subdir sub1 N/A f N/A N/A self subfile file1 N/A N/A N/A f write N/A self f1content N/A N/A N/A f close N/A f N/A N/A self subfile sub1 file2 N/A N/A N/A f write N/A self f2content N/A N/A N/A f close N/A N/A N/A self subdir sub3 N/A f N/A N/A self subfile sub3 file3.ext1 N/A N/A N/A f close N/A f N/A N/A self subfile sub3 file3.ext2 N/A N/A N/A f close N/A f N/A N/A self subfile sub3 file3.ext3 N/A N/A N/A f close N/A N/A self path N/A N/A filepath FilePath cmn N/A N/A self root N/A N/A filepath FilePath / N/A test_verifyObject N/A N/A self N/A N/A N/A 
        Instances of the path type being tested provide L{IFilePath}.
         N/A N/A N/A self assertTrue N/A verifyObject N/A filepath IFilePath N/A self path N/A test_segmentsFromPositive N/A N/A self N/A N/A N/A 
        Verify that the segments between two paths are correctly identified.
         N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A N/A self path child a child b child c segmentsFrom N/A self path N/A a b c N/A test_segmentsFromNegative N/A N/A self N/A N/A N/A 
        Verify that segmentsFrom notices when the ancestor isn't an ancestor.
         N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A N/A N/A N/A N/A self path child a child b child c segmentsFrom N/A N/A N/A N/A N/A N/A N/A self path child d child c child e N/A test_walk N/A N/A self N/A N/A N/A 
        Verify that walking the path gives the same result as the known file
        hierarchy.
         N/A x N/A N/A foo path N/A foo N/A N/A N/A self path walk N/A N/A N/A self assertEqual N/A set x N/A set N/A self all N/A test_parents N/A N/A self N/A N/A N/A 
        L{FilePath.parents()} should return an iterator of every ancestor of
        the L{FilePath} in question.
         N/A L N/A N/A pathobj N/A N/A N/A N/A N/A N/A N/A self path child a child b child c N/A fullpath N/A pathobj path N/A lastpath fullpath N/A thispath N/A N/A N/A os path dirname fullpath N/A N/A lastpath N/A N/A self root path N/A N/A N/A N/A L append thispath N/A lastpath thispath N/A thispath N/A N/A N/A os path dirname thispath N/A N/A N/A self assertEqual N/A N/A x path N/A x N/A N/A pathobj parents L N/A test_validSubdir N/A N/A self N/A N/A N/A 
        Verify that a valid subdirectory will show up as a directory, but not as a
        file, not as a symlink, and be listable.
         N/A sub1 N/A N/A N/A self path child sub1 N/A N/A N/A self failUnless N/A N/A sub1 exists This directory does exist. N/A N/A N/A self failUnless N/A N/A sub1 isdir It's a directory. N/A N/A N/A self failUnless N/A N/A N/A sub1 isfile It's a directory. N/A N/A N/A self failUnless N/A N/A N/A sub1 islink It's a directory. N/A N/A N/A self assertEqual N/A N/A sub1 listdir N/A file2 N/A test_invalidSubdir N/A N/A self N/A N/A N/A 
        Verify that a subdirectory that doesn't exist is reported as such.
         N/A sub2 N/A N/A N/A self path child sub2 N/A N/A N/A self failIf N/A N/A sub2 exists This directory does not exist. N/A test_validFiles N/A N/A self N/A N/A N/A 
        Make sure that we can read existent non-empty files.
         N/A f1 N/A N/A N/A self path child file1 N/A N/A N/A contextlib closing N/A N/A f1 open f N/A N/A N/A N/A self assertEqual N/A N/A f read N/A self f1content N/A f2 N/A N/A N/A N/A N/A self path child sub1 child file2 N/A N/A N/A contextlib closing N/A N/A f2 open f N/A N/A N/A N/A self assertEqual N/A N/A f read N/A self f2content N/A test_multipleChildSegments N/A N/A self N/A N/A N/A 
        C{fp.descendant([a, b, c])} returns the same L{FilePath} as is returned
        by C{fp.child(a).child(b).child(c)}.
         N/A multiple N/A N/A N/A self path descendant N/A a b c N/A single N/A N/A N/A N/A N/A N/A N/A self path child a child b child c N/A N/A N/A self assertEqual multiple single N/A test_dictionaryKeys N/A N/A self N/A N/A N/A 
        Verify that path instances are usable as dictionary keys.
         N/A f1 N/A N/A N/A self path child file1 N/A f1prime N/A N/A N/A self path child file1 N/A f2 N/A N/A N/A self path child file2 N/A dictoid N/A N/A N/A dictoid N/A f1 3 N/A N/A dictoid N/A f1prime 4 N/A N/A N/A self assertEqual N/A dictoid N/A f1 4 N/A N/A N/A self assertEqual N/A list N/A N/A dictoid keys N/A f1 N/A N/A N/A self assertTrue N/A N/A N/A list N/A N/A dictoid keys N/A 0 f1 N/A N/A N/A self assertFalse N/A N/A N/A list N/A N/A dictoid keys N/A 0 f1prime N/A N/A dictoid N/A f2 5 N/A N/A N/A self assertEqual N/A dictoid N/A f2 5 N/A N/A N/A self assertEqual N/A len dictoid 2 N/A test_dictionaryKeyWithString N/A N/A self N/A N/A N/A 
        Verify that path instances are usable as dictionary keys which do not clash
        with their string counterparts.
         N/A f1 N/A N/A N/A self path child file1 N/A dictoid N/A f1 hello N/A N/A dictoid N/A N/A f1 path goodbye N/A N/A N/A self assertEqual N/A len dictoid 2 N/A test_childrenNonexistentError N/A N/A self N/A N/A N/A 
        Verify that children raises the appropriate exception for non-existent
        directories.
         N/A N/A N/A self assertRaises N/A filepath UnlistableError N/A N/A N/A N/A self path child not real children N/A test_childrenNotDirectoryError N/A N/A self N/A N/A N/A 
        Verify that listdir raises the appropriate exception for attempting to list
        a file rather than a directory.
         N/A N/A N/A self assertRaises N/A filepath UnlistableError N/A N/A N/A N/A self path child file1 children N/A test_newTimesAreFloats N/A N/A self N/A N/A N/A 
        Verify that all times returned from the various new time functions are ints
        (and hopefully therefore 'high precision').
         N/A p N/A N/A self path N/A N/A N/A self path child file1 N/A N/A N/A N/A self assertEqual N/A type N/A N/A p getAccessTime float N/A N/A N/A self assertEqual N/A type N/A N/A p getModificationTime float N/A N/A N/A self assertEqual N/A type N/A N/A p getStatusChangeTime float N/A test_oldTimesAreInts N/A N/A self N/A N/A N/A 
        Verify that all times returned from the various time functions are
        integers, for compatibility.
         N/A p N/A N/A self path N/A N/A N/A self path child file1 N/A N/A N/A N/A self assertEqual N/A type N/A N/A p getatime int N/A N/A N/A self assertEqual N/A type N/A N/A p getmtime int N/A N/A N/A self assertEqual N/A type N/A N/A p getctime int N/A N/A FakeWindowsPath N/A N/A filepath FilePath N/A N/A 
    A test version of FilePath which overrides listdir to raise L{WindowsError}.
     listdir N/A N/A self N/A N/A N/A 
        @raise WindowsError: always.
         N/A N/A WindowsError ERROR_DIRECTORY A directory's validness was called into question N/A N/A ListingCompatibilityTests N/A BytesTestCase N/A N/A 
    These tests verify compatibility with legacy behavior of directory listing.
     test_windowsErrorExcept N/A N/A self N/A N/A N/A 
        Verify that when a WindowsError is raised from listdir, catching
        WindowsError works.
         N/A fwp N/A FakeWindowsPath N/A N/A self mktemp N/A N/A N/A self assertRaises N/A filepath UnlistableError N/A fwp children N/A N/A N/A self assertRaises WindowsError N/A fwp children N/A test_alwaysCatchOSError N/A N/A self N/A N/A N/A 
        Verify that in the normal case where a directory does not exist, we will
        get an OSError.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A self assertRaises OSError N/A fp children N/A test_keepOriginalAttributes N/A N/A self N/A N/A N/A 
        Verify that the Unlistable exception raised will preserve the attributes of
        the previously-raised exception.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A ose N/A N/A self assertRaises OSError N/A fp children N/A d1 N/A list N/A N/A N/A ose __dict__ keys N/A N/A N/A d1 remove originalException N/A d2 N/A list N/A N/A N/A N/A ose originalException __dict__ keys N/A N/A N/A d1 sort N/A N/A N/A d2 sort N/A N/A N/A self assertEqual d1 d2 N/A N/A ExplodingFile N/A N/A N/A 
    A C{file}-alike which raises exceptions from its I/O methods and keeps track
    of whether it has been closed.

    @ivar closed: A C{bool} which is C{False} until C{close} is called, then it
        is C{True}.
     N/A closed False read N/A N/A self n N/A 0 N/A N/A 
        @raise IOError: Always raised.
         N/A N/A IOError N/A write N/A N/A self what N/A N/A N/A 
        @raise IOError: Always raised.
         N/A N/A IOError N/A close N/A N/A self N/A N/A N/A 
        Mark the file as having been closed.
         N/A N/A self closed True N/A N/A TrackingFilePath N/A N/A filepath FilePath N/A N/A 
    A subclass of L{filepath.FilePath} which maintains a list of all other paths
    created by clonePath.

    @ivar trackingList: A list of all paths created by this path via
        C{clonePath} (which also includes paths created by methods like
        C{parent}, C{sibling}, C{child}, etc (and all paths subsequently created
        by those paths, etc).

    @type trackingList: C{list} of L{TrackingFilePath}

    @ivar openedFiles: A list of all file objects opened by this
        L{TrackingFilePath} or any other L{TrackingFilePath} in C{trackingList}.

    @type openedFiles: C{list} of C{file}
     __init__ N/A N/A self path alwaysCreate trackingList N/A False None N/A N/A N/A N/A N/A filepath FilePath __init__ self path alwaysCreate N/A N/A trackingList None N/A N/A trackingList N/A N/A N/A self trackingList trackingList N/A N/A self openedFiles N/A N/A open N/A N/A self N/A a k N/A N/A 
        Override 'open' to track all files opened by this path.
         N/A f N/A N/A N/A filepath FilePath open self a k N/A N/A N/A N/A self openedFiles append f N/A f N/A openedPaths N/A N/A self N/A N/A N/A 
        Return a list of all L{TrackingFilePath}s associated with this
        L{TrackingFilePath} that have had their C{open()} method called.
         N/A N/A path N/A path N/A self trackingList N/A path openedFiles N/A clonePath N/A N/A self name N/A N/A N/A 
        Override L{filepath.FilePath.clonePath} to give the new path a reference
        to the same tracking list.
         N/A clone N/A TrackingFilePath name trackingList N/A self trackingList N/A N/A N/A N/A self trackingList append clone N/A clone N/A N/A ExplodingFilePath N/A N/A filepath FilePath N/A N/A 
    A specialized L{FilePath} which always returns an instance of
    L{ExplodingFile} from its C{open} method.

    @ivar fp: The L{ExplodingFile} instance most recently returned from the
        C{open} method.
     __init__ N/A N/A self pathName originalExploder N/A None N/A N/A 
        Initialize an L{ExplodingFilePath} with a name and a reference to the

        @param pathName: The path name as passed to L{filepath.FilePath}.
        @type pathName: C{str}

        @param originalExploder: The L{ExplodingFilePath} to associate opened
        files with.
        @type originalExploder: L{ExplodingFilePath}
         N/A N/A N/A N/A filepath FilePath __init__ self pathName N/A N/A originalExploder None N/A N/A originalExploder self N/A N/A self _originalExploder originalExploder N/A open N/A N/A self mode N/A None N/A N/A 
        Create, save, and return a new C{ExplodingFile}.

        @param mode: Present for signature compatibility.  Ignored.

        @return: A new C{ExplodingFile}.
         N/A f N/A N/A self _originalExploder fp N/A ExplodingFile N/A f N/A clonePath N/A N/A self name N/A N/A N/A N/A ExplodingFilePath name N/A self _originalExploder N/A N/A PermissionsTestCase N/A BytesTestCase N/A N/A 
    Test Permissions and RWX classes
     assertNotUnequal N/A N/A self first second msg N/A None N/A N/A 
        Tests that C{first} != C{second} is false.  This method tests the
        __ne__ method, as opposed to L{assertEqual} (C{first} == C{second}),
        which tests the __eq__ method.

        Note: this should really be part of trial
         N/A N/A first second N/A N/A N/A msg None N/A N/A msg N/A N/A N/A len msg 0 N/A N/A msg N/A N/A N/A self failureException N/A %snot not unequal (__ne__ not implemented correctly):
a = %s
b = %s
 N/A msg N/A pformat first N/A pformat second N/A first N/A test_rwxFromBools N/A N/A self N/A N/A N/A 
        L{RWX}'s constructor takes a set of booleans
         N/A r N/A True False N/A N/A w N/A True False N/A N/A x N/A True False N/A N/A rwx N/A N/A filepath RWX r w x N/A N/A N/A self assertEqual N/A rwx read r N/A N/A N/A self assertEqual N/A rwx write w N/A N/A N/A self assertEqual N/A rwx execute x N/A rwx N/A N/A filepath RWX True True True N/A N/A N/A self assertTrue N/A N/A rwx read N/A rwx write N/A rwx execute N/A test_rwxEqNe N/A N/A self N/A N/A N/A 
        L{RWX}'s created with the same booleans are equivalent.  If booleans
        are different, they are not equal.
         N/A r N/A True False N/A N/A w N/A True False N/A N/A x N/A True False N/A N/A N/A N/A self assertEqual N/A N/A filepath RWX r w x N/A N/A filepath RWX r w x N/A N/A N/A self assertNotUnequal N/A N/A filepath RWX r w x N/A N/A filepath RWX r w x N/A N/A N/A self assertNotEqual N/A N/A filepath RWX True True True N/A N/A filepath RWX True True False N/A N/A N/A self assertNotEqual 3 N/A N/A filepath RWX True True True N/A test_rwxShorthand N/A N/A self N/A N/A N/A 
        L{RWX}'s shorthand string should be 'rwx' if read, write, and execute
        permission bits are true.  If any of those permissions bits are false,
        the character is replaced by a '-'.
         getChar N/A N/A val letter N/A N/A N/A val N/A N/A letter N/A - N/A N/A r N/A True False N/A N/A w N/A True False N/A N/A x N/A True False N/A N/A rwx N/A N/A filepath RWX r w x N/A N/A N/A self assertEqual N/A N/A rwx shorthand N/A N/A N/A getChar r r N/A getChar w w N/A getChar x x N/A N/A N/A self assertEqual N/A N/A N/A N/A filepath RWX True False True shorthand r-x N/A test_permissionsFromStat N/A N/A self N/A N/A N/A 
        L{Permissions}'s constructor takes a valid permissions bitmask and
        parsaes it to produce the correct set of boolean permissions.
         _rwxFromStat N/A N/A statModeInt who N/A N/A getPermissionBit N/A N/A what who N/A N/A N/A N/A N/A statModeInt N/A getattr stat N/A S_I%s%s N/A what who 0 N/A N/A N/A N/A filepath RWX N/A N/A getPermissionBit what who N/A what N/A R W X N/A N/A u N/A range 0 8 N/A N/A g N/A range 0 8 N/A N/A o N/A range 0 8 N/A N/A chmodString N/A %d%d%d N/A u g o N/A chmodVal N/A int chmodString 8 N/A perm N/A N/A filepath Permissions chmodVal N/A N/A N/A self assertEqual N/A perm user N/A _rwxFromStat chmodVal USR N/A %s: got user: %s N/A chmodString N/A perm user N/A N/A N/A self assertEqual N/A perm group N/A _rwxFromStat chmodVal GRP N/A %s: got group: %s N/A chmodString N/A perm group N/A N/A N/A self assertEqual N/A perm other N/A _rwxFromStat chmodVal OTH N/A %s: got other: %s N/A chmodString N/A perm other N/A perm N/A N/A filepath Permissions 511 N/A who N/A user group other N/A N/A what N/A read write execute N/A N/A N/A N/A self assertTrue N/A getattr N/A getattr perm who what N/A test_permissionsEq N/A N/A self N/A N/A N/A 
        Two L{Permissions}'s that are created with the same bitmask
        are equivalent
         N/A N/A N/A self assertEqual N/A N/A filepath Permissions 511 N/A N/A filepath Permissions 511 N/A N/A N/A self assertNotUnequal N/A N/A filepath Permissions 511 N/A N/A filepath Permissions 511 N/A N/A N/A self assertNotEqual N/A N/A filepath Permissions 511 N/A N/A filepath Permissions 448 N/A N/A N/A self assertNotEqual 3 N/A N/A filepath Permissions 511 N/A test_permissionsShorthand N/A N/A self N/A N/A N/A 
        L{Permissions}'s shorthand string is the RWX shorthand string for its
        user permission bits, group permission bits, and other permission bits
        concatenated together, without a space.
         N/A u N/A range 0 8 N/A N/A g N/A range 0 8 N/A N/A o N/A range 0 8 N/A N/A perm N/A N/A filepath Permissions N/A int N/A 0o%d%d%d N/A u g o 8 N/A N/A N/A self assertEqual N/A N/A perm shorthand N/A N/A join N/A N/A N/A x shorthand N/A x N/A N/A perm user N/A perm group N/A perm other N/A N/A N/A self assertEqual N/A N/A N/A N/A filepath Permissions 504 shorthand rwxrwx--- N/A N/A FilePathTestCase N/A AbstractFilePathTestCase N/A N/A 
    Test various L{FilePath} path manipulations.

    In particular, note that tests defined on this class instead of on the base
    class are only run against L{twisted.python.filepath}.
     test_chmod N/A N/A self N/A N/A N/A 
        L{FilePath.chmod} modifies the permissions of
        the passed file as expected (using C{os.stat} to check). We use some
        basic modes that should work everywhere (even on Windows).
         N/A mode N/A 365 511 N/A N/A N/A N/A N/A N/A N/A self path child sub1 chmod mode N/A N/A N/A self assertEqual N/A N/A stat S_IMODE N/A N/A N/A os stat N/A N/A N/A N/A self path child sub1 path st_mode mode N/A symlink N/A N/A self target name N/A N/A N/A 
        Create a symbolic link named C{name} pointing at C{target}.

        @type target: C{str}
        @type name: C{str}
        @raise SkipTest: raised if symbolic links are not supported on the
            host platform.
         N/A N/A N/A getattr os symlink None None N/A N/A N/A SkipTest Platform does not support symbolic links. N/A N/A N/A os symlink target name N/A createLinks N/A N/A self N/A N/A N/A 
        Create several symbolic links to files and directories.
         N/A subdir N/A N/A N/A self path child sub1 N/A N/A N/A self symlink N/A subdir path N/A N/A self _mkpath sub1.link N/A N/A N/A self symlink N/A N/A N/A subdir child file2 path N/A N/A self _mkpath file2.link N/A N/A N/A self symlink N/A N/A N/A subdir child file2 path N/A N/A self _mkpath sub1 sub1.file2.link N/A test_realpathSymlink N/A N/A self N/A N/A N/A 
        L{FilePath.realpath} returns the path of the ultimate target of a
        symlink.
         N/A N/A N/A self createLinks N/A N/A N/A self symlink N/A N/A N/A N/A self path child file2.link path N/A N/A N/A N/A self path child link.link path N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self path child link.link realpath N/A N/A N/A N/A N/A self path child sub1 child file2 N/A test_realpathCyclicalSymlink N/A N/A self N/A N/A N/A 
        L{FilePath.realpath} raises L{filepath.LinkError} if the path is a
        symbolic link which is part of a cycle.
         N/A N/A N/A self symlink N/A N/A N/A N/A self path child link1 path N/A N/A N/A N/A self path child link2 path N/A N/A N/A self symlink N/A N/A N/A N/A self path child link2 path N/A N/A N/A N/A self path child link1 path N/A N/A N/A self assertRaises N/A filepath LinkError N/A N/A N/A N/A self path child link2 realpath N/A test_realpathNoSymlink N/A N/A self N/A N/A N/A 
        L{FilePath.realpath} returns the path itself if the path is not a
        symbolic link.
         N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self path child sub1 realpath N/A N/A N/A self path child sub1 N/A test_walkCyclicalSymlink N/A N/A self N/A N/A N/A 
        Verify that walking a path with a cyclical symlink raises an error
         N/A N/A N/A self createLinks N/A N/A N/A self symlink N/A N/A N/A N/A self path child sub1 path N/A N/A N/A N/A N/A N/A self path child sub1 child sub1.loopylink path iterateOverPath N/A N/A N/A N/A N/A N/A N/A foo path N/A foo N/A N/A N/A self path walk N/A N/A N/A N/A self assertRaises N/A filepath LinkError iterateOverPath N/A test_walkObeysDescendWithCyclicalSymlinks N/A N/A self N/A N/A N/A 
        Verify that, after making a path with cyclical symlinks, when the
        supplied C{descend} predicate returns C{False}, the target is not
        traversed, as if it was a simple symlink.
         N/A N/A N/A self createLinks N/A N/A N/A self symlink N/A N/A N/A N/A self path child sub1 path N/A N/A N/A N/A N/A N/A self path child sub1 child sub1.loopylink path noSymLinks N/A N/A path N/A N/A N/A N/A N/A N/A path islink N/A iterateOverPath N/A N/A N/A N/A N/A N/A N/A foo path N/A foo N/A N/A N/A self path walk descend noSymLinks N/A N/A N/A N/A self assertTrue N/A iterateOverPath N/A test_walkObeysDescend N/A N/A self N/A N/A N/A 
        Verify that when the supplied C{descend} predicate returns C{False},
        the target is not traversed.
         N/A N/A N/A self createLinks noSymLinks N/A N/A path N/A N/A N/A N/A N/A N/A path islink N/A N/A x N/A N/A foo path N/A foo N/A N/A N/A self path walk descend noSymLinks N/A N/A N/A self assertEqual N/A set x N/A set N/A self all N/A test_getAndSet N/A N/A self N/A N/A N/A content newcontent N/A N/A N/A N/A N/A N/A self path child new setContent content N/A newcontent N/A N/A N/A N/A N/A self path child new getContent N/A N/A N/A self assertEqual content newcontent N/A content content N/A N/A N/A N/A N/A N/A self path child new setContent content .tmp N/A newcontent N/A N/A N/A N/A N/A self path child new getContent N/A N/A N/A self assertEqual content newcontent N/A test_getContentFileClosing N/A N/A self N/A N/A N/A 
        If reading from the underlying file raises an exception,
        L{FilePath.getContent} raises that exception after closing the file.
         N/A fp N/A ExplodingFilePath N/A N/A N/A self assertRaises IOError N/A fp getContent N/A N/A N/A self assertTrue N/A N/A fp fp closed N/A test_symbolicLink N/A N/A self N/A N/A N/A 
        Verify the behavior of the C{isLink} method against links and
        non-links. Also check that the symbolic link shares the directory
        property with its target.
         N/A s4 N/A N/A N/A self path child sub4 N/A s3 N/A N/A N/A self path child sub3 N/A N/A N/A self symlink N/A s3 path N/A s4 path N/A N/A N/A self assertTrue N/A N/A s4 islink N/A N/A N/A self assertFalse N/A N/A s3 islink N/A N/A N/A self assertTrue N/A N/A s4 isdir N/A N/A N/A self assertTrue N/A N/A s3 isdir N/A test_linkTo N/A N/A self N/A N/A N/A 
        Verify that symlink creates a valid symlink that is both a link and a
        file if its target is a file, or a directory if its target is a
        directory.
         N/A targetLinks N/A N/A N/A N/A N/A self path child sub2 N/A N/A N/A self path child sub2.link N/A N/A N/A N/A N/A N/A self path child sub2 child file3.ext1 N/A N/A N/A self path child file3.ext1.link N/A N/A target link targetLinks N/A N/A N/A N/A target linkTo link N/A N/A N/A self assertTrue N/A N/A link islink This is a link N/A N/A N/A self assertEqual N/A N/A target isdir N/A N/A link isdir N/A N/A N/A self assertEqual N/A N/A target isfile N/A N/A link isfile N/A test_linkToErrors N/A N/A self N/A N/A N/A 
        Verify C{linkTo} fails in the following case:
            - the target is in a directory that doesn't exist
            - the target already exists
         N/A N/A N/A self assertRaises OSError N/A N/A N/A N/A self path child file1 linkTo N/A N/A N/A N/A N/A self path child nosub child file1 N/A N/A N/A self assertRaises OSError N/A N/A N/A N/A self path child file1 linkTo N/A N/A N/A N/A N/A self path child sub1 child file2 N/A N/A N/A N/A getattr os symlink None N/A N/A skipMsg Your platform does not support symbolic links. N/A N/A test_symbolicLink skip skipMsg N/A N/A test_linkTo skip skipMsg N/A N/A test_linkToErrors skip skipMsg testMultiExt N/A N/A self N/A N/A N/A f3 N/A N/A N/A N/A N/A self path child sub3 child file3 N/A exts N/A .foo .bar ext1 ext2 ext3 N/A N/A N/A self failIf N/A N/A f3 siblingExtensionSearch exts N/A f3e N/A N/A f3 siblingExtension .foo N/A N/A N/A f3e touch N/A N/A N/A self failIf N/A N/A N/A N/A N/A f3 siblingExtensionSearch exts exists N/A N/A N/A self failIf N/A N/A N/A N/A N/A f3 siblingExtensionSearch * exists N/A N/A N/A f3e remove N/A N/A N/A self failIf N/A N/A f3 siblingExtensionSearch exts N/A testPreauthChild N/A N/A self N/A N/A N/A fp N/A N/A filepath FilePath . N/A N/A N/A fp preauthChild foo/bar N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A fp child /foo N/A testStatCache N/A N/A self N/A N/A N/A p N/A N/A N/A self path child stattest N/A N/A N/A p touch N/A N/A N/A self assertEqual N/A N/A p getsize 0 N/A N/A N/A self assertEqual N/A N/A abs N/A N/A N/A p getmtime N/A N/A time time 20 0 N/A N/A N/A self assertEqual N/A N/A abs N/A N/A N/A p getctime N/A N/A time time 20 0 N/A N/A N/A self assertEqual N/A N/A abs N/A N/A N/A p getatime N/A N/A time time 20 0 N/A N/A N/A self assertEqual N/A N/A p exists True N/A N/A N/A self assertEqual N/A N/A p exists True N/A N/A N/A os remove N/A p path N/A N/A N/A self assertEqual N/A N/A p exists True N/A N/A N/A p restat reraise False N/A N/A N/A self assertEqual N/A N/A p exists False N/A N/A N/A self assertEqual N/A N/A p islink False N/A N/A N/A self assertEqual N/A N/A p isdir False N/A N/A N/A self assertEqual N/A N/A p isfile False N/A testPersist N/A N/A self N/A N/A N/A newpath N/A N/A pickle loads N/A N/A pickle dumps N/A self path N/A N/A N/A self assertEqual N/A N/A self path __class__ N/A newpath __class__ N/A N/A N/A self assertEqual N/A N/A self path path N/A newpath path N/A testInsecureUNIX N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child .. N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child /etc N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child ../.. N/A testInsecureWin32 N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child ..\.. N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child C:randomfile N/A N/A N/A N/A N/A platform getType win32 N/A N/A N/A testInsecureWin32 skip Test will run only on Windows. testInsecureWin32Whacky N/A N/A self N/A N/A N/A 
        Windows has 'special' filenames like NUL and CON and COM1 and LPR
        and PRN and ... god knows what else.  They can be located anywhere in
        the filesystem.  For obvious reasons, we do not wish to normally permit
        access to these.
         N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child CON N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child C:CON N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path child C:\CON N/A N/A N/A N/A N/A platform getType win32 N/A N/A N/A testInsecureWin32Whacky skip Test will run only on Windows. testComparison N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A filepath FilePath a N/A N/A filepath FilePath a N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath z N/A N/A filepath FilePath a N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath z N/A N/A filepath FilePath a N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath a N/A N/A filepath FilePath a N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath a N/A N/A filepath FilePath a N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath a N/A N/A filepath FilePath z N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath a N/A N/A filepath FilePath z N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath a N/A N/A filepath FilePath z N/A N/A N/A self failUnless N/A N/A N/A filepath FilePath z N/A N/A filepath FilePath a N/A N/A N/A self failIf N/A N/A N/A filepath FilePath z N/A N/A filepath FilePath z N/A test_descendantOnly N/A N/A self N/A N/A N/A 
        If C{".."} is in the sequence passed to L{FilePath.descendant},
        L{InsecurePath} is raised.
         N/A N/A N/A self assertRaises N/A filepath InsecurePath N/A N/A self path descendant N/A a .. N/A testSibling N/A N/A self N/A N/A N/A p N/A N/A N/A self path child sibling_start N/A ts N/A N/A p sibling sibling_test N/A N/A N/A self assertEqual N/A N/A ts dirname N/A N/A p dirname N/A N/A N/A self assertEqual N/A N/A ts basename sibling_test N/A N/A N/A ts createDirectory N/A N/A N/A self assertIn ts N/A N/A N/A self path children N/A testTemporarySibling N/A N/A self N/A N/A N/A ts N/A N/A N/A self path temporarySibling N/A N/A N/A self assertEqual N/A N/A ts dirname N/A N/A N/A self path dirname N/A N/A N/A self assertNotIn N/A N/A ts basename N/A N/A N/A self path listdir N/A N/A N/A ts createDirectory N/A N/A N/A self assertIn ts N/A N/A N/A N/A N/A self path parent children N/A test_temporarySiblingExtension N/A N/A self N/A N/A N/A 
        If L{FilePath.temporarySibling} is given an extension argument, it will
        produce path objects with that extension appended to their names.
         N/A testExtension .test-extension N/A ts N/A N/A N/A self path temporarySibling testExtension N/A N/A N/A self assertTrue N/A N/A N/A N/A ts basename endswith testExtension N/A %s does not end with %s N/A N/A N/A ts basename testExtension N/A test_removeDirectory N/A N/A self N/A N/A N/A 
        L{FilePath.remove} on a L{FilePath} that refers to a directory will
        recursively delete its contents.
         N/A N/A N/A N/A self path remove N/A N/A N/A self failIf N/A N/A N/A self path exists N/A test_removeWithSymlink N/A N/A self N/A N/A N/A 
        For a path which is a symbolic link, L{FilePath.remove} just deletes
        the link, not the target.
         N/A link N/A N/A N/A self path child sub1.link N/A N/A N/A self symlink N/A N/A N/A N/A self path child sub1 path N/A link path N/A N/A N/A link remove N/A N/A N/A self assertFalse N/A N/A link exists N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A self path child sub1 exists N/A test_copyToDirectory N/A N/A self N/A N/A N/A 
        L{FilePath.copyTo} makes a copy of all the contents of the directory
        named by that L{FilePath} if it is able to do so.
         N/A oldPaths N/A list N/A N/A N/A self path walk N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A N/A self path copyTo fp N/A N/A N/A N/A self path remove N/A N/A N/A fp copyTo N/A self path N/A newPaths N/A list N/A N/A N/A self path walk N/A N/A N/A newPaths sort N/A N/A N/A oldPaths sort N/A N/A N/A self assertEqual newPaths oldPaths N/A test_copyToMissingDestFileClosing N/A N/A self N/A N/A N/A 
        If an exception is raised while L{FilePath.copyTo} is trying to open
        source file to read from, the destination file is closed and the
        exception is raised to the caller of L{FilePath.copyTo}.
         N/A nosuch N/A N/A N/A self path child nothere N/A N/A nosuch isfile N/A N/A N/A N/A True N/A destination N/A ExplodingFilePath N/A N/A self mktemp N/A N/A N/A self assertRaises IOError N/A nosuch copyTo destination N/A N/A N/A self assertTrue N/A N/A destination fp closed N/A test_copyToFileClosing N/A N/A self N/A N/A N/A 
        If an exception is raised while L{FilePath.copyTo} is copying bytes
        between two regular files, the source and destination files are closed
        and the exception propagates to the caller of L{FilePath.copyTo}.
         N/A destination N/A ExplodingFilePath N/A N/A self mktemp N/A source N/A ExplodingFilePath __file__ N/A N/A N/A self assertRaises IOError N/A source copyTo destination N/A N/A N/A self assertTrue N/A N/A source fp closed N/A N/A N/A self assertTrue N/A N/A destination fp closed N/A test_copyToDirectoryItself N/A N/A self N/A N/A N/A 
        L{FilePath.copyTo} fails with an OSError or IOError (depending on
        platform, as it propagates errors from open() and write()) when
        attempting to copy a directory to a child of itself.
         N/A N/A N/A self assertRaises N/A OSError IOError N/A N/A self path copyTo N/A N/A N/A self path child file1 N/A test_copyToWithSymlink N/A N/A self N/A N/A N/A 
        Verify that copying with followLinks=True copies symlink targets
        instead of symlinks
         N/A N/A N/A self symlink N/A N/A N/A N/A self path child sub1 path N/A N/A N/A N/A self path child link1 path N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A N/A self path copyTo fp N/A N/A N/A self assertFalse N/A N/A N/A N/A fp child link1 islink N/A N/A N/A self assertEqual N/A N/A N/A x basename N/A x N/A N/A N/A N/A fp child sub1 children N/A N/A N/A x basename N/A x N/A N/A N/A N/A fp child link1 children N/A test_copyToWithoutSymlink N/A N/A self N/A N/A N/A 
        Verify that copying with followLinks=False copies symlinks as symlinks
         N/A N/A N/A self symlink sub1 N/A N/A N/A N/A self path child link1 path N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A N/A self path copyTo fp followLinks False N/A N/A N/A self assertTrue N/A N/A N/A N/A fp child link1 islink N/A N/A N/A self assertEqual N/A N/A os readlink N/A N/A N/A N/A self path child link1 path N/A N/A os readlink N/A N/A N/A fp child link1 path N/A test_copyToMissingSource N/A N/A self N/A N/A N/A 
        If the source path is missing, L{FilePath.copyTo} raises L{OSError}.
         N/A path N/A N/A filepath FilePath N/A N/A self mktemp N/A exc N/A N/A self assertRaises OSError N/A path copyTo some other path N/A N/A N/A self assertEqual N/A exc errno N/A errno ENOENT N/A test_moveTo N/A N/A self N/A N/A N/A 
        Verify that moving an entire directory results into another directory
        with the same content.
         N/A oldPaths N/A list N/A N/A N/A self path walk N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A N/A self path moveTo fp N/A N/A N/A fp moveTo N/A self path N/A newPaths N/A list N/A N/A N/A self path walk N/A N/A N/A newPaths sort N/A N/A N/A oldPaths sort N/A N/A N/A self assertEqual newPaths oldPaths N/A test_moveToExistsCache N/A N/A self N/A N/A N/A 
        A L{FilePath} that has been moved aside with L{FilePath.moveTo} no
        longer registers as existing.  Its previously non-existent target
        exists, though, as it was created by the call to C{moveTo}.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A fp2 N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A fp touch N/A N/A N/A self assertEqual N/A N/A fp exists True N/A N/A N/A self assertEqual N/A N/A fp2 exists False N/A N/A N/A fp moveTo fp2 N/A N/A N/A self assertEqual N/A N/A fp exists False N/A N/A N/A self assertEqual N/A N/A fp2 exists True N/A test_moveToExistsCacheCrossMount N/A N/A self N/A N/A N/A 
        The assertion of test_moveToExistsCache should hold in the case of a
        cross-mount move.
         N/A N/A N/A self setUpFaultyRename N/A N/A N/A self test_moveToExistsCache N/A test_moveToSizeCache N/A N/A self hook N/A N/A N/A N/A N/A None N/A N/A 
        L{FilePath.moveTo} clears its destination's status cache, such that
        calls to L{FilePath.getsize} after the call to C{moveTo} will report the
        new size, not the old one.

        This is a separate test from C{test_moveToExistsCache} because it is
        intended to cover the fact that the destination's cache is dropped;
        test_moveToExistsCache doesn't cover this case because (currently) a
        file that doesn't exist yet does not cache the fact of its non-
        existence.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A fp2 N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A fp setContent 1234 N/A N/A N/A fp2 setContent 1234567890 N/A N/A hook N/A N/A N/A self assertEqual N/A N/A fp getsize 4 N/A N/A N/A self assertEqual N/A N/A fp2 getsize 10 N/A N/A N/A os remove N/A fp2 path N/A N/A N/A self assertEqual N/A N/A fp2 getsize 10 N/A N/A N/A fp moveTo fp2 N/A N/A N/A self assertEqual N/A N/A fp2 getsize 4 N/A test_moveToSizeCacheCrossMount N/A N/A self N/A N/A N/A 
        The assertion of test_moveToSizeCache should hold in the case of a
        cross-mount move.
         N/A N/A N/A self test_moveToSizeCache hook N/A self setUpFaultyRename N/A test_moveToError N/A N/A self N/A N/A N/A 
        Verify error behavior of moveTo: it should raises one of OSError or
        IOError if you want to move a path into one of its child. It's simply
        the error raised by the underlying rename system call.
         N/A N/A N/A self assertRaises N/A OSError IOError N/A N/A self path moveTo N/A N/A N/A self path child file1 N/A setUpFaultyRename N/A N/A self N/A N/A N/A 
        Set up a C{os.rename} that will fail with L{errno.EXDEV} on first call.
        This is used to simulate a cross-device rename failure.

        @return: a list of pair (src, dest) of calls to C{os.rename}
        @rtype: C{list} of C{tuple}
         N/A invokedWith N/A faultyRename N/A N/A src dest N/A N/A N/A N/A N/A invokedWith append N/A src dest N/A N/A N/A len invokedWith 1 N/A N/A N/A OSError N/A errno EXDEV Test-induced failure simulating cross-device rename failure N/A N/A originalRename src dest N/A N/A originalRename N/A os rename N/A N/A N/A self patch os rename faultyRename N/A invokedWith N/A test_crossMountMoveTo N/A N/A self N/A N/A N/A 
        C{moveTo} should be able to handle C{EXDEV} error raised by
        C{os.rename} when trying to move a file on a different mounted
        filesystem.
         N/A invokedWith N/A N/A self setUpFaultyRename N/A N/A N/A self test_moveTo N/A N/A N/A self assertTrue invokedWith N/A test_crossMountMoveToWithSymlink N/A N/A self N/A N/A N/A 
        By default, when moving a symlink, it should follow the link and
        actually copy the content of the linked node.
         N/A invokedWith N/A N/A self setUpFaultyRename N/A f2 N/A N/A N/A self path child file2 N/A f3 N/A N/A N/A self path child file3 N/A N/A N/A self symlink N/A N/A N/A N/A self path child file1 path N/A f2 path N/A N/A N/A f2 moveTo f3 N/A N/A N/A self assertFalse N/A N/A f3 islink N/A N/A N/A self assertEqual N/A N/A f3 getContent file 1 N/A N/A N/A self assertTrue invokedWith N/A test_crossMountMoveToWithoutSymlink N/A N/A self N/A N/A N/A 
        Verify that moveTo called with followLinks=False actually create
        another symlink.
         N/A invokedWith N/A N/A self setUpFaultyRename N/A f2 N/A N/A N/A self path child file2 N/A f3 N/A N/A N/A self path child file3 N/A N/A N/A self symlink N/A N/A N/A N/A self path child file1 path N/A f2 path N/A N/A N/A f2 moveTo f3 followLinks False N/A N/A N/A self assertTrue N/A N/A f3 islink N/A N/A N/A self assertEqual N/A N/A f3 getContent file 1 N/A N/A N/A self assertTrue invokedWith N/A test_createBinaryMode N/A N/A self N/A N/A N/A 
        L{FilePath.create} should always open (and write to) files in binary
        mode; line-feed octets should be unmodified.

        (While this test should pass on all platforms, it is only really
        interesting on platforms which have the concept of binary mode, i.e.
        Windows platforms.)
         N/A path N/A N/A filepath FilePath N/A N/A self mktemp N/A f N/A N/A path create N/A N/A N/A self failUnless N/A b N/A f mode N/A N/A N/A f write N/A N/A N/A f close N/A read N/A N/A N/A open N/A path path rb read N/A N/A N/A self assertEqual read N/A testOpen N/A N/A self N/A N/A N/A nonexistent N/A N/A N/A self path child nonexistent N/A e N/A N/A self assertRaises IOError N/A nonexistent open N/A N/A N/A self assertEqual N/A e errno N/A errno ENOENT N/A writer N/A N/A N/A self path child writer N/A f N/A N/A writer open w N/A N/A N/A f write abc
def N/A N/A N/A f close N/A f N/A N/A writer open N/A N/A N/A self assertEqual N/A N/A f read abc
def N/A N/A N/A f close N/A f N/A N/A writer open w N/A N/A N/A f close N/A f N/A N/A writer open N/A N/A N/A self assertEqual N/A N/A f read N/A N/A N/A f close N/A appender N/A N/A N/A self path child appender N/A f N/A N/A appender open w N/A N/A N/A f write abc N/A N/A N/A f close N/A f N/A N/A appender open a N/A N/A N/A f write def N/A N/A N/A f close N/A f N/A N/A appender open r N/A N/A N/A self assertEqual N/A N/A f read abcdef N/A N/A N/A f close N/A f N/A N/A appender open r+ N/A N/A N/A self assertEqual N/A N/A f read abcdef N/A N/A N/A f seek 0 1 N/A N/A N/A f write ghi N/A N/A N/A f close N/A f N/A N/A appender open r N/A N/A N/A self assertEqual N/A N/A f read abcdefghi N/A N/A N/A f close N/A f N/A N/A appender open w+ N/A N/A N/A self assertEqual N/A N/A f read N/A N/A N/A f seek 0 1 N/A N/A N/A f write 123 N/A N/A N/A f close N/A f N/A N/A appender open a+ N/A N/A N/A f write 456 N/A N/A N/A f seek 0 1 N/A N/A N/A self assertEqual N/A N/A f read N/A N/A N/A f seek 0 0 N/A N/A N/A self assertEqual N/A N/A f read 123456 N/A N/A N/A f close N/A N/A N/A nonexistent requireCreate True N/A N/A N/A N/A N/A nonexistent open w close N/A existent nonexistent N/A nonexistent N/A N/A N/A self assertRaises N/A OSError IOError N/A existent open N/A test_openWithExplicitBinaryMode N/A N/A self N/A N/A N/A 
        Due to a bug in Python 2.7 on Windows including multiple 'b'
        characters in the mode passed to the built-in open() will cause an
        error.  FilePath.open() ensures that only a single 'b' character is
        included in the mode passed to the built-in open().

        See http://bugs.python.org/issue7686 for details about the bug.
         N/A writer N/A N/A N/A self path child explicit-binary N/A file N/A N/A writer open wb N/A N/A N/A file write abc
def N/A N/A N/A file close N/A N/A N/A self assertTrue N/A writer exists N/A test_openWithRedundantExplicitBinaryModes N/A N/A self N/A N/A N/A 
        Due to a bug in Python 2.7 on Windows including multiple 'b'
        characters in the mode passed to the built-in open() will cause an
        error.  No matter how many 'b' modes are specified, FilePath.open()
        ensures that only a single 'b' character is included in the mode
        passed to the built-in open().

        See http://bugs.python.org/issue7686 for details about the bug.
         N/A writer N/A N/A N/A self path child multiple-binary N/A file N/A N/A writer open wbb N/A N/A N/A file write abc
def N/A N/A N/A file close N/A N/A N/A self assertTrue N/A writer exists N/A test_existsCache N/A N/A self N/A N/A N/A 
        Check that C{filepath.FilePath.exists} correctly restat the object if
        an operation has occurred in the mean time.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A self assertEqual N/A N/A fp exists False N/A N/A N/A fp makedirs N/A N/A N/A self assertEqual N/A N/A fp exists True N/A test_changed N/A N/A self N/A N/A N/A 
        L{FilePath.changed} indicates that the L{FilePath} has changed, but does
        not re-read the status information from the filesystem until it is
        queried again via another method, such as C{getsize}.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A N/A fp setContent 12345 N/A N/A N/A self assertEqual N/A N/A fp getsize 5 N/A fObj N/A open N/A fp path wb N/A N/A N/A fObj write 12345678 N/A N/A N/A fObj close N/A N/A N/A self assertEqual N/A N/A fp getsize 5 N/A N/A N/A fp changed N/A N/A N/A self assertEqual N/A fp statinfo None N/A N/A N/A self assertEqual N/A N/A fp getsize 8 N/A test_getPermissions_POSIX N/A N/A self N/A N/A N/A 
        Getting permissions for a file returns a L{Permissions} object for
        POSIX platforms (which supports separate user, group, and other
        permissions bits.
         N/A mode N/A 511 448 N/A N/A N/A N/A N/A N/A N/A self path child sub1 chmod mode N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self path child sub1 getPermissions N/A N/A filepath Permissions mode N/A N/A N/A N/A N/A N/A self path child sub1 chmod 500 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self path child sub1 getPermissions shorthand rwxrw-r-- N/A test_deprecateStatinfoGetter N/A N/A self N/A N/A N/A 
        Getting L{twisted.python.filepath.FilePath.statinfo} is deprecated.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A fp statinfo N/A warningInfo N/A N/A self flushWarnings N/A N/A self test_deprecateStatinfoGetter N/A N/A N/A self assertEquals N/A len warningInfo 1 N/A N/A N/A self assertEquals N/A N/A warningInfo N/A 0 N/A category DeprecationWarning N/A N/A N/A self assertEquals N/A N/A warningInfo N/A 0 N/A message twisted.python.filepath.FilePath.statinfo was deprecated in Twisted 14.1.0; please use other FilePath methods such as getsize(), isdir(), getModificationTime(), etc. instead N/A test_deprecateStatinfoSetter N/A N/A self N/A N/A N/A 
        Setting L{twisted.python.filepath.FilePath.statinfo} is deprecated.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A fp statinfo None N/A warningInfo N/A N/A self flushWarnings N/A N/A self test_deprecateStatinfoSetter N/A N/A N/A self assertEquals N/A len warningInfo 1 N/A N/A N/A self assertEquals N/A N/A warningInfo N/A 0 N/A category DeprecationWarning N/A N/A N/A self assertEquals N/A N/A warningInfo N/A 0 N/A message twisted.python.filepath.FilePath.statinfo was deprecated in Twisted 14.1.0; please use other FilePath methods such as getsize(), isdir(), getModificationTime(), etc. instead N/A test_deprecateStatinfoSetterSets N/A N/A self N/A N/A N/A 
        Setting L{twisted.python.filepath.FilePath.statinfo} changes the value
        of _statinfo such that getting statinfo again returns the new value.
         N/A fp N/A N/A filepath FilePath N/A N/A self mktemp N/A N/A fp statinfo None N/A N/A N/A self assertEquals N/A fp statinfo None N/A test_filePathNotDeprecated N/A N/A self N/A N/A N/A 
        While accessing L{twisted.python.filepath.FilePath.statinfo} is
        deprecated, the filepath itself is not.
         N/A N/A N/A filepath FilePath N/A N/A self mktemp N/A warningInfo N/A N/A self flushWarnings N/A N/A self test_filePathNotDeprecated N/A N/A N/A self assertEquals warningInfo N/A N/A test_getPermissions_Windows N/A N/A self N/A N/A N/A 
        Getting permissions for a file returns a L{Permissions} object in
        Windows.  Windows requires a different test, because user permissions
        = group permissions = other permissions.  Also, chmod may not be able
        to set the execute bit, so we are skipping tests that set the execute
        bit.
         N/A N/A N/A self addCleanup N/A N/A N/A N/A self path child sub1 chmod 511 N/A mode N/A 511 365 N/A N/A N/A N/A N/A N/A N/A self path child sub1 chmod mode N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self path child sub1 getPermissions N/A N/A filepath Permissions mode N/A N/A N/A N/A N/A N/A self path child sub1 chmod 329 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self path child sub1 getPermissions shorthand r-xr-xr-x N/A test_whetherBlockOrSocket N/A N/A self N/A N/A N/A 
        Ensure that a file is not a block or socket
         N/A N/A N/A self assertFalse N/A N/A N/A self path isBlockDevice N/A N/A N/A self assertFalse N/A N/A N/A self path isSocket N/A test_statinfoBitsNotImplementedInWindows N/A N/A self N/A N/A N/A 
        Verify that certain file stats are not available on Windows
         N/A N/A N/A self assertRaises NotImplementedError N/A N/A self path getInodeNumber N/A N/A N/A self assertRaises NotImplementedError N/A N/A self path getDevice N/A N/A N/A self assertRaises NotImplementedError N/A N/A self path getNumberOfHardLinks N/A N/A N/A self assertRaises NotImplementedError N/A N/A self path getUserID N/A N/A N/A self assertRaises NotImplementedError N/A N/A self path getGroupID N/A test_statinfoBitsAreNumbers N/A N/A self N/A N/A N/A 
        Verify that file inode/device/nlinks/uid/gid stats are numbers in
        a POSIX environment
         N/A _PY3 N/A N/A numbers int N/A N/A numbers N/A int long N/A c N/A N/A N/A self path child file1 N/A p N/A N/A self path c N/A N/A N/A N/A self assertIsInstance N/A N/A p getInodeNumber numbers N/A N/A N/A self assertIsInstance N/A N/A p getDevice numbers N/A N/A N/A self assertIsInstance N/A N/A p getNumberOfHardLinks numbers N/A N/A N/A self assertIsInstance N/A N/A p getUserID numbers N/A N/A N/A self assertIsInstance N/A N/A p getGroupID numbers N/A N/A N/A self assertEqual N/A N/A N/A self path getUserID N/A N/A c getUserID N/A N/A N/A self assertEqual N/A N/A N/A self path getGroupID N/A N/A c getGroupID N/A test_statinfoNumbersAreValid N/A N/A self N/A N/A N/A 
        Verify that the right numbers come back from the right accessor methods
        for file inode/device/nlinks/uid/gid (in a POSIX environment)
         FakeStat N/A N/A N/A st_ino 200 N/A st_dev 300 N/A st_nlink 400 N/A st_uid 500 N/A st_gid 600 N/A N/A fake N/A FakeStat fakeRestat N/A N/A N/A args kwargs N/A N/A N/A N/A self path _statinfo fake N/A N/A N/A N/A self path restat fakeRestat N/A N/A N/A self path _statinfo None N/A N/A N/A self assertEqual N/A N/A N/A self path getInodeNumber N/A fake st_ino N/A N/A N/A self assertEqual N/A N/A N/A self path getDevice N/A fake st_dev N/A N/A N/A self assertEqual N/A N/A N/A self path getNumberOfHardLinks N/A fake st_nlink N/A N/A N/A self assertEqual N/A N/A N/A self path getUserID N/A fake st_uid N/A N/A N/A self assertEqual N/A N/A N/A self path getGroupID N/A fake st_gid N/A N/A N/A N/A platform isWindows N/A N/A N/A test_statinfoBitsAreNumbers skip True N/A N/A test_statinfoNumbersAreValid skip True N/A N/A test_getPermissions_POSIX skip True N/A N/A N/A test_statinfoBitsNotImplementedInWindows skip Test will run only on Windows. N/A N/A test_getPermissions_Windows skip Test will run only on Windows. N/A SetContentTests N/A BytesTestCase N/A N/A 
    Tests for L{FilePath.setContent}.
     test_write N/A N/A self N/A N/A N/A 
        Contents of the file referred to by a L{FilePath} can be written using
        L{FilePath.setContent}.
         N/A pathString N/A N/A self mktemp N/A path N/A N/A filepath FilePath pathString N/A N/A N/A path setContent hello, world N/A N/A open pathString rb fObj N/A N/A contents N/A N/A fObj read N/A N/A N/A self assertEqual hello, world contents N/A test_fileClosing N/A N/A self N/A N/A N/A 
        If writing to the underlying file raises an exception,
        L{FilePath.setContent} raises that exception after closing the file.
         N/A fp N/A ExplodingFilePath N/A N/A N/A self assertRaises IOError N/A fp setContent blah N/A N/A N/A self assertTrue N/A N/A fp fp closed N/A test_nameCollision N/A N/A self N/A N/A N/A 
        L{FilePath.setContent} will use a different temporary filename on each
        invocation, so that multiple processes, threads, or reentrant
        invocations will not collide with each other.
         N/A fp N/A TrackingFilePath N/A N/A self mktemp N/A N/A N/A fp setContent alpha N/A N/A N/A fp setContent beta N/A openedSiblings N/A N/A fp openedPaths N/A N/A N/A self assertEqual N/A len openedSiblings 2 N/A N/A N/A self assertNotEqual N/A openedSiblings N/A 0 N/A openedSiblings N/A 1 N/A _assertOneOpened N/A N/A self fp extension N/A N/A N/A 
        Assert that the L{TrackingFilePath} C{fp} was used to open one sibling
        with the given extension.

        @param fp: A L{TrackingFilePath} which should have been used to open
            file at a sibling path.
        @type fp: L{TrackingFilePath}

        @param extension: The extension the sibling path is expected to have
            had.
        @type extension: L{bytes}

        @raise: C{self.failureException} is raised if the extension of the
            opened file is incorrect or if not exactly one file was opened
            using C{fp}.
         N/A opened N/A N/A fp openedPaths N/A N/A N/A self assertEqual N/A len opened 1 expected exactly one opened file N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A opened N/A 0 basename endswith extension N/A %s does not end with %r extension N/A N/A N/A N/A opened N/A 0 basename extension N/A test_defaultExtension N/A N/A self N/A N/A N/A 
        L{FilePath.setContent} creates temporary files with the extension
        I{.new} if no alternate extension value is given.
         N/A fp N/A TrackingFilePath N/A N/A self mktemp N/A N/A N/A fp setContent hello N/A N/A N/A self _assertOneOpened fp .new N/A test_customExtension N/A N/A self N/A N/A N/A 
        L{FilePath.setContent} creates temporary files with a user-supplied
        extension so that if it is somehow interrupted while writing them the
        file that it leaves behind will be identifiable.
         N/A fp N/A TrackingFilePath N/A N/A self mktemp N/A N/A N/A fp setContent goodbye -something-else N/A N/A N/A self _assertOneOpened fp -something-else N/A N/A