Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias TryExcept body Import alias alias handlers ExceptHandler type NameLoad body Assign NameStore NameStore NameLoad ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias identifier alias alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str Str Str Str ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore ListLoad orelse Assign NameStore SubscriptLoad NameLoad Slice For NameStore Call AttributeLoad NameLoad attr Str body If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Continue orelse If CompareEq NameLoad Str body If NameLoad body Expr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad NameLoad NameLoad orelse If BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad body Raise Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq BinOpAdd NameLoad NameLoad NameLoad body Return NameLoad orelse Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad keyword NameLoad decorator_list Assign NameStore ListLoad NameLoad Str Str Str Str Str Str Str Str Str Str Str Str ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return BinOpMod Str NameLoad orelse Return BinOpMod Str NameLoad decorator_list Assign NameStore Str Return BinOpMod NameLoad Dict Str Str Str Str Str Str Str Str BoolOpOr BoolOpAnd NameLoad Str Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Delete AttributeDel NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assert BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareEq Call NameLoad AttributeLoad NameLoad attr Num Str If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assert NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Call NameLoad Num Num Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults vararg body Assign NameStore BinOpMod SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareNotEq Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str Num body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore TupleLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num orelse Assign NameStore NameLoad Assign NameStore TupleLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return TupleLoad NameLoad Str orelse Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse Return TupleLoad NameLoad Str orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Continue orelse Return NameLoad Raise Call AttributeLoad NameLoad attr Str NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad orelse Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Delete AttributeDel NameLoad attr FunctionDef arguments args TupleStore NameStore NameStore NameStore defaults body Assert CompareIs NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Raise NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str Call NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore BinOpBitOr BinOpLShift SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad NameLoad attr Call NameLoad Str If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str Str Str body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return TupleLoad NameLoad decorator_list TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad NameLoad attr Call NameLoad Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body If BoolOpOr UnaryOpNot NameLoad BoolOpAnd NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return TupleLoad NameLoad decorator_list If Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad decorator_list Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad BinOpAdd Str Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad Call AttributeLoad Str attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Return TupleLoad NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Str If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return TupleLoad NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad FunctionDef arguments args TupleStore NameStore defaults body Return TupleLoad NameLoad Call NameLoad NameLoad decorator_list Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad FunctionDef arguments args TupleStore NameStore defaults body Return TupleLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad BinOpAdd Str SubscriptLoad NameLoad Index Num NameLoad If CompareIsNot NameLoad NameLoad body Return Call NameLoad SubscriptLoad NameLoad Slice Num Return Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad BinOpAdd Str NameLoad orelse Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad Str orelse Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return TupleLoad NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return TupleLoad NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Lambda arguments args NameParam defaults TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Lambda arguments args NameParam defaults TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Lambda arguments args NameParam defaults TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr Lambda arguments args NameParam defaults TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse Assert NameLoad BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args defaults body Expr Str decorator_list FunctionDef arguments args defaults body Expr Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareEq NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd BinOpBitAnd NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If BoolOpAnd BinOpBitAnd NameLoad AttributeLoad NameLoad attr CompareIn NameLoad Call NameLoad NameLoad body Assign NameStore NameLoad orelse If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Lambda arguments args NameParam defaults SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad orelse If Call AttributeLoad NameLoad attr body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad orelse Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return ListComp Call Call NameLoad NameLoad BinOpAdd Str NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Str orelse If CompareIsNot NameLoad NameLoad body TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler type NameLoad body Pass Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Str orelse If CompareIsNot NameLoad NameLoad body TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler type NameLoad body Pass Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert UnaryOpNot AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler body Return Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body For NameStore NameLoad body If CompareIs NameLoad NameLoad body If CompareIs NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad Call NameLoad NameLoad Str Lambda arguments args defaults NameLoad Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad If Call AttributeLoad NameLoad attr Str body Raise Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args defaults body Expr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore ListComp Call NameLoad Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Num body Raise Call NameLoad Str NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpLShift Call NameLoad NameLoad Num Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str ListLoad Call NameLoad BinOpRShift NameLoad Num Call NameLoad BinOpMod NameLoad Num Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return NameLoad Assign AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Return If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad BinOpAdd Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Return Assign NameStore SubscriptLoad NameLoad Slice Num Num If CompareEq SubscriptLoad NameLoad Index Num Str body Return If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str Num body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListComp Call NameLoad NameLoad keyword Num comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr BoolOpAnd SubscriptLoad NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad BoolOpOr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpAdd Str Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore ListLoad BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Num BinOpAdd Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore ListLoad BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Num BinOpAdd Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Str Return Call AttributeLoad NameLoad attr ListLoad BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Str Return Call AttributeLoad NameLoad attr ListLoad BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body If CompareNotEq Call NameLoad SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Num Index Num Num body Raise NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num orelse Return NameLoad decorator_list
N/A N/A 
An FTP protocol implementation
 N/A os N/A time N/A re N/A stat N/A errno N/A fnmatch N/A N/A N/A pwd grp N/A N/A N/A ImportError N/A N/A pwd grp None zope.interface Interface implements twisted copyright twisted.internet reactor interfaces protocol error defer twisted.protocols basic policies twisted.python log failure filepath twisted.cred error cred_error portal credentials checkers N/A RESTART_MARKER_REPLY 100 N/A SERVICE_READY_IN_N_MINUTES 120 N/A DATA_CNX_ALREADY_OPEN_START_XFR 125 N/A FILE_STATUS_OK_OPEN_DATA_CNX 150 N/A CMD_OK 200.1 N/A TYPE_SET_OK 200.2 N/A ENTERING_PORT_MODE 200.3 N/A CMD_NOT_IMPLMNTD_SUPERFLUOUS 202 N/A SYS_STATUS_OR_HELP_REPLY 211.1 N/A FEAT_OK 211.2 N/A DIR_STATUS 212 N/A FILE_STATUS 213 N/A HELP_MSG 214 N/A NAME_SYS_TYPE 215 N/A SVC_READY_FOR_NEW_USER 220.1 N/A WELCOME_MSG 220.2 N/A SVC_CLOSING_CTRL_CNX 221.1 N/A GOODBYE_MSG 221.2 N/A DATA_CNX_OPEN_NO_XFR_IN_PROGRESS 225 N/A CLOSING_DATA_CNX 226.1 N/A TXFR_COMPLETE_OK 226.2 N/A ENTERING_PASV_MODE 227 N/A ENTERING_EPSV_MODE 229 N/A USR_LOGGED_IN_PROCEED 230.1 N/A GUEST_LOGGED_IN_PROCEED 230.2 N/A REQ_FILE_ACTN_COMPLETED_OK 250 N/A PWD_REPLY 257.1 N/A MKD_REPLY 257.2 N/A USR_NAME_OK_NEED_PASS 331.1 N/A GUEST_NAME_OK_NEED_EMAIL 331.2 N/A NEED_ACCT_FOR_LOGIN 332 N/A REQ_FILE_ACTN_PENDING_FURTHER_INFO 350 N/A SVC_NOT_AVAIL_CLOSING_CTRL_CNX 421.1 N/A TOO_MANY_CONNECTIONS 421.2 N/A CANT_OPEN_DATA_CNX 425 N/A CNX_CLOSED_TXFR_ABORTED 426 N/A REQ_ACTN_ABRTD_FILE_UNAVAIL 450 N/A REQ_ACTN_ABRTD_LOCAL_ERR 451 N/A REQ_ACTN_ABRTD_INSUFF_STORAGE 452 N/A SYNTAX_ERR 500 N/A SYNTAX_ERR_IN_ARGS 501 N/A CMD_NOT_IMPLMNTD 502.1 N/A OPTS_NOT_IMPLEMENTED 502.2 N/A BAD_CMD_SEQ 503 N/A CMD_NOT_IMPLMNTD_FOR_PARAM 504 N/A NOT_LOGGED_IN 530.1 N/A AUTH_FAILURE 530.2 N/A NEED_ACCT_FOR_STOR 532 N/A FILE_NOT_FOUND 550.1 N/A PERMISSION_DENIED 550.2 N/A ANON_USER_DENIED 550.3 N/A IS_NOT_A_DIR 550.4 N/A REQ_ACTN_NOT_TAKEN 550.5 N/A FILE_EXISTS 550.6 N/A IS_A_DIR 550.7 N/A PAGE_TYPE_UNK 551 N/A EXCEEDED_STORAGE_ALLOC 552 N/A FILENAME_NOT_ALLOWED 553 N/A RESPONSE N/A RESTART_MARKER_REPLY SERVICE_READY_IN_N_MINUTES DATA_CNX_ALREADY_OPEN_START_XFR FILE_STATUS_OK_OPEN_DATA_CNX CMD_OK TYPE_SET_OK ENTERING_PORT_MODE CMD_NOT_IMPLMNTD_SUPERFLUOUS SYS_STATUS_OR_HELP_REPLY FEAT_OK DIR_STATUS FILE_STATUS HELP_MSG NAME_SYS_TYPE WELCOME_MSG SVC_READY_FOR_NEW_USER SVC_CLOSING_CTRL_CNX GOODBYE_MSG DATA_CNX_OPEN_NO_XFR_IN_PROGRESS CLOSING_DATA_CNX TXFR_COMPLETE_OK ENTERING_PASV_MODE ENTERING_EPSV_MODE USR_LOGGED_IN_PROCEED GUEST_LOGGED_IN_PROCEED REQ_FILE_ACTN_COMPLETED_OK PWD_REPLY MKD_REPLY USR_NAME_OK_NEED_PASS GUEST_NAME_OK_NEED_EMAIL NEED_ACCT_FOR_LOGIN REQ_FILE_ACTN_PENDING_FURTHER_INFO SVC_NOT_AVAIL_CLOSING_CTRL_CNX TOO_MANY_CONNECTIONS CANT_OPEN_DATA_CNX CNX_CLOSED_TXFR_ABORTED REQ_ACTN_ABRTD_FILE_UNAVAIL REQ_ACTN_ABRTD_LOCAL_ERR REQ_ACTN_ABRTD_INSUFF_STORAGE SYNTAX_ERR SYNTAX_ERR_IN_ARGS CMD_NOT_IMPLMNTD OPTS_NOT_IMPLEMENTED BAD_CMD_SEQ CMD_NOT_IMPLMNTD_FOR_PARAM NOT_LOGGED_IN AUTH_FAILURE NEED_ACCT_FOR_STOR FILE_NOT_FOUND PERMISSION_DENIED ANON_USER_DENIED IS_NOT_A_DIR FILE_EXISTS IS_A_DIR REQ_ACTN_NOT_TAKEN PAGE_TYPE_UNK EXCEEDED_STORAGE_ALLOC FILENAME_NOT_ALLOWED 110 MARK yyyy-mmmm 120 service ready in %s minutes 125 Data connection already open, starting transfer 150 File status okay; about to open data connection. 200 Command OK 200 Type set to %s. 200 PORT OK 202 Command not implemented, superfluous at this site 211 System status reply N/A 211-Features: 211 End 212 %s 213 %s 214 help: %s 215 UNIX Type: L8 220 %s 220 Service ready 221 Service closing control connection 221 Goodbye. 225 data connection open, no transfer in progress 226 Abort successful 226 Transfer Complete. 227 Entering Passive Mode (%s). 229 Entering Extended Passive Mode (|||%s|). 230 User logged in, proceed 230 Anonymous login ok, access restrictions apply. 250 Requested File Action Completed OK 257 "%s" 257 "%s" created 331 Password required for %s. 331 Guest login ok, type your email address as password. 332 Need account for login. 350 Requested file action pending further information. 421 Service not available, closing control connection. 421 Too many users right now, try again in a few minutes. 425 Can't open data connection. 426 Transfer aborted.  Data connection closed. 450 Requested action aborted. File unavailable. 451 Requested action aborted. Local error in processing. 452 Requested action aborted. Insufficient storage. 500 Syntax error: %s 501 syntax error in argument(s) %s. 502 Command '%s' not implemented 502 Option '%s' not implemented. 503 Incorrect sequence of commands: %s 504 Not implemented for parameter '%s'. 530 Please login with USER and PASS. 530 Sorry, Authentication failed. 532 Need an account for storing files 550 %s: No such file or directory. 550 %s: Permission denied. 550 Anonymous users are forbidden to change the filesystem 550 Cannot rmd, %s is not a directory 550 %s: File exists 550 %s: is a directory 550 Requested action not taken: %s 551 Page type unknown 552 Requested file action aborted, exceeded file storage allocation 553 Requested action not taken, file name not allowed InvalidPath N/A Exception N/A N/A 
    Internal exception used to signify an error during parsing a path.
     N/A toSegments N/A N/A cwd path N/A N/A N/A 
    Normalize a path, as represented by a list of strings each
    representing one segment of the path.
     N/A N/A N/A path startswith / N/A N/A segs N/A N/A N/A segs N/A cwd N/A N/A s N/A N/A path split / N/A N/A N/A N/A s . N/A s N/A N/A N/A N/A N/A s .. N/A N/A segs N/A N/A N/A N/A segs pop N/A N/A N/A InvalidPath cwd path N/A N/A N/A N/A s N/A / s N/A N/A N/A InvalidPath cwd path N/A N/A N/A N/A segs append s N/A segs N/A errnoToFailure N/A N/A e path N/A N/A N/A 
    Map C{OSError} and C{IOError} to standard FTP errors.
     N/A N/A e N/A errno ENOENT N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A N/A e N/A errno EACCES N/A e N/A errno EPERM N/A N/A N/A N/A defer fail N/A PermissionDeniedError path N/A N/A N/A e N/A errno ENOTDIR N/A N/A N/A N/A defer fail N/A IsNotADirectoryError path N/A N/A N/A e N/A errno EEXIST N/A N/A N/A N/A defer fail N/A FileExistsError path N/A N/A N/A e N/A errno EISDIR N/A N/A N/A N/A defer fail N/A IsADirectoryError path N/A N/A N/A N/A defer fail N/A _isGlobbingExpression N/A N/A segments N/A None N/A N/A 
    Helper for checking if a FTPShell `segments` contains a wildcard Unix
    expression.

    Only filename globbing is supported.
    This means that wildcards can only be presents in the last element of
    `segments`.

    @type  segments: C{list}
    @param segments: List of path elements as used by the FTP server protocol.

    @rtype: Boolean
    @return: True if `segments` contains a globbing expression.
     N/A N/A segments N/A N/A False N/A globCandidate N/A segments N/A -1 N/A emtpyTranslations N/A N/A fnmatch translate N/A globTranslations N/A N/A fnmatch translate globCandidate N/A N/A N/A globCandidate emtpyTranslations globTranslations N/A N/A False N/A N/A True N/A FTPCmdError N/A Exception N/A N/A 
    Generic exception for FTP commands.
     __init__ N/A N/A self N/A msg N/A N/A N/A N/A Exception __init__ self msg N/A N/A self errorMessage msg N/A response N/A N/A self N/A N/A N/A 
        Generate a FTP response message for this error.
         N/A N/A N/A RESPONSE N/A N/A self errorCode N/A self errorMessage N/A N/A FileNotFoundError N/A FTPCmdError N/A N/A 
    Raised when trying to access a non existent file or directory.
     N/A errorCode FILE_NOT_FOUND N/A AnonUserDeniedError N/A FTPCmdError N/A N/A 
    Raised when an anonymous user issues a command that will alter the
    filesystem
     N/A errorCode ANON_USER_DENIED N/A PermissionDeniedError N/A FTPCmdError N/A N/A 
    Raised when access is attempted to a resource to which access is
    not allowed.
     N/A errorCode PERMISSION_DENIED N/A IsNotADirectoryError N/A FTPCmdError N/A N/A 
    Raised when RMD is called on a path that isn't a directory.
     N/A errorCode IS_NOT_A_DIR N/A FileExistsError N/A FTPCmdError N/A N/A 
    Raised when attempted to override an existing resource.
     N/A errorCode FILE_EXISTS N/A IsADirectoryError N/A FTPCmdError N/A N/A 
    Raised when DELE is called on a path that is a directory.
     N/A errorCode IS_A_DIR N/A CmdSyntaxError N/A FTPCmdError N/A N/A 
    Raised when a command syntax is wrong.
     N/A errorCode SYNTAX_ERR N/A CmdArgSyntaxError N/A FTPCmdError N/A N/A 
    Raised when a command is called with wrong value or a wrong number of
    arguments.
     N/A errorCode SYNTAX_ERR_IN_ARGS N/A CmdNotImplementedError N/A FTPCmdError N/A N/A 
    Raised when an unimplemented command is given to the server.
     N/A errorCode CMD_NOT_IMPLMNTD N/A CmdNotImplementedForArgError N/A FTPCmdError N/A N/A 
    Raised when the handling of a parameter for a command is not implemented by
    the server.
     N/A errorCode CMD_NOT_IMPLMNTD_FOR_PARAM N/A FTPError N/A Exception N/A N/A N/A PortConnectionError N/A Exception N/A N/A N/A BadCmdSequenceError N/A FTPCmdError N/A N/A 
    Raised when a client sends a series of commands in an illogical sequence.
     N/A errorCode BAD_CMD_SEQ N/A AuthorizationError N/A FTPCmdError N/A N/A 
    Raised when client authentication fails.
     N/A errorCode AUTH_FAILURE N/A debugDeferred N/A N/A self N/A _ N/A N/A N/A N/A log msg N/A debugDeferred(): %s N/A str _ debug True N/A N/A _months N/A None Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec DTP N/A object N/A protocol Protocol N/A N/A N/A implements N/A interfaces IConsumer N/A isConnected False N/A _cons None N/A _onConnLost None N/A _buffer None connectionMade N/A N/A self N/A N/A N/A N/A self isConnected True N/A N/A N/A N/A N/A self factory deferred callback None N/A N/A self _buffer N/A N/A connectionLost N/A N/A self reason N/A N/A N/A N/A self isConnected False N/A N/A N/A self _onConnLost None N/A N/A N/A N/A N/A self _onConnLost callback None N/A sendLine N/A N/A self line N/A N/A N/A 
        Send a line to data channel.

        @param line: The line to be sent.
        @type line: L{bytes}
         N/A N/A N/A N/A self transport write N/A line N/A _formatOneListResponse N/A N/A self name size directory permissions hardlinks modified owner group N/A N/A N/A 
        Helper method to format one entry's info into a text entry like:
        'drwxrwxrwx   0 user   group   0 Jan 01  1970 filename.txt'

        @param name: C{str} name of the entry (file or directory or link)
        @param size: C{int} size of the entry
        @param directory: evals to C{bool} - whether the entry is a directory
        @param permissions: L{twisted.python.filepath.Permissions} object
            representing that entry's permissions
        @param hardlinks: C{int} number of hardlinks
        @param modified: C{float} - entry's last modified time in seconds
            since the epoch
        @param owner: C{str} username of the owner
        @param group: C{str} group name of the owner

        @return: C{str} in the requisite format
         formatDate N/A N/A mtime N/A N/A N/A now N/A N/A time gmtime N/A info N/A month day year hour minute N/A _months N/A N/A mtime tm_mon N/A mtime tm_mday N/A mtime tm_year N/A mtime tm_hour N/A mtime tm_min N/A N/A N/A now tm_year N/A mtime tm_year N/A N/A N/A %(month)s %(day)02d %(year)5d info N/A N/A N/A %(month)s %(day)02d %(hour)02d:%(minute)02d info N/A N/A format %(directory)s%(permissions)s%(hardlinks)4d %(owner)-9s %(group)-9s %(size)15d %(date)12s %(name)s N/A N/A format N/A directory permissions hardlinks owner group size date name N/A N/A directory d - N/A N/A permissions shorthand hardlinks N/A owner N/A 8 N/A group N/A 8 size N/A formatDate N/A N/A time gmtime modified name N/A sendListResponse N/A N/A self name response N/A N/A N/A N/A N/A self sendLine N/A N/A self _formatOneListResponse name response N/A registerProducer N/A N/A self producer streaming N/A N/A N/A N/A N/A N/A self transport registerProducer producer streaming N/A unregisterProducer N/A N/A self N/A N/A N/A N/A N/A N/A self transport unregisterProducer N/A N/A N/A N/A self transport loseConnection N/A write N/A N/A self data N/A N/A N/A N/A self isConnected N/A N/A N/A N/A N/A self transport write data N/A N/A Exception Crap damn crap damn crap damn N/A _conswrite N/A N/A self bytes N/A N/A N/A N/A N/A N/A N/A N/A self _cons write bytes N/A N/A N/A N/A N/A N/A N/A self _onConnLost errback N/A dataReceived N/A N/A self bytes N/A N/A N/A N/A N/A self _cons None N/A N/A N/A N/A self _conswrite bytes N/A N/A N/A N/A N/A self _buffer append bytes N/A _unregConsumer N/A N/A self ignored N/A N/A N/A N/A N/A N/A self _cons unregisterProducer N/A N/A self _cons None N/A N/A self _onConnLost N/A ignored N/A registerConsumer N/A N/A self cons N/A N/A N/A N/A N/A self _cons None N/A N/A self _cons cons N/A N/A N/A N/A self _cons registerProducer self True N/A chunk N/A self _buffer N/A N/A N/A N/A self _conswrite chunk N/A N/A self _buffer None N/A N/A self isConnected N/A N/A N/A self _onConnLost d N/A N/A defer Deferred N/A N/A N/A d addBoth N/A self _unregConsumer N/A d N/A N/A N/A N/A N/A self _cons unregisterProducer N/A N/A self _cons None N/A N/A N/A defer succeed None N/A resumeProducing N/A N/A self N/A N/A N/A N/A N/A N/A self transport resumeProducing N/A pauseProducing N/A N/A self N/A N/A N/A N/A N/A N/A self transport pauseProducing N/A stopProducing N/A N/A self N/A N/A N/A N/A N/A N/A self transport stopProducing N/A N/A DTPFactory N/A N/A protocol ClientFactory N/A N/A 
    Client factory for I{data transfer process} protocols.

    @ivar peerCheck: perform checks to make sure the ftp-pi's peer is the same
        as the dtp's
    @ivar pi: a reference to this factory's protocol interpreter

    @ivar _state: Indicates the current state of the DTPFactory.  Initially,
        this is L{_IN_PROGRESS}.  If the connection fails or times out, it is
        L{_FAILED}.  If the connection succeeds before the timeout, it is
        L{_FINISHED}.
     N/A _IN_PROGRESS N/A object N/A _FAILED N/A object N/A _FINISHED N/A object N/A _state _IN_PROGRESS N/A peerCheck False __init__ N/A N/A self pi peerHost reactor N/A None None N/A N/A 
        Constructor

        @param pi: this factory's protocol interpreter
        @param peerHost: if peerCheck is True, this is the tuple that the
            generated instance will use to perform security checks
         N/A N/A self pi pi N/A N/A self peerHost peerHost N/A N/A self deferred N/A N/A defer Deferred N/A N/A self delayedCall None N/A N/A reactor None N/A twisted.internet reactor N/A N/A self _reactor reactor N/A buildProtocol N/A N/A self addr N/A N/A N/A N/A N/A log msg DTPFactory.buildProtocol debug True N/A N/A N/A self _state N/A self _IN_PROGRESS N/A N/A None N/A N/A self _state N/A self _FINISHED N/A N/A N/A self cancelTimeout N/A p N/A DTP N/A N/A p factory self N/A N/A p pi N/A self pi N/A N/A N/A self pi dtpInstance p N/A p N/A stopFactory N/A N/A self N/A N/A N/A N/A N/A log msg dtpFactory.stopFactory debug True N/A N/A N/A self cancelTimeout N/A timeoutFactory N/A N/A self N/A N/A N/A N/A N/A log msg timed out waiting for DTP connection N/A N/A N/A self _state N/A self _IN_PROGRESS N/A N/A N/A N/A self _state N/A self _FAILED N/A d N/A self deferred N/A N/A self deferred None N/A N/A N/A d errback N/A PortConnectionError N/A N/A defer TimeoutError DTPFactory timeout N/A cancelTimeout N/A N/A self N/A N/A N/A N/A N/A N/A self delayedCall None N/A N/A N/A self delayedCall active N/A N/A N/A N/A log msg cancelling DTP timeout debug True N/A N/A N/A N/A self delayedCall cancel N/A setTimeout N/A N/A self seconds N/A N/A N/A N/A N/A log msg N/A DTPFactory.setTimeout set to %s seconds seconds N/A N/A self delayedCall N/A N/A N/A self _reactor callLater seconds N/A self timeoutFactory N/A clientConnectionFailed N/A N/A self connector reason N/A N/A N/A N/A N/A self _state N/A self _IN_PROGRESS N/A N/A N/A N/A self _state N/A self _FAILED N/A d N/A self deferred N/A N/A self deferred None N/A N/A N/A d errback N/A PortConnectionError reason N/A N/A ASCIIConsumerWrapper N/A object N/A __init__ N/A N/A self cons N/A N/A N/A N/A self cons cons N/A N/A self registerProducer N/A cons registerProducer N/A N/A self unregisterProducer N/A cons unregisterProducer N/A N/A N/A N/A os linesep N/A N/A len N/A os linesep 1 Unsupported platform (yea right like this even exists) N/A N/A N/A os linesep N/A N/A N/A self write N/A cons write N/A write N/A N/A self bytes N/A N/A N/A N/A N/A N/A self cons write N/A N/A bytes replace N/A os linesep N/A N/A FileConsumer N/A object N/A N/A 
    A consumer for FTP input that writes data to a file.

    @ivar fObj: a file object opened for writing, used to write data received.
    @type fObj: C{file}
     N/A N/A implements N/A interfaces IConsumer __init__ N/A N/A self fObj N/A N/A N/A N/A self fObj fObj N/A registerProducer N/A N/A self producer streaming N/A N/A N/A N/A self producer producer N/A streaming N/A unregisterProducer N/A N/A self N/A N/A N/A N/A self producer None N/A N/A N/A N/A self fObj close N/A write N/A N/A self bytes N/A N/A N/A N/A N/A N/A self fObj write bytes N/A N/A FTPOverflowProtocol N/A N/A basic LineReceiver N/A N/A FTP mini-protocol for when there are too many connections. connectionMade N/A N/A self N/A N/A N/A N/A N/A self sendLine N/A RESPONSE N/A TOO_MANY_CONNECTIONS N/A N/A N/A N/A self transport loseConnection N/A N/A FTP N/A object N/A basic LineReceiver N/A policies TimeoutMixin N/A N/A 
    Protocol Interpreter for the File Transfer Protocol

    @ivar state: The current server state.  One of L{UNAUTH},
        L{INAUTH}, L{AUTHED}, L{RENAMING}.

    @ivar shell: The connected avatar
    @ivar binary: The transfer mode.  If false, ASCII.
    @ivar dtpFactory: Generates a single DTP for this session
    @ivar dtpPort: Port returned from listenTCP
    @ivar listenFactory: A callable with the signature of
        L{twisted.internet.interfaces.IReactorTCP.listenTCP} which will be used
        to create Ports for passive connections (mainly for testing).

    @ivar passivePortRange: iterator used as source of passive port numbers.
    @type passivePortRange: C{iterator}
     N/A disconnected False N/A N/A UNAUTH INAUTH AUTHED RENAMING N/A range 4 N/A dtpTimeout 10 N/A portal None N/A shell None N/A dtpFactory None N/A dtpPort None N/A dtpInstance None N/A binary True N/A PUBLIC_COMMANDS N/A FEAT QUIT N/A FEATURES N/A FEAT MDTM PASV SIZE TYPE A;I N/A passivePortRange N/A xrange 0 1 N/A listenFactory N/A reactor listenTCP reply N/A N/A self key N/A args N/A N/A msg N/A N/A RESPONSE N/A key args N/A N/A N/A self sendLine msg N/A connectionMade N/A N/A self N/A N/A N/A N/A self state N/A self UNAUTH N/A N/A N/A self setTimeout N/A self timeOut N/A N/A N/A self reply WELCOME_MSG N/A N/A self factory welcomeMessage N/A connectionLost N/A N/A self reason N/A N/A N/A N/A self dtpFactory N/A N/A N/A N/A self cleanupDTP N/A N/A N/A self setTimeout None N/A N/A N/A hasattr N/A self shell logout N/A N/A N/A self shell logout None N/A N/A N/A N/A N/A self shell logout N/A N/A self shell None N/A N/A self transport None N/A timeoutConnection N/A N/A self N/A N/A N/A N/A N/A N/A self transport loseConnection N/A lineReceived N/A N/A self line N/A N/A N/A N/A N/A self resetTimeout N/A N/A N/A self pauseProducing processFailed N/A N/A err N/A N/A N/A N/A N/A err check FTPCmdError N/A N/A N/A N/A self sendLine N/A N/A N/A err value response N/A N/A N/A N/A N/A err check TypeError N/A N/A N/A N/A N/A N/A err value args N/A 0 find takes exactly -1 N/A N/A N/A N/A self reply SYNTAX_ERR N/A %s requires an argument. N/A cmd N/A N/A N/A N/A log msg Unexpected FTP error N/A N/A N/A log err err N/A N/A N/A self reply REQ_ACTN_NOT_TAKEN internal server error N/A processSucceeded N/A N/A result N/A N/A N/A N/A isinstance result tuple N/A N/A N/A N/A self reply result N/A N/A N/A result None N/A N/A N/A N/A self reply result N/A allDone N/A N/A ignored N/A N/A N/A N/A N/A self disconnected N/A N/A N/A N/A self resumeProducing N/A N/A spaceIndex N/A N/A line find N/A N/A spaceIndex -1 N/A N/A cmd N/A line N/A spaceIndex N/A args N/A N/A line N/A N/A spaceIndex 1 N/A N/A cmd line N/A args N/A N/A d N/A N/A defer maybeDeferred N/A self processCommand cmd args N/A N/A N/A d addCallbacks processSucceeded processFailed N/A N/A N/A d addErrback N/A log err twisted.internet reactor N/A N/A N/A reactor callLater 0 N/A d addBoth allDone N/A processCommand N/A N/A self cmd N/A params N/A call_ftp_command N/A N/A command N/A N/A N/A method N/A getattr self N/A ftp_ command None N/A N/A method None N/A N/A N/A method params N/A N/A N/A defer fail N/A CmdNotImplementedError command N/A N/A cmd N/A N/A cmd upper N/A N/A cmd N/A self PUBLIC_COMMANDS N/A N/A N/A call_ftp_command cmd N/A N/A N/A N/A self state N/A self UNAUTH N/A N/A N/A cmd USER N/A N/A N/A N/A self ftp_USER params N/A N/A N/A cmd PASS N/A N/A N/A BAD_CMD_SEQ USER required before PASS N/A N/A NOT_LOGGED_IN N/A N/A N/A N/A self state N/A self INAUTH N/A N/A N/A cmd PASS N/A N/A N/A N/A self ftp_PASS params N/A N/A N/A BAD_CMD_SEQ PASS required after USER N/A N/A N/A N/A self state N/A self AUTHED N/A N/A N/A call_ftp_command cmd N/A N/A N/A N/A self state N/A self RENAMING N/A N/A N/A cmd RNTO N/A N/A N/A N/A self ftp_RNTO params N/A N/A N/A BAD_CMD_SEQ RNTO required after RNFR N/A getDTPPort N/A N/A self factory N/A N/A N/A 
        Return a port for passive access, using C{self.passivePortRange}
        attribute.
         N/A portn N/A self passivePortRange N/A N/A N/A N/A dtpPort N/A N/A self listenFactory portn factory N/A N/A N/A N/A error CannotListenError N/A N/A N/A N/A dtpPort N/A N/A N/A error CannotListenError portn N/A No port available in range %s N/A N/A self passivePortRange N/A ftp_USER N/A N/A self username N/A N/A N/A 
        First part of login.  Get the username the peer wants to
        authenticate as.
         N/A N/A username N/A N/A N/A N/A defer fail N/A CmdSyntaxError USER requires an argument N/A N/A self _user username N/A N/A self state N/A self INAUTH N/A N/A N/A N/A self factory allowAnonymous N/A N/A self _user N/A N/A self factory userAnonymous N/A N/A GUEST_NAME_OK_NEED_EMAIL N/A N/A N/A USR_NAME_OK_NEED_PASS username N/A ftp_PASS N/A N/A self password N/A N/A N/A 
        Second part of login.  Get the password the peer wants to
        authenticate with.
         N/A N/A N/A N/A self factory allowAnonymous N/A N/A self _user N/A N/A self factory userAnonymous N/A N/A creds N/A N/A credentials Anonymous N/A reply GUEST_LOGGED_IN_PROCEED N/A N/A creds N/A N/A credentials UsernamePassword N/A self _user password N/A reply USR_LOGGED_IN_PROCEED N/A N/A self _user _cbLogin N/A N/A N/A interface avatar logout N/A N/A N/A N/A interface IFTPShell The realm is busted, jerk. N/A N/A self shell avatar N/A N/A self logout logout N/A N/A self workingDirectory N/A N/A N/A self state N/A self AUTHED N/A reply N/A _ebLogin N/A N/A failure N/A N/A N/A N/A N/A failure trap N/A cred_error UnauthorizedLogin N/A cred_error UnhandledCredentials N/A N/A self state N/A self UNAUTH N/A AuthorizationError N/A N/A d N/A N/A N/A self portal login creds None IFTPShell N/A N/A N/A d addCallbacks _cbLogin _ebLogin N/A d N/A ftp_PASV N/A N/A self N/A N/A N/A 
        Request for a passive connection

        from the rfc::

            This command requests the server-DTP to "listen" on a data port
            (which is not its default data port) and to wait for a connection
            rather than initiate one upon receipt of a transfer command.  The
            response to this command includes the host and port address this
            server is listening on.
         N/A N/A N/A self dtpFactory None N/A N/A N/A N/A self cleanupDTP N/A N/A self dtpFactory N/A DTPFactory pi self N/A N/A N/A N/A self dtpFactory setTimeout N/A self dtpTimeout N/A N/A self dtpPort N/A N/A self getDTPPort N/A self dtpFactory N/A host N/A N/A N/A N/A self transport getHost host N/A port N/A N/A N/A N/A self dtpPort getHost port N/A N/A N/A self reply ENTERING_PASV_MODE N/A encodeHostPort host port N/A N/A N/A N/A N/A self dtpFactory deferred addCallback N/A N/A N/A ign N/A None N/A ftp_PORT N/A N/A self address N/A N/A N/A addr N/A map int N/A N/A address split , N/A ip N/A %d.%d.%d.%d N/A tuple N/A addr N/A 4 N/A port N/A N/A N/A addr N/A 4 8 N/A addr N/A 5 N/A N/A N/A self dtpFactory None N/A N/A N/A N/A self cleanupDTP N/A N/A self dtpFactory N/A DTPFactory pi self peerHost N/A N/A N/A N/A self transport getPeer host N/A N/A N/A N/A self dtpFactory setTimeout N/A self dtpTimeout N/A N/A self dtpPort N/A N/A reactor connectTCP ip port N/A self dtpFactory connected N/A N/A ignored N/A N/A N/A ENTERING_PORT_MODE N/A connFailed N/A N/A err N/A N/A N/A N/A N/A err trap PortConnectionError N/A CANT_OPEN_DATA_CNX N/A N/A N/A N/A N/A N/A self dtpFactory deferred addCallbacks connected connFailed N/A _encodeName N/A N/A self name N/A N/A N/A 
        Encode C{name} to be sent over the wire.

        This encodes L{unicode} objects as UTF-8 and leaves L{bytes} as-is.

        As described by U{RFC 3659 section
        2.2<https://tools.ietf.org/html/rfc3659#section-2.2>}::

            Various FTP commands take pathnames as arguments, or return
            pathnames in responses. When the MLST command is supported, as
            indicated in the response to the FEAT command, pathnames are to be
            transferred in one of the following two formats.

                pathname = utf-8-name / raw
                utf-8-name = <a UTF-8 encoded Unicode string>
                raw = <any string that is not a valid UTF-8 encoding>

            Which format is used is at the option of the user-PI or server-PI
            sending the pathname.

        @param name: Name to be encoded.
        @type name: L{bytes} or L{unicode}

        @return: Wire format of C{name}.
        @rtype: L{bytes}
         N/A N/A isinstance name unicode N/A N/A N/A N/A name encode utf-8 N/A name N/A ftp_LIST N/A N/A self path N/A N/A N/A  This command causes a list to be sent from the server to the
        passive DTP.  If the pathname specifies a directory or other
        group of files, the server should transfer a list of files
        in the specified directory.  If the pathname specifies a
        file then the server should send current information on the
        file.  A null argument implies the user's current working or
        default directory.
         N/A N/A N/A N/A self dtpInstance None N/A N/A N/A self dtpInstance isConnected N/A N/A N/A N/A defer fail N/A BadCmdSequenceError must send PORT or PASV before RETR N/A N/A N/A N/A path lower N/A -a -l -la -al N/A N/A path gotListing N/A N/A results N/A N/A N/A N/A N/A self reply DATA_CNX_ALREADY_OPEN_START_XFR N/A N/A name attrs results N/A N/A name N/A N/A self _encodeName name N/A N/A N/A N/A self dtpInstance sendListResponse name attrs N/A N/A N/A N/A N/A self dtpInstance transport loseConnection N/A N/A TXFR_COMPLETE_OK N/A N/A N/A N/A segments N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A d N/A N/A N/A self shell list segments N/A size directory permissions hardlinks modified owner group N/A N/A N/A d addCallback gotListing N/A d N/A ftp_NLST N/A N/A self path N/A N/A N/A 
        This command causes a directory listing to be sent from the server to
        the client. The pathname should specify a directory or other
        system-specific file group descriptor. An empty path implies the current
        working directory. If the path is non-existent, send nothing. If the
        path is to a file, send only the file name.

        @type path: C{str}
        @param path: The path for which a directory listing should be returned.

        @rtype: L{Deferred}
        @return: a L{Deferred} which will be fired when the listing request
            is finished.
         N/A N/A N/A N/A self dtpInstance None N/A N/A N/A self dtpInstance isConnected N/A N/A N/A N/A defer fail N/A BadCmdSequenceError must send PORT or PASV before RETR N/A N/A N/A segments N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path cbList N/A N/A results glob N/A N/A N/A 
            Send, line by line, each matching file in the directory listing, and
            then close the connection.

            @type results: A C{list} of C{tuple}. The first element of each
                C{tuple} is a C{str} and the second element is a C{list}.
            @param results: The names of the files in the directory.

            @param glob: A shell-style glob through which to filter results (see
                U{http://docs.python.org/2/library/fnmatch.html}), or C{None}
                for no filtering.
            @type glob: L{str} or L{NoneType}

            @return: A C{tuple} containing the status code for a successful
                transfer.
            @rtype: C{tuple}
             N/A N/A N/A self reply DATA_CNX_ALREADY_OPEN_START_XFR N/A N/A name ignored results N/A N/A N/A N/A glob N/A glob N/A N/A fnmatch fnmatch name glob N/A N/A name N/A N/A self _encodeName name N/A N/A N/A N/A self dtpInstance sendLine name N/A N/A N/A N/A N/A self dtpInstance transport loseConnection N/A N/A TXFR_COMPLETE_OK N/A listErr N/A N/A results N/A N/A N/A 
            RFC 959 specifies that an NLST request may only return directory
            listings. Thus, send nothing and just close the connection.

            @type results: L{Failure}
            @param results: The L{Failure} wrapping a L{FileNotFoundError} that
                occurred while trying to list the contents of a nonexistent
                directory.

            @returns: A C{tuple} containing the status code for a successful
                transfer.
            @rtype: C{tuple}
             N/A N/A N/A N/A N/A self dtpInstance transport loseConnection N/A N/A TXFR_COMPLETE_OK N/A N/A N/A _isGlobbingExpression segments N/A N/A glob N/A N/A segments pop N/A N/A glob None N/A d N/A N/A N/A self shell list segments N/A N/A N/A d addCallback cbList glob N/A N/A N/A d addErrback listErr N/A d N/A ftp_CWD N/A N/A self path N/A N/A N/A N/A N/A segments N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path accessGranted N/A N/A result N/A N/A N/A N/A self workingDirectory segments N/A N/A REQ_FILE_ACTN_COMPLETED_OK N/A N/A N/A N/A N/A N/A N/A self shell access segments addCallback accessGranted N/A ftp_CDUP N/A N/A self N/A N/A N/A N/A N/A self ftp_CWD .. N/A ftp_PWD N/A N/A self N/A N/A N/A N/A PWD_REPLY N/A / N/A N/A / join N/A self workingDirectory N/A ftp_RETR N/A N/A self path N/A N/A N/A 
        This command causes the content of a file to be sent over the data
        transfer channel. If the path is to a folder, an error will be raised.

        @type path: C{str}
        @param path: The path to the file which should be transferred over the
        data transfer channel.

        @rtype: L{Deferred}
        @return: a L{Deferred} which will be fired when the transfer is done.
         N/A N/A N/A self dtpInstance None N/A N/A N/A BadCmdSequenceError PORT or PASV required before RETR N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A self setTimeout None enableTimeout N/A N/A result N/A N/A N/A N/A N/A self setTimeout N/A N/A self factory timeOut N/A result N/A N/A N/A N/A self binary N/A N/A cons N/A ASCIIConsumerWrapper N/A self dtpInstance N/A N/A cons N/A self dtpInstance cbSent N/A N/A result N/A N/A N/A N/A TXFR_COMPLETE_OK N/A ebSent N/A N/A err N/A N/A N/A N/A N/A log msg Unexpected error attempting to transmit file to client: N/A N/A N/A log err err N/A N/A N/A err check FTPCmdError N/A N/A err N/A N/A CNX_CLOSED_TXFR_ABORTED N/A cbOpened N/A N/A file N/A N/A N/A N/A N/A self dtpInstance isConnected N/A N/A N/A N/A self reply DATA_CNX_ALREADY_OPEN_START_XFR N/A N/A N/A N/A self reply FILE_STATUS_OK_OPEN_DATA_CNX N/A d N/A N/A file send cons N/A N/A N/A d addCallbacks cbSent ebSent N/A d N/A ebOpened N/A N/A err N/A N/A N/A N/A N/A N/A err check PermissionDeniedError FileNotFoundError IsADirectoryError N/A N/A N/A N/A log msg Unexpected error attempting to open file for transmission: N/A N/A N/A log err err N/A N/A N/A err check FTPCmdError N/A N/A N/A N/A N/A err value errorCode N/A N/A / join newsegs N/A N/A FILE_NOT_FOUND N/A N/A / join newsegs N/A N/A d N/A N/A N/A self shell openForReading newsegs N/A N/A N/A d addCallbacks cbOpened ebOpened N/A N/A N/A d addBoth enableTimeout N/A d N/A ftp_STOR N/A N/A self path N/A N/A N/A 
        STORE (STOR)

        This command causes the server-DTP to accept the data
        transferred via the data connection and to store the data as
        a file at the server site.  If the file specified in the
        pathname exists at the server site, then its contents shall
        be replaced by the data being transferred.  A new file is
        created at the server site if the file specified in the
        pathname does not already exist.
         N/A N/A N/A self dtpInstance None N/A N/A N/A BadCmdSequenceError PORT or PASV required before STOR N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A self setTimeout None enableTimeout N/A N/A result N/A N/A N/A N/A N/A self setTimeout N/A N/A self factory timeOut N/A result N/A cbOpened N/A N/A file N/A N/A N/A 
            File was open for reading. Launch the data transfer channel via
            the file consumer.
             N/A d N/A N/A file receive N/A N/A N/A d addCallback cbConsumer N/A N/A N/A d addCallback N/A N/A N/A ignored N/A N/A N/A file close N/A N/A N/A d addCallbacks cbSent ebSent N/A d N/A ebOpened N/A N/A err N/A N/A N/A 
            Called when failed to open the file for reading.

            For known errors, return the FTP error code.
            For all other, return a file not found error.
             N/A N/A isinstance N/A err value FTPCmdError N/A N/A N/A N/A N/A err value errorCode N/A N/A / join newsegs N/A N/A N/A log err err Unexpected error received while opening file: N/A N/A FILE_NOT_FOUND N/A N/A / join newsegs N/A cbConsumer N/A N/A cons N/A N/A N/A 
            Called after the file was opended for reading.

            Prepare the data transfer channel and send the response
            to the command channel.
             N/A N/A N/A self binary N/A N/A cons N/A ASCIIConsumerWrapper cons N/A d N/A N/A N/A self dtpInstance registerConsumer cons N/A N/A N/A self dtpInstance isConnected N/A N/A N/A N/A self reply DATA_CNX_ALREADY_OPEN_START_XFR N/A N/A N/A N/A self reply FILE_STATUS_OK_OPEN_DATA_CNX N/A d N/A cbSent N/A N/A result N/A N/A N/A 
            Called from data transport when tranfer is done.
             N/A N/A TXFR_COMPLETE_OK N/A ebSent N/A N/A err N/A N/A N/A 
            Called from data transport when there are errors during the
            transfer.
             N/A N/A N/A log err err Unexpected error received during transfer: N/A N/A N/A err check FTPCmdError N/A N/A err N/A N/A CNX_CLOSED_TXFR_ABORTED N/A N/A d N/A N/A N/A self shell openForWriting newsegs N/A N/A N/A d addCallbacks cbOpened ebOpened N/A N/A N/A d addBoth enableTimeout N/A d N/A ftp_SIZE N/A N/A self path N/A N/A N/A 
        File SIZE

        The FTP command, SIZE OF FILE (SIZE), is used to obtain the transfer
        size of a file from the server-FTP process.  This is the exact number
        of octets (8 bit bytes) that would be transmitted over the data
        connection should that file be transmitted.  This value will change
        depending on the current STRUcture, MODE, and TYPE of the data
        connection or of a data connection that would be created were one
        created now.  Thus, the result of the SIZE command is dependent on
        the currently established STRU, MODE, and TYPE parameters.

        The SIZE command returns how many octets would be transferred if the
        file were to be transferred using the current transfer structure,
        mode, and type.  This command is normally used in conjunction with
        the RESTART (REST) command when STORing a file to a remote server in
        STREAM mode, to determine the restart point.  The server-PI might
        need to read the partially transferred file, do any appropriate
        conversion, and count the number of octets that would be generated
        when sending the file in order to correctly respond to this command.
        Estimates of the file transfer size MUST NOT be returned; only
        precise information is acceptable.

        http://tools.ietf.org/html/rfc3659
         N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path cbStat N/A N/A N/A size N/A N/A N/A N/A FILE_STATUS N/A str size N/A N/A N/A N/A N/A N/A N/A self shell stat newsegs N/A size addCallback cbStat N/A ftp_MDTM N/A N/A self path N/A N/A N/A 
        File Modification Time (MDTM)

        The FTP command, MODIFICATION TIME (MDTM), can be used to determine
        when a file in the server NVFS was last modified.  This command has
        existed in many FTP servers for many years, as an adjunct to the REST
        command for STREAM mode, thus is widely available.  However, where
        supported, the "modify" fact that can be provided in the result from
        the new MLST command is recommended as a superior alternative.

        http://tools.ietf.org/html/rfc3659
         N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path cbStat N/A N/A N/A modified N/A N/A N/A N/A FILE_STATUS N/A N/A time strftime %Y%m%d%H%M%S N/A N/A time gmtime modified N/A N/A N/A N/A N/A N/A N/A self shell stat newsegs N/A modified addCallback cbStat N/A ftp_TYPE N/A N/A self type N/A N/A N/A 
        REPRESENTATION TYPE (TYPE)

        The argument specifies the representation type as described
        in the Section on Data Representation and Storage.  Several
        types take a second parameter.  The first parameter is
        denoted by a single Telnet character, as is the second
        Format parameter for ASCII and EBCDIC; the second parameter
        for local byte is a decimal integer to indicate Bytesize.
        The parameters are separated by a <SP> (Space, ASCII code
        32).
         N/A p N/A N/A type upper N/A p N/A N/A f N/A getattr self N/A type_ N/A p N/A 0 None N/A N/A f None N/A N/A N/A f N/A p N/A 1 N/A N/A N/A self type_UNKNOWN p N/A N/A SYNTAX_ERR N/A type_A N/A N/A self code N/A N/A N/A N/A N/A code N/A code N N/A N/A N/A self binary False N/A N/A TYPE_SET_OK N/A A code N/A N/A N/A N/A defer fail N/A CmdArgSyntaxError code N/A type_I N/A N/A self code N/A N/A N/A N/A code N/A N/A N/A self binary True N/A N/A TYPE_SET_OK I N/A N/A N/A N/A defer fail N/A CmdArgSyntaxError code N/A type_UNKNOWN N/A N/A self code N/A N/A N/A N/A N/A defer fail N/A CmdNotImplementedForArgError code N/A ftp_SYST N/A N/A self N/A N/A N/A NAME_SYS_TYPE N/A ftp_STRU N/A N/A self structure N/A N/A N/A p N/A N/A structure upper N/A N/A p F N/A N/A N/A CMD_OK N/A N/A N/A defer fail N/A CmdNotImplementedForArgError structure N/A ftp_MODE N/A N/A self mode N/A N/A N/A p N/A N/A mode upper N/A N/A p S N/A N/A N/A CMD_OK N/A N/A N/A defer fail N/A CmdNotImplementedForArgError mode N/A ftp_MKD N/A N/A self path N/A N/A N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A N/A N/A N/A self shell makeDirectory newsegs addCallback N/A N/A N/A ign N/A N/A MKD_REPLY path N/A ftp_RMD N/A N/A self path N/A N/A N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A N/A N/A N/A self shell removeDirectory newsegs addCallback N/A N/A N/A ign N/A N/A REQ_FILE_ACTN_COMPLETED_OK N/A ftp_DELE N/A N/A self path N/A N/A N/A N/A N/A newsegs N/A toSegments N/A self workingDirectory path N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A N/A N/A N/A self shell removeFile newsegs addCallback N/A N/A N/A ign N/A N/A REQ_FILE_ACTN_COMPLETED_OK N/A ftp_NOOP N/A N/A self N/A N/A N/A N/A CMD_OK N/A ftp_RNFR N/A N/A self fromName N/A N/A N/A N/A self _fromName fromName N/A N/A self state N/A self RENAMING N/A N/A REQ_FILE_ACTN_PENDING_FURTHER_INFO N/A ftp_RNTO N/A N/A self toName N/A N/A N/A fromName N/A self _fromName N/A N/A self _fromName N/A N/A self state N/A self AUTHED N/A N/A N/A fromsegs N/A toSegments N/A self workingDirectory fromName N/A tosegs N/A toSegments N/A self workingDirectory toName N/A N/A N/A InvalidPath N/A N/A N/A N/A defer fail N/A FileNotFoundError fromName N/A N/A N/A N/A N/A N/A self shell rename fromsegs tosegs addCallback N/A N/A N/A ign N/A N/A REQ_FILE_ACTN_COMPLETED_OK N/A ftp_FEAT N/A N/A self N/A N/A N/A 
        Advertise the features supported by the server.

        http://tools.ietf.org/html/rfc2389
         N/A N/A N/A self sendLine N/A N/A RESPONSE N/A FEAT_OK N/A 0 N/A feature N/A self FEATURES N/A N/A N/A N/A self sendLine N/A feature N/A N/A N/A self sendLine N/A N/A RESPONSE N/A FEAT_OK N/A 1 N/A ftp_OPTS N/A N/A self option N/A N/A N/A 
        Handle OPTS command.

        http://tools.ietf.org/html/draft-ietf-ftpext-utf-8-option-00
         N/A N/A N/A self reply OPTS_NOT_IMPLEMENTED option N/A ftp_QUIT N/A N/A self N/A N/A N/A N/A N/A self reply GOODBYE_MSG N/A N/A N/A N/A self transport loseConnection N/A N/A self disconnected True N/A cleanupDTP N/A N/A self N/A N/A N/A 
        Call when DTP connection exits
         N/A N/A N/A log msg cleanupDTP debug True N/A N/A N/A log msg N/A self dtpPort N/A N/A dtpPort N/A self dtpPort N/A N/A self dtpPort None N/A N/A N/A N/A interfaces IListeningPort providedBy dtpPort N/A N/A N/A N/A dtpPort stopListening N/A N/A N/A N/A N/A interfaces IConnector providedBy dtpPort N/A N/A N/A N/A dtpPort disconnect N/A N/A False N/A dtpPort should be an IListeningPort or IConnector, instead is %r N/A dtpPort N/A N/A N/A N/A self dtpFactory stopFactory N/A N/A self dtpFactory None N/A N/A N/A self dtpInstance None N/A N/A N/A self dtpInstance None N/A N/A FTPFactory N/A N/A policies LimitTotalConnectionsFactory N/A N/A 
    A factory for producing ftp protocol instances

    @ivar timeOut: the protocol interpreter's idle timeout time in seconds,
        default is 600 seconds.

    @ivar passivePortRange: value forwarded to C{protocol.passivePortRange}.
    @type passivePortRange: C{iterator}
     N/A protocol FTP N/A overflowProtocol FTPOverflowProtocol N/A allowAnonymous True N/A userAnonymous anonymous N/A timeOut 600 N/A welcomeMessage N/A Twisted %s FTP Server N/A N/A copyright version N/A passivePortRange N/A xrange 0 1 __init__ N/A N/A self portal userAnonymous N/A None anonymous N/A N/A N/A self portal portal N/A N/A self userAnonymous userAnonymous N/A N/A self instances N/A N/A buildProtocol N/A N/A self addr N/A N/A N/A p N/A N/A N/A policies LimitTotalConnectionsFactory buildProtocol self addr N/A N/A p None N/A N/A N/A N/A p wrappedProtocol portal N/A self portal N/A N/A N/A p wrappedProtocol timeOut N/A self timeOut N/A N/A N/A p wrappedProtocol passivePortRange N/A self passivePortRange N/A p N/A stopFactory N/A N/A self N/A N/A N/A N/A N/A N/A p setTimeout None N/A p N/A self instances N/A N/A p timeOut None N/A N/A N/A N/A policies LimitTotalConnectionsFactory stopFactory self N/A N/A IFTPShell N/A Interface N/A N/A 
    An abstraction of the shell commands used by the FTP protocol for
    a given user account.

    All path names must be absolute.
     makeDirectory N/A N/A path N/A N/A N/A 
        Create a directory.

        @param path: The path, as a list of segments, to create
        @type path: C{list} of C{unicode}

        @return: A Deferred which fires when the directory has been
        created, or which fails if the directory cannot be created.
         N/A removeDirectory N/A N/A path N/A N/A N/A 
        Remove a directory.

        @param path: The path, as a list of segments, to remove
        @type path: C{list} of C{unicode}

        @return: A Deferred which fires when the directory has been
        removed, or which fails if the directory cannot be removed.
         N/A removeFile N/A N/A path N/A N/A N/A 
        Remove a file.

        @param path: The path, as a list of segments, to remove
        @type path: C{list} of C{unicode}

        @return: A Deferred which fires when the file has been
        removed, or which fails if the file cannot be removed.
         N/A rename N/A N/A fromPath toPath N/A N/A N/A 
        Rename a file or directory.

        @param fromPath: The current name of the path.
        @type fromPath: C{list} of C{unicode}

        @param toPath: The desired new name of the path.
        @type toPath: C{list} of C{unicode}

        @return: A Deferred which fires when the path has been
        renamed, or which fails if the path cannot be renamed.
         N/A access N/A N/A path N/A N/A N/A 
        Determine whether access to the given path is allowed.

        @param path: The path, as a list of segments

        @return: A Deferred which fires with None if access is allowed
        or which fails with a specific exception type if access is
        denied.
         N/A stat N/A N/A path keys N/A N/A N/A N/A 
        Retrieve information about the given path.

        This is like list, except it will never return results about
        child paths.
         N/A list N/A N/A path keys N/A N/A N/A N/A 
        Retrieve information about the given path.

        If the path represents a non-directory, the result list should
        have only one entry with information about that non-directory.
        Otherwise, the result list should have an element for each
        child of the directory.

        @param path: The path, as a list of segments, to list
        @type path: C{list} of C{unicode} or C{bytes}

        @param keys: A tuple of keys desired in the resulting
        dictionaries.

        @return: A Deferred which fires with a list of (name, list),
        where the name is the name of the entry as a unicode string or
        bytes and each list contains values corresponding to the requested
        keys.  The following are possible elements of keys, and the
        values which should be returned for them:

            - C{'size'}: size in bytes, as an integer (this is kinda required)

            - C{'directory'}: boolean indicating the type of this entry

            - C{'permissions'}: a bitvector (see os.stat(foo).st_mode)

            - C{'hardlinks'}: Number of hard links to this entry

            - C{'modified'}: number of seconds since the epoch since entry was
              modified

            - C{'owner'}: string indicating the user owner of this entry

            - C{'group'}: string indicating the group owner of this entry
         N/A openForReading N/A N/A path N/A N/A N/A 
        @param path: The path, as a list of segments, to open
        @type path: C{list} of C{unicode}

        @rtype: C{Deferred} which will fire with L{IReadFile}
         N/A openForWriting N/A N/A path N/A N/A N/A 
        @param path: The path, as a list of segments, to open
        @type path: C{list} of C{unicode}

        @rtype: C{Deferred} which will fire with L{IWriteFile}
         N/A N/A IReadFile N/A Interface N/A N/A 
    A file out of which bytes may be read.
     send N/A N/A consumer N/A N/A N/A 
        Produce the contents of the given path to the given consumer.  This
        method may only be invoked once on each provider.

        @type consumer: C{IConsumer}

        @return: A Deferred which fires when the file has been
        consumed completely.
         N/A N/A IWriteFile N/A Interface N/A N/A 
    A file into which bytes may be written.
     receive N/A N/A N/A N/A N/A 
        Create a consumer which will write to this file.  This method may
        only be invoked once on each provider.

        @rtype: C{Deferred} of C{IConsumer}
         N/A close N/A N/A N/A N/A N/A 
        Perform any post-write work that needs to be done. This method may
        only be invoked once on each provider, and will always be invoked
        after receive().

        @rtype: C{Deferred} of anything: the value is ignored. The FTP client
        will not see their upload request complete until this Deferred has
        been fired.
         N/A N/A _getgroups N/A N/A uid N/A N/A N/A 
    Return the primary and supplementary groups for the given UID.

    @type uid: C{int}
     N/A result N/A N/A pwent N/A N/A pwd getpwuid uid N/A N/A N/A result append N/A pwent pw_gid N/A grent N/A N/A grp getgrall N/A N/A N/A N/A pwent pw_name N/A grent gr_mem N/A N/A N/A N/A result append N/A grent gr_gid N/A result N/A _testPermissions N/A N/A uid gid spath mode N/A r N/A N/A 
    checks to see if uid has proper permissions to access path with mode

    @type uid: C{int}
    @param uid: numeric user id

    @type gid: C{int}
    @param gid: numeric group id

    @type spath: C{str}
    @param spath: the path on the server to test

    @type mode: C{str}
    @param mode: 'r' or 'w' (read or write)

    @rtype: C{bool}
    @return: True if the given credentials have the specified form of
        access to the given path
     N/A N/A mode r N/A N/A usr N/A stat S_IRUSR N/A grp N/A stat S_IRGRP N/A oth N/A stat S_IROTH N/A amode N/A os R_OK N/A N/A N/A mode w N/A N/A usr N/A stat S_IWUSR N/A grp N/A stat S_IWGRP N/A oth N/A stat S_IWOTH N/A amode N/A os W_OK N/A N/A N/A ValueError N/A Invalid mode %r: must specify 'r' or 'w' N/A mode N/A access False N/A N/A N/A N/A os path exists spath N/A N/A N/A uid 0 N/A N/A access True N/A N/A s N/A N/A os stat spath N/A N/A N/A usr N/A s st_mode N/A uid N/A s st_uid N/A N/A access True N/A N/A N/A N/A grp N/A s st_mode N/A gid N/A _getgroups uid N/A N/A access True N/A N/A N/A oth N/A s st_mode N/A N/A access True N/A access N/A N/A N/A N/A N/A os access spath amode N/A N/A access False N/A N/A N/A log msg N/A Filesystem grants permission to UID %d but it is inaccessible to me running as UID %d N/A uid N/A N/A os getuid N/A access N/A FTPAnonymousShell N/A object N/A N/A 
    An anonymous implementation of IFTPShell

    @type filesystemRoot: L{twisted.python.filepath.FilePath}
    @ivar filesystemRoot: The path which is considered the root of
    this shell.
     N/A N/A implements IFTPShell __init__ N/A N/A self filesystemRoot N/A N/A N/A N/A self filesystemRoot filesystemRoot N/A _path N/A N/A self path N/A N/A N/A N/A N/A N/A self filesystemRoot descendant path N/A makeDirectory N/A N/A self path N/A N/A N/A N/A N/A defer fail N/A AnonUserDeniedError N/A removeDirectory N/A N/A self path N/A N/A N/A N/A N/A defer fail N/A AnonUserDeniedError N/A removeFile N/A N/A self path N/A N/A N/A N/A N/A defer fail N/A AnonUserDeniedError N/A rename N/A N/A self fromPath toPath N/A N/A N/A N/A N/A defer fail N/A AnonUserDeniedError N/A receive N/A N/A self path N/A N/A N/A path N/A N/A self _path path N/A N/A N/A defer fail N/A AnonUserDeniedError N/A openForReading N/A N/A self path N/A N/A N/A 
        Open C{path} for reading.

        @param path: The path, as a list of segments, to open.
        @type path: C{list} of C{unicode}
        @return: A L{Deferred} is returned that will fire with an object
            implementing L{IReadFile} if the file is successfully opened.  If
            C{path} is a directory, or if an exception is raised while trying
            to open the file, the L{Deferred} will fire with an error.
         N/A p N/A N/A self _path path N/A N/A N/A p isdir N/A N/A N/A N/A defer fail N/A IsADirectoryError path N/A N/A N/A f N/A N/A p open r N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed N/A _FileReader f N/A openForWriting N/A N/A self path N/A N/A N/A 
        Reject write attempts by anonymous users with
        L{PermissionDeniedError}.
         N/A N/A N/A defer fail N/A PermissionDeniedError STOR not allowed N/A access N/A N/A self path N/A N/A N/A p N/A N/A self _path path N/A N/A N/A N/A p exists N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A N/A N/A N/A N/A p listdir N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed None N/A stat N/A N/A self path keys N/A N/A N/A N/A p N/A N/A self _path path N/A N/A N/A p isdir N/A N/A N/A N/A statResult N/A N/A self _statNode p keys N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed statResult N/A N/A N/A N/A N/A N/A self list path keys addCallback N/A N/A N/A res N/A N/A N/A res N/A 0 N/A 1 N/A list N/A N/A self path keys N/A N/A N/A N/A 
        Return the list of files at given C{path}, adding C{keys} stat
        informations if specified.

        @param path: the directory or file to check.
        @type path: C{str}

        @param keys: the list of desired metadata
        @type keys: C{list} of C{str}
         N/A filePath N/A N/A self _path path N/A N/A N/A filePath isdir N/A N/A entries N/A N/A filePath listdir N/A fileEntries N/A N/A N/A filePath child p N/A p entries N/A N/A N/A N/A filePath isfile N/A N/A entries N/A N/A N/A N/A os path join N/A N/A filePath segmentsFrom N/A self filesystemRoot N/A fileEntries N/A filePath N/A N/A N/A N/A defer fail N/A FileNotFoundError path N/A results N/A N/A N/A fileName filePath N/A zip entries fileEntries N/A N/A ent N/A N/A N/A N/A results append N/A fileName ent N/A keys N/A N/A N/A N/A N/A N/A ent extend N/A N/A self _statNode filePath keys N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno fileName N/A N/A N/A N/A N/A defer fail N/A N/A N/A defer succeed results N/A _statNode N/A N/A self filePath keys N/A N/A N/A 
        Shortcut method to get stat info on a node.

        @param filePath: the node to stat.
        @type filePath: C{filepath.FilePath}

        @param keys: the stat keys to get.
        @type keys: C{iterable}
         N/A N/A N/A filePath restat N/A N/A N/A N/A getattr self N/A _stat_ k filePath N/A k keys N/A _stat_size N/A N/A self fp N/A N/A N/A 
        Get the filepath's size as an int

        @param fp: L{twisted.python.filepath.FilePath}
        @return: C{int} representing the size
         N/A N/A N/A fp getsize N/A _stat_permissions N/A N/A self fp N/A N/A N/A 
        Get the filepath's permissions object

        @param fp: L{twisted.python.filepath.FilePath}
        @return: L{twisted.python.filepath.Permissions} of C{fp}
         N/A N/A N/A fp getPermissions N/A _stat_hardlinks N/A N/A self fp N/A N/A N/A 
        Get the number of hardlinks for the filepath - if the number of
        hardlinks is not yet implemented (say in Windows), just return 0 since
        stat-ing a file in Windows seems to return C{st_nlink=0}.

        (Reference:
        U{http://stackoverflow.com/questions/5275731/os-stat-on-windows})

        @param fp: L{twisted.python.filepath.FilePath}
        @return: C{int} representing the number of hardlinks
         N/A N/A N/A N/A N/A fp getNumberOfHardLinks N/A N/A N/A NotImplementedError N/A N/A 0 N/A _stat_modified N/A N/A self fp N/A N/A N/A 
        Get the filepath's last modified date

        @param fp: L{twisted.python.filepath.FilePath}
        @return: C{int} as seconds since the epoch
         N/A N/A N/A fp getModificationTime N/A _stat_owner N/A N/A self fp N/A N/A N/A 
        Get the filepath's owner's username.  If this is not implemented
        (say in Windows) return the string "0" since stat-ing a file in
        Windows seems to return C{st_uid=0}.

        (Reference:
        U{http://stackoverflow.com/questions/5275731/os-stat-on-windows})

        @param fp: L{twisted.python.filepath.FilePath}
        @return: C{str} representing the owner's username
         N/A N/A N/A userID N/A N/A fp getUserID N/A N/A N/A NotImplementedError N/A N/A 0 N/A N/A N/A pwd None N/A N/A N/A N/A N/A N/A N/A pwd getpwuid userID N/A 0 N/A N/A N/A KeyError N/A N/A N/A N/A str userID N/A _stat_group N/A N/A self fp N/A N/A N/A 
        Get the filepath's owner's group.  If this is not implemented
        (say in Windows) return the string "0" since stat-ing a file in
        Windows seems to return C{st_gid=0}.

        (Reference:
        U{http://stackoverflow.com/questions/5275731/os-stat-on-windows})

        @param fp: L{twisted.python.filepath.FilePath}
        @return: C{str} representing the owner's group
         N/A N/A N/A groupID N/A N/A fp getGroupID N/A N/A N/A NotImplementedError N/A N/A 0 N/A N/A N/A grp None N/A N/A N/A N/A N/A N/A N/A grp getgrgid groupID N/A 0 N/A N/A N/A KeyError N/A N/A N/A N/A str groupID N/A _stat_directory N/A N/A self fp N/A N/A N/A 
        Get whether the filepath is a directory

        @param fp: L{twisted.python.filepath.FilePath}
        @return: C{bool}
         N/A N/A N/A fp isdir N/A N/A _FileReader N/A object N/A N/A N/A implements IReadFile __init__ N/A N/A self fObj N/A N/A N/A N/A self fObj fObj N/A N/A self _send False N/A _close N/A N/A self passthrough N/A N/A N/A N/A self _send True N/A N/A N/A N/A self fObj close N/A passthrough N/A send N/A N/A self consumer N/A N/A N/A N/A N/A self _send Can only call IReadFile.send *once* per instance N/A N/A self _send True N/A d N/A N/A N/A N/A basic FileSender beginFileTransfer N/A self fObj consumer N/A N/A N/A d addBoth N/A self _close N/A d N/A N/A FTPShell N/A FTPAnonymousShell N/A N/A 
    An authenticated implementation of L{IFTPShell}.
     makeDirectory N/A N/A self path N/A N/A N/A p N/A N/A self _path path N/A N/A N/A N/A N/A p makedirs N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed None N/A removeDirectory N/A N/A self path N/A N/A N/A p N/A N/A self _path path N/A N/A N/A p isfile N/A N/A N/A N/A defer fail N/A IsNotADirectoryError path N/A N/A N/A N/A N/A os rmdir N/A p path N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed None N/A removeFile N/A N/A self path N/A N/A N/A p N/A N/A self _path path N/A N/A N/A p isdir N/A N/A N/A N/A defer fail N/A IsADirectoryError path N/A N/A N/A N/A N/A p remove N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed None N/A rename N/A N/A self fromPath toPath N/A N/A N/A fp N/A N/A self _path fromPath N/A tp N/A N/A self _path toPath N/A N/A N/A N/A N/A os rename N/A fp path N/A tp path N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno fromPath N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed None N/A openForWriting N/A N/A self path N/A N/A N/A 
        Open C{path} for writing.

        @param path: The path, as a list of segments, to open.
        @type path: C{list} of C{unicode}
        @return: A L{Deferred} is returned that will fire with an object
            implementing L{IWriteFile} if the file is successfully opened.  If
            C{path} is a directory, or if an exception is raised while trying
            to open the file, the L{Deferred} will fire with an error.
         N/A p N/A N/A self _path path N/A N/A N/A p isdir N/A N/A N/A N/A defer fail N/A IsADirectoryError path N/A N/A N/A fObj N/A N/A p open w N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A errnoToFailure N/A e errno path N/A N/A N/A N/A N/A defer fail N/A N/A N/A defer succeed N/A _FileWriter fObj N/A N/A _FileWriter N/A object N/A N/A N/A implements IWriteFile __init__ N/A N/A self fObj N/A N/A N/A N/A self fObj fObj N/A N/A self _receive False N/A receive N/A N/A self N/A N/A N/A N/A N/A self _receive Can only call IWriteFile.receive *once* per instance N/A N/A self _receive True N/A N/A N/A defer succeed N/A FileConsumer N/A self fObj N/A close N/A N/A self N/A N/A N/A N/A N/A defer succeed None N/A N/A BaseFTPRealm N/A N/A N/A 
    Base class for simple FTP realms which provides an easy hook for specifying
    the home directory for each user.
     N/A N/A implements N/A portal IRealm __init__ N/A N/A self anonymousRoot N/A N/A N/A N/A self anonymousRoot N/A N/A filepath FilePath anonymousRoot N/A getHomeDirectory N/A N/A self avatarId N/A N/A N/A 
        Return a L{FilePath} representing the home directory of the given
        avatar.  Override this in a subclass.

        @param avatarId: A user identifier returned from a credentials checker.
        @type avatarId: C{str}

        @rtype: L{FilePath}
         N/A N/A NotImplementedError N/A %r did not override getHomeDirectory N/A N/A self __class__ N/A requestAvatar N/A N/A self avatarId mind N/A interfaces N/A N/A iface interfaces N/A N/A N/A iface IFTPShell N/A N/A N/A avatarId N/A checkers ANONYMOUS N/A N/A avatar N/A FTPAnonymousShell N/A self anonymousRoot N/A N/A avatar N/A FTPShell N/A N/A self getHomeDirectory avatarId N/A N/A IFTPShell avatar N/A getattr avatar logout N/A N/A N/A N/A None N/A N/A NotImplementedError Only IFTPShell interface is supported by this realm N/A N/A FTPRealm N/A BaseFTPRealm N/A N/A 
    @type anonymousRoot: L{twisted.python.filepath.FilePath}
    @ivar anonymousRoot: Root of the filesystem to which anonymous
        users will be granted access.

    @type userHome: L{filepath.FilePath}
    @ivar userHome: Root of the filesystem containing user home directories.
     __init__ N/A N/A self anonymousRoot userHome N/A /home N/A N/A N/A N/A BaseFTPRealm __init__ self anonymousRoot N/A N/A self userHome N/A N/A filepath FilePath userHome N/A getHomeDirectory N/A N/A self avatarId N/A N/A N/A 
        Use C{avatarId} as a single path segment to construct a child of
        C{self.userHome} and return that child.
         N/A N/A N/A N/A self userHome child avatarId N/A N/A SystemFTPRealm N/A BaseFTPRealm N/A N/A 
    L{SystemFTPRealm} uses system user account information to decide what the
    home directory for a particular avatarId is.

    This works on POSIX but probably is not reliable on Windows.
     getHomeDirectory N/A N/A self avatarId N/A N/A N/A 
        Return the system-defined home directory of the system user account with
        the name C{avatarId}.
         N/A path N/A N/A N/A os path expanduser N/A ~ avatarId N/A N/A N/A path startswith ~ N/A N/A N/A N/A cred_error UnauthorizedLogin N/A N/A N/A filepath FilePath path N/A N/A ConnectionLost N/A FTPError N/A N/A N/A CommandFailed N/A FTPError N/A N/A N/A BadResponse N/A FTPError N/A N/A N/A UnexpectedResponse N/A FTPError N/A N/A N/A UnexpectedData N/A FTPError N/A N/A N/A FTPCommand N/A N/A __init__ N/A N/A self text public N/A None 0 N/A N/A N/A self text text N/A N/A self deferred N/A N/A defer Deferred N/A N/A self ready 1 N/A N/A self public public N/A N/A self transferDeferred None N/A fail N/A N/A self failure N/A N/A N/A N/A self public N/A N/A N/A N/A N/A self deferred errback failure N/A N/A ProtocolWrapper N/A N/A protocol Protocol N/A __init__ N/A N/A self original deferred N/A N/A N/A N/A self original original N/A N/A self deferred deferred N/A makeConnection N/A N/A self transport N/A N/A N/A N/A N/A N/A self original makeConnection transport N/A dataReceived N/A N/A self data N/A N/A N/A N/A N/A N/A self original dataReceived data N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A N/A self original connectionLost reason N/A N/A N/A N/A self deferred callback None N/A N/A IFinishableConsumer N/A N/A interfaces IConsumer N/A N/A 
    A Consumer for producers that finish.

    @since: 11.0
     finish N/A N/A N/A N/A N/A 
        The producer has finished producing.
         N/A N/A SenderProtocol N/A N/A protocol Protocol N/A N/A N/A implements IFinishableConsumer __init__ N/A N/A self N/A N/A N/A N/A self connectedDeferred N/A N/A defer Deferred N/A N/A self deferred N/A N/A defer Deferred N/A dataReceived N/A N/A self data N/A N/A N/A N/A UnexpectedData Received data from the server on a send-only data-connection N/A makeConnection N/A N/A self transport N/A N/A N/A N/A N/A N/A protocol Protocol makeConnection self transport N/A N/A N/A N/A self connectedDeferred callback self N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A reason check N/A error ConnectionDone N/A N/A N/A N/A N/A self deferred callback connection done N/A N/A N/A N/A N/A self deferred errback reason N/A write N/A N/A self data N/A N/A N/A N/A N/A N/A self transport write data N/A registerProducer N/A N/A self producer streaming N/A N/A N/A 
        Register the given producer with our transport.
         N/A N/A N/A N/A self transport registerProducer producer streaming N/A unregisterProducer N/A N/A self N/A N/A N/A 
        Unregister the previously registered producer.
         N/A N/A N/A N/A self transport unregisterProducer N/A finish N/A N/A self N/A N/A N/A N/A N/A N/A self transport loseConnection N/A N/A decodeHostPort N/A N/A line N/A N/A N/A 
    Decode an FTP response specifying a host and port.

    @return: a 2-tuple of (host, port).
     N/A abcdef N/A N/A re sub [^0-9, ] line N/A parsed N/A N/A int N/A N/A p strip N/A p N/A N/A abcdef split , N/A x parsed N/A N/A N/A N/A x 0 N/A x 255 N/A N/A N/A ValueError Out of range line x N/A N/A a b c d e f parsed N/A host N/A %s.%s.%s.%s N/A a b c d N/A port N/A N/A N/A int e 8 N/A int f N/A N/A host port N/A encodeHostPort N/A N/A host port N/A N/A N/A numbers N/A N/A N/A host split . N/A N/A str N/A port 8 N/A str N/A port 256 N/A N/A N/A , join numbers N/A _unwrapFirstError N/A N/A failure N/A N/A N/A N/A N/A failure trap N/A defer FirstError N/A N/A N/A failure value subFailure N/A FTPDataPortFactory N/A N/A protocol ServerFactory N/A N/A 
    Factory for data connections that use the PORT command

    (i.e. "active" transfers)
     N/A noisy 0 buildProtocol N/A N/A self addr N/A N/A N/A N/A N/A self protocol factory self N/A N/A N/A N/A self port loseConnection N/A N/A self protocol N/A N/A FTPClientBasic N/A N/A basic LineReceiver N/A N/A 
    Foundations of an FTP client.
     N/A debug False __init__ N/A N/A self N/A N/A N/A N/A self actionQueue N/A N/A N/A self greeting None N/A N/A self nextDeferred N/A N/A N/A N/A defer Deferred addCallback N/A self _cb_greeting N/A N/A N/A N/A self nextDeferred addErrback N/A self fail N/A N/A self response N/A N/A N/A self _failed 0 N/A fail N/A N/A self error N/A N/A N/A 
        Give an error to any queued deferreds.
         N/A N/A N/A self _fail error N/A _fail N/A N/A self error N/A N/A N/A 
        Errback all queued deferreds.
         N/A N/A self _failed N/A N/A error N/A N/A self _failed 1 N/A N/A self nextDeferred N/A N/A N/A N/A N/A N/A N/A self nextDeferred errback N/A N/A failure Failure N/A ConnectionLost FTP connection lost error N/A N/A N/A N/A defer AlreadyCalledError N/A N/A N/A ftpCommand N/A self actionQueue N/A N/A N/A N/A ftpCommand fail N/A N/A failure Failure N/A ConnectionLost FTP connection lost error N/A error N/A _cb_greeting N/A N/A self greeting N/A N/A N/A N/A self greeting greeting N/A sendLine N/A N/A self line N/A N/A N/A 
        (Private) Sends a line, unless line is None.
         N/A N/A line None N/A N/A N/A N/A N/A N/A basic LineReceiver sendLine self line N/A sendNextCommand N/A N/A self N/A N/A N/A 
        (Private) Processes the next command in the queue.
         N/A ftpCommand N/A N/A self popCommandQueue N/A N/A ftpCommand None N/A N/A N/A self nextDeferred None N/A N/A N/A N/A ftpCommand ready N/A N/A N/A N/A N/A self actionQueue insert 0 ftpCommand N/A N/A N/A reactor callLater 1.0 N/A self sendNextCommand N/A N/A self nextDeferred None N/A N/A N/A N/A ftpCommand text PORT N/A N/A N/A N/A self generatePortCommand ftpCommand N/A N/A self debug N/A N/A N/A N/A log msg N/A <-- %s N/A ftpCommand text N/A N/A self nextDeferred N/A ftpCommand deferred N/A N/A N/A self sendLine N/A ftpCommand text N/A queueCommand N/A N/A self ftpCommand N/A N/A N/A 
        Add an FTPCommand object to the queue.

        If it's the only thing in the queue, and we are connected and we aren't
        waiting for a response of an earlier command, the command will be sent
        immediately.

        @param ftpCommand: an L{FTPCommand}
         N/A N/A N/A N/A self actionQueue append ftpCommand N/A N/A N/A N/A len N/A self actionQueue 1 N/A N/A self transport None N/A N/A self nextDeferred None N/A N/A N/A N/A self sendNextCommand N/A queueStringCommand N/A N/A self command public N/A 1 N/A N/A 
        Queues a string to be issued as an FTP command

        @param command: string of an FTP command to queue
        @param public: a flag intended for internal use by FTPClient.  Don't
            change it unless you know what you're doing.

        @return: a L{Deferred} that will be called when the response to the
            command has been received.
         N/A ftpCommand N/A FTPCommand command public N/A N/A N/A self queueCommand ftpCommand N/A N/A ftpCommand deferred N/A popCommandQueue N/A N/A self N/A N/A N/A 
        Return the front element of the command queue, or None if empty.
         N/A N/A self actionQueue N/A N/A N/A N/A N/A self actionQueue pop 0 N/A N/A None N/A queueLogin N/A N/A self username password N/A N/A N/A 
        Login: send the username, send the password.

        If the password is C{None}, the PASS command won't be sent.  Also, if
        the response to the USER command has a response code of 230 (User logged
        in), then PASS won't be sent either.
         N/A deferreds N/A N/A userDeferred N/A N/A self queueStringCommand N/A USER  username public 0 N/A N/A N/A deferreds append userDeferred N/A N/A password None N/A N/A passwordCmd N/A FTPCommand N/A PASS  password public 0 N/A N/A N/A self queueCommand passwordCmd N/A N/A N/A deferreds append N/A passwordCmd deferred cancelPasswordIfNotNeeded N/A N/A response N/A N/A N/A N/A N/A N/A response N/A 0 startswith 230 N/A N/A N/A N/A N/A self actionQueue remove passwordCmd N/A response N/A N/A N/A N/A userDeferred addCallback cancelPasswordIfNotNeeded N/A deferred deferreds N/A N/A N/A N/A deferred addErrback N/A self fail N/A N/A N/A deferred addErrback N/A N/A N/A x N/A None N/A lineReceived N/A N/A self line N/A N/A N/A 
        (Private) Parses the response messages from the FTP server.
         N/A N/A self debug N/A N/A N/A N/A log msg N/A --> %s line N/A N/A N/A N/A self response append line N/A codeIsValid N/A N/A re match \d{3}  line N/A N/A codeIsValid N/A N/A N/A code N/A line N/A 0 3 N/A N/A N/A code N/A 0 1 N/A N/A N/A N/A N/A self nextDeferred None N/A N/A N/A N/A self fail N/A UnexpectedResponse N/A self response N/A N/A response N/A self response N/A N/A self response N/A N/A N/A N/A code N/A 0 N/A 2 3 N/A N/A N/A N/A N/A self nextDeferred callback response N/A N/A N/A N/A code N/A 0 N/A 4 5 N/A N/A N/A N/A N/A self nextDeferred errback N/A N/A failure Failure N/A CommandFailed response N/A N/A N/A N/A log msg N/A Server sent invalid response code %s N/A code N/A N/A N/A N/A self nextDeferred errback N/A N/A failure Failure N/A BadResponse response N/A N/A N/A self sendNextCommand N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A self _fail reason N/A N/A _PassiveConnectionFactory N/A N/A protocol ClientFactory N/A N/A noisy False __init__ N/A N/A self protoInstance N/A N/A N/A N/A self protoInstance protoInstance N/A buildProtocol N/A N/A self ignored N/A N/A N/A N/A N/A self protoInstance factory self N/A N/A self protoInstance N/A clientConnectionFailed N/A N/A self connector reason N/A N/A N/A e N/A FTPError Connection Failed reason N/A N/A N/A N/A N/A self protoInstance deferred errback e N/A N/A FTPClient N/A FTPClientBasic N/A N/A 
    L{FTPClient} is a client implementation of the FTP protocol which
    exposes FTP commands as methods which return L{Deferred}s.

    Each command method returns a L{Deferred} which is called back when a
    successful response code (2xx or 3xx) is received from the server or
    which is error backed if an error response code (4xx or 5xx) is received
    from the server or if a protocol violation occurs.  If an error response
    code is received, the L{Deferred} fires with a L{Failure} wrapping a
    L{CommandFailed} instance.  The L{CommandFailed} instance is created
    with a list of the response lines received from the server.

    See U{RFC 959<http://www.ietf.org/rfc/rfc959.txt>} for error code
    definitions.

    Both active and passive transfers are supported.

    @ivar passive: See description in __init__.
     N/A connectFactory N/A reactor connectTCP __init__ N/A N/A self username password passive N/A anonymous twisted@twistedmatrix.com 1 N/A N/A 
        Constructor.

        I will login as soon as I receive the welcome message from the server.

        @param username: FTP username
        @param password: FTP password
        @param passive: flag that controls if I use active or passive data
            connections.  You can also change this after construction by
            assigning to C{self.passive}.
         N/A N/A N/A FTPClientBasic __init__ self N/A N/A N/A self queueLogin username password N/A N/A self passive passive N/A fail N/A N/A self error N/A N/A N/A 
        Disconnect, and also give an error to any queued deferreds.
         N/A N/A N/A N/A self transport loseConnection N/A N/A N/A self _fail error N/A receiveFromConnection N/A N/A self commands protocol N/A N/A N/A 
        Retrieves a file or listing generated by the given command,
        feeding it to the given protocol.

        @param commands: list of strings of FTP commands to execute then receive
            the results of (e.g. C{LIST}, C{RETR})
        @param protocol: A L{Protocol} B{instance} e.g. an
            L{FTPFileListProtocol}, or something that can be adapted to one.
            Typically this will be an L{IConsumer} implementation.

        @return: L{Deferred}.
         N/A protocol N/A N/A interfaces IProtocol protocol N/A wrapper N/A ProtocolWrapper protocol N/A N/A defer Deferred N/A N/A N/A self _openDataConnection commands wrapper N/A queueLogin N/A N/A self username password N/A N/A N/A 
        Login: send the username, send the password, and
        set retrieval mode to binary
         N/A N/A N/A FTPClientBasic queueLogin self username password N/A d N/A N/A self queueStringCommand TYPE I public 0 N/A N/A N/A d addErrback N/A self fail N/A N/A N/A d addErrback N/A N/A N/A x N/A None N/A sendToConnection N/A N/A self commands N/A N/A N/A 
        XXX

        @return: A tuple of two L{Deferred}s:
                  - L{Deferred} L{IFinishableConsumer}. You must call
                    the C{finish} method on the IFinishableConsumer when the file
                    is completely transferred.
                  - L{Deferred} list of control-connection responses.
         N/A s N/A SenderProtocol N/A r N/A N/A self _openDataConnection commands s N/A N/A N/A s connectedDeferred r N/A _openDataConnection N/A N/A self commands protocol N/A N/A N/A 
        This method returns a DeferredList.
         N/A cmds N/A N/A FTPCommand command public 1 N/A command commands N/A cmdsDeferred N/A N/A defer DeferredList N/A N/A cmd deferred N/A cmd cmds fireOnOneErrback True consumeErrors True N/A N/A N/A cmdsDeferred addErrback _unwrapFirstError N/A N/A self passive N/A N/A _mutable N/A None doPassive N/A N/A response N/A N/A N/A Connect to the port specified in the response to PASV N/A N/A host port N/A decodeHostPort N/A N/A response N/A -1 N/A 4 N/A f N/A _PassiveConnectionFactory protocol N/A N/A _mutable N/A 0 N/A N/A self connectFactory host port f N/A N/A pasvCmd N/A FTPCommand PASV N/A N/A N/A self queueCommand pasvCmd N/A N/A N/A N/A N/A N/A pasvCmd deferred addCallback doPassive addErrback N/A self fail N/A results N/A cmdsDeferred N/A pasvCmd deferred N/A protocol deferred N/A d N/A N/A defer DeferredList results fireOnOneErrback True consumeErrors True N/A N/A N/A d addErrback _unwrapFirstError close N/A N/A x m N/A _mutable N/A N/A N/A N/A m N/A 0 N/A N/A N/A m N/A 0 disconnect N/A x N/A N/A N/A N/A d addBoth close N/A N/A portCmd N/A FTPCommand PORT N/A N/A portCmd transferDeferred N/A protocol deferred N/A N/A portCmd protocol protocol N/A N/A N/A N/A portCmd deferred addErrback N/A N/A portCmd transferDeferred errback N/A N/A N/A self queueCommand portCmd N/A N/A portCmd loseConnection N/A N/A N/A result N/A result N/A N/A portCmd fail N/A N/A N/A error N/A error N/A N/A N/A cmdsDeferred addErrback N/A N/A N/A e pc N/A portCmd N/A N/A N/A pc fail e e N/A results N/A cmdsDeferred N/A portCmd deferred N/A portCmd transferDeferred N/A d N/A N/A defer DeferredList results fireOnOneErrback True consumeErrors True N/A N/A N/A d addErrback _unwrapFirstError N/A cmd cmds N/A N/A N/A N/A self queueCommand cmd N/A d N/A generatePortCommand N/A N/A self portCmd N/A N/A N/A 
        (Private) Generates the text of a given PORT command.
         N/A factory N/A FTPDataPortFactory N/A N/A factory protocol N/A portCmd protocol N/A listener N/A N/A reactor listenTCP 0 factory N/A N/A factory port listener listenerFail N/A N/A error listener N/A listener N/A N/A N/A listener connected N/A N/A N/A N/A listener loseConnection N/A error N/A N/A N/A portCmd fail listenerFail N/A host N/A N/A N/A N/A self transport getHost host N/A port N/A N/A N/A listener getHost port N/A N/A portCmd text N/A PORT  N/A encodeHostPort host port N/A escapePath N/A N/A self path N/A N/A N/A 
        Returns a FTP escaped path (replace newlines with nulls).
         N/A N/A N/A path replace N/A retrieveFile N/A N/A self path protocol offset N/A 0 N/A N/A 
        Retrieve a file from the given path

        This method issues the 'RETR' FTP command.

        The file is fed into the given Protocol instance.  The data connection
        will be passive if self.passive is set.

        @param path: path to file that you wish to receive.
        @param protocol: a L{Protocol} instance.
        @param offset: offset to start downloading from

        @return: L{Deferred}
         N/A cmds N/A N/A RETR  N/A N/A self escapePath path N/A offset N/A N/A N/A N/A cmds insert 0 N/A REST  N/A str offset N/A N/A N/A self receiveFromConnection cmds protocol N/A N/A retr retrieveFile storeFile N/A N/A self path offset N/A 0 N/A N/A 
        Store a file at the given path.

        This method issues the 'STOR' FTP command.

        @return: A tuple of two L{Deferred}s:
                  - L{Deferred} L{IFinishableConsumer}. You must call
                    the C{finish} method on the IFinishableConsumer when the file
                    is completely transferred.
                  - L{Deferred} list of control-connection responses.
         N/A cmds N/A N/A STOR  N/A N/A self escapePath path N/A offset N/A N/A N/A N/A cmds insert 0 N/A REST  N/A str offset N/A N/A N/A self sendToConnection cmds N/A N/A stor storeFile rename N/A N/A self pathFrom pathTo N/A N/A N/A 
        Rename a file.

        This method issues the I{RNFR}/I{RNTO} command sequence to rename
        C{pathFrom} to C{pathTo}.

        @param: pathFrom: the absolute path to the file to be renamed
        @type pathFrom: C{str}

        @param: pathTo: the absolute path to rename the file to.
        @type pathTo: C{str}

        @return: A L{Deferred} which fires when the rename operation has
            succeeded or failed.  If it succeeds, the L{Deferred} is called
            back with a two-tuple of lists.  The first list contains the
            responses to the I{RNFR} command.  The second list contains the
            responses to the I{RNTO} command.  If either I{RNFR} or I{RNTO}
            fails, the L{Deferred} is errbacked with L{CommandFailed} or
            L{BadResponse}.
        @rtype: L{Deferred}

        @since: 8.2
         N/A renameFrom N/A N/A self queueStringCommand N/A RNFR  N/A N/A self escapePath pathFrom N/A renameTo N/A N/A self queueStringCommand N/A RNTO  N/A N/A self escapePath pathTo N/A fromResponse N/A N/A result N/A N/A defer Deferred N/A N/A N/A result addCallback N/A N/A N/A toResponse N/A N/A fromResponse toResponse ebFrom N/A N/A failure N/A N/A N/A N/A N/A self popCommandQueue N/A N/A N/A result errback failure N/A N/A N/A N/A renameFrom addCallbacks N/A fromResponse extend ebFrom N/A N/A N/A renameTo chainDeferred result N/A result N/A list N/A N/A self path protocol N/A N/A N/A 
        Retrieve a file listing into the given protocol instance.

        This method issues the 'LIST' FTP command.

        @param path: path to get a file listing for.
        @param protocol: a L{Protocol} instance, probably a
            L{FTPFileListProtocol} instance.  It can cope with most common file
            listing formats.

        @return: L{Deferred}
         N/A N/A path None N/A N/A path N/A N/A N/A self receiveFromConnection N/A N/A LIST  N/A N/A self escapePath path protocol N/A nlst N/A N/A self path protocol N/A N/A N/A 
        Retrieve a short file listing into the given protocol instance.

        This method issues the 'NLST' FTP command.

        NLST (should) return a list of filenames, one per line.

        @param path: path to get short file listing for.
        @param protocol: a L{Protocol} instance.
         N/A N/A path None N/A N/A path N/A N/A N/A self receiveFromConnection N/A N/A NLST  N/A N/A self escapePath path protocol N/A cwd N/A N/A self path N/A N/A N/A 
        Issues the CWD (Change Working Directory) command.

        @return: a L{Deferred} that will be called when done.
         N/A N/A N/A self queueStringCommand N/A CWD  N/A N/A self escapePath path N/A makeDirectory N/A N/A self path N/A N/A N/A 
        Make a directory

        This method issues the MKD command.

        @param path: The path to the directory to create.
        @type path: C{str}

        @return: A L{Deferred} which fires when the server responds.  If the
            directory is created, the L{Deferred} is called back with the
            server response.  If the server response indicates the directory
            was not created, the L{Deferred} is errbacked with a L{Failure}
            wrapping L{CommandFailed} or L{BadResponse}.
        @rtype: L{Deferred}

        @since: 8.2
         N/A N/A N/A self queueStringCommand N/A MKD  N/A N/A self escapePath path N/A removeFile N/A N/A self path N/A N/A N/A 
        Delete a file on the server.

        L{removeFile} issues a I{DELE} command to the server to remove the
        indicated file.  Note that this command cannot remove a directory.

        @param path: The path to the file to delete. May be relative to the
            current dir.
        @type path: C{str}

        @return: A L{Deferred} which fires when the server responds.  On error,
            it is errbacked with either L{CommandFailed} or L{BadResponse}.  On
            success, it is called back with a list of response lines.
        @rtype: L{Deferred}

        @since: 8.2
         N/A N/A N/A self queueStringCommand N/A DELE  N/A N/A self escapePath path N/A removeDirectory N/A N/A self path N/A N/A N/A 
        Delete a directory on the server.

        L{removeDirectory} issues a I{RMD} command to the server to remove the
        indicated directory. Described in RFC959.

        @param path: The path to the directory to delete. May be relative to
            the current working directory.
        @type path: C{str}

        @return: A L{Deferred} which fires when the server responds. On error,
            it is errbacked with either L{CommandFailed} or L{BadResponse}. On
            success, it is called back with a list of response lines.
        @rtype: L{Deferred}

        @since: 11.1
         N/A N/A N/A self queueStringCommand N/A RMD  N/A N/A self escapePath path N/A cdup N/A N/A self N/A N/A N/A 
        Issues the CDUP (Change Directory UP) command.

        @return: a L{Deferred} that will be called when done.
         N/A N/A N/A self queueStringCommand CDUP N/A pwd N/A N/A self N/A N/A N/A 
        Issues the PWD (Print Working Directory) command.

        The L{getDirectory} does the same job but automatically parses the
        result.

        @return: a L{Deferred} that will be called when done.  It is up to the
            caller to interpret the response, but the L{parsePWDResponse} method
            in this module should work.
         N/A N/A N/A self queueStringCommand PWD N/A getDirectory N/A N/A self N/A N/A N/A 
        Returns the current remote directory.

        @return: a L{Deferred} that will be called back with a C{str} giving
            the remote directory or which will errback with L{CommandFailed}
            if an error response is returned.
         cbParse N/A N/A result N/A N/A N/A N/A N/A N/A N/A int N/A N/A N/A N/A result N/A 0 split 1 N/A 0 257 N/A N/A ValueError N/A N/A N/A N/A IndexError ValueError N/A N/A N/A N/A failure Failure N/A CommandFailed result N/A path N/A parsePWDResponse N/A result N/A 0 N/A N/A path None N/A N/A N/A N/A failure Failure N/A CommandFailed result N/A path N/A N/A N/A N/A N/A N/A self pwd addCallback cbParse N/A quit N/A N/A self N/A N/A N/A 
        Issues the I{QUIT} command.

        @return: A L{Deferred} that fires when the server acknowledges the
            I{QUIT} command.  The transport should not be disconnected until
            this L{Deferred} fires.
         N/A N/A N/A self queueStringCommand QUIT N/A N/A FTPFileListProtocol N/A N/A basic LineReceiver N/A N/A 
    Parser for standard FTP file listings

    This is the evil required to match::

        -rw-r--r--   1 root     other        531 Jan 29 03:26 README

    If you need different evil for a wacky FTP server, you can
    override either C{fileLinePattern} or C{parseDirectoryLine()}.

    It populates the instance attribute self.files, which is a list containing
    dicts with the following keys (examples from the above line):
        - filetype:   e.g. 'd' for directories, or '-' for an ordinary file
        - perms:      e.g. 'rw-r--r--'
        - nlinks:     e.g. 1
        - owner:      e.g. 'root'
        - group:      e.g. 'other'
        - size:       e.g. 531
        - date:       e.g. 'Jan 29 03:26'
        - filename:   e.g. 'README'
        - linktarget: e.g. 'some/file'

    Note that the 'date' value will be formatted differently depending on the
    date.  Check U{http://cr.yp.to/ftp.html} if you really want to try to parse
    it.

    It also matches the following::
        -rw-r--r--   1 root     other        531 Jan 29 03:26 I HAVE\ SPACE
           - filename:   e.g. 'I HAVE SPACE'

        -rw-r--r--   1 root     other        531 Jan 29 03:26 LINK -> TARGET
           - filename:   e.g. 'LINK'
           - linktarget: e.g. 'TARGET'

        -rw-r--r--   1 root     other        531 Jan 29 03:26 N S -> L S
           - filename:   e.g. 'N S'
           - linktarget: e.g. 'L S'

    @ivar files: list of dicts describing the files in this listing
     N/A fileLinePattern N/A N/A re compile ^(?P<filetype>.)(?P<perms>.{9})\s+(?P<nlinks>\d*)\s*(?P<owner>\S+)\s+(?P<group>\S+)\s+(?P<size>\d+)\s+(?P<date>...\s+\d+\s+[\d:]+)\s+(?P<filename>.{1,}?)( -> (?P<linktarget>[^\r]*))?\r?$ N/A delimiter __init__ N/A N/A self N/A N/A N/A N/A self files N/A N/A lineReceived N/A N/A self line N/A N/A N/A d N/A N/A self parseDirectoryLine line N/A N/A d None N/A N/A N/A N/A self unknownLine line N/A N/A N/A N/A self addFile d N/A parseDirectoryLine N/A N/A self line N/A N/A N/A 
        Return a dictionary of fields, or None if line cannot be parsed.

        @param line: line of text expected to contain a directory entry
        @type line: str

        @return: dict
         N/A match N/A N/A N/A self fileLinePattern match line N/A N/A match None N/A N/A None N/A N/A d N/A N/A match groupdict N/A N/A d N/A filename N/A N/A N/A d N/A filename replace \  N/A N/A d N/A nlinks N/A int N/A d N/A nlinks N/A N/A d N/A size N/A int N/A d N/A size N/A N/A d N/A linktarget N/A N/A N/A d N/A linktarget N/A N/A N/A d N/A linktarget replace \  N/A d N/A addFile N/A N/A self info N/A N/A N/A 
        Append file information dictionary to the list of known files.

        Subclasses can override or extend this method to handle file
        information differently without affecting the parsing of data
        from the server.

        @param info: dictionary containing the parsed representation
                     of the file information
        @type info: dict
         N/A N/A N/A N/A self files append info N/A unknownLine N/A N/A self line N/A N/A N/A 
        Deal with received lines which could not be parsed as file
        information.

        Subclasses can override this to perform any special processing
        needed.

        @param line: unparsable line as received
        @type line: str
         N/A N/A N/A parsePWDResponse N/A N/A response N/A N/A N/A 
    Returns the path from a response to a PWD command.

    Responses typically look like::

        257 "/home/andrew" is current directory.

    For this example, I will return C{'/home/andrew'}.

    If I can't find the path, I return C{None}.
     N/A match N/A N/A re search "(.*)" response N/A match N/A N/A N/A N/A N/A match groups N/A 0 N/A N/A None N/A