Module Expr Str Assign NameStore Str Import alias alias alias alias alias alias alias Assign NameStore ListLoad Str Str Str Str Str Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore TupleLoad Str Str Assign NameStore Dict 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 TupleLoad Str Str TupleLoad Str TupleLoad Str Str Str Str TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str TupleLoad Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str TupleLoad Str Str Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Str Str TupleLoad Str TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases body Expr Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str If NameLoad body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str orelse If CompareIn Str AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str orelse Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad ListLoad NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr For NameStore NameLoad body If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Continue Assign AttributeStore NameLoad attr NameLoad Return Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad NameLoad body Return Call NameLoad NameLoad Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr 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 defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str ListLoad NameLoad NameLoad If SubscriptLoad NameLoad Index Num body Return TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str If UnaryOpNot NameLoad body Assign NameStore Str If NameLoad body If CompareNotEq TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num TupleLoad Str Str body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad Call NameLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq NameLoad Str body Raise Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad 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 TryFinally body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str finalbody Assign AttributeStore NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Return TupleLoad NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Str body Raise Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Import alias Return BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Assign TupleStore NameStore NameStore TupleLoad Str ListLoad BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Return TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Assign NameStore Str If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq NameLoad Str body Assign AttributeStore NameLoad attr Str Return TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Str If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr UnaryOpNot NameLoad body If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Expr Str Assign NameStore Str If CompareNotEq TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num TupleLoad Str Str body Assign NameStore BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotEq TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num TupleLoad Str Str body Assign NameStore BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareNotIn AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIn NameLoad TupleLoad Str Str body Assign NameStore NameLoad orelse Assign NameStore Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad TupleLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Raise Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If CompareNotIn AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Assign AttributeStore NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index NameLoad For NameStore TupleLoad Str Str Str body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body Continue Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIs Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareIs NameLoad NameLoad body Return NameLoad While Num body While Call AttributeLoad NameLoad attr body If SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Return NameLoad If NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If UnaryOpNot NameLoad body Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad ListLoad NameLoad orelse Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Assign NameStore Str If NameLoad body Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad While Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIn NameLoad TupleLoad Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body If BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num CompareIn NameLoad TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body While Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIsNot NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Raise decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice Num If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Return CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot Call NameLoad NameLoad Call NameLoad Str body Return NameLoad If BoolOpAnd CompareGtE Call NameLoad NameLoad Num CompareIn TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num TupleLoad TupleLoad Str Str TupleLoad Str Str body Return NameLoad If BoolOpAnd NameLoad CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Return TupleLoad NameLoad NameLoad If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Return TupleLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list If NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad BinOpMod BinOpMult NameLoad Num Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Assign NameStore Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num BoolOpOr BoolOpAnd SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr While NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler body Pass AugAssignAdd NameStore Num If CompareGtE NameLoad AttributeLoad NameLoad attr body Assign NameStore Num AugAssignSub NameStore Num decorator_list decorator_list TryExcept body Import alias handlers ExceptHandler type NameLoad body Pass orelse ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad BinOpSub NameLoad NameLoad Num AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad While Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad While CompareGt NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad NameLoad body Break Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore BinOpSub 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 Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str While NameLoad body If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num Num Num Num FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMult BinOpAdd BinOpMult NameLoad Num NameLoad Num If CompareEq NameLoad Str body Assign NameStore UnaryOpUSub NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad Call NameLoad NameLoad While NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return TupleLoad Return Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num TupleLoad Str Str body Return NameLoad orelse Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd Str SubscriptLoad NameLoad Slice Num If BoolOpAnd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Assign NameStore UnaryOpUSub AttributeLoad NameLoad attr orelse Assign NameStore UnaryOpUSub AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd BinOpAdd Str NameLoad BinOpMod Str Call NameLoad BinOpFloorDiv NameLoad Num Num Str decorator_list If CompareEq NameLoad Str body Import alias alias TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore TupleLoad TupleLoad TupleLoad Assign NameStore NameLoad For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore TupleLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore TupleLoad Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad BoolOpOr NameLoad Str Assign NameStore BinOpMod Str Dict Str Str NameLoad Str Assign NameStore TupleLoad TupleLoad Str TupleLoad NameLoad NameLoad TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str NameLoad NameLoad NameLoad TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad NameLoad Str Str TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str Str Str TupleLoad Str TupleLoad TupleLoad Str TupleLoad TupleLoad Str TupleLoad TupleLoad Str TupleLoad Assign NameStore TupleLoad TupleLoad Str TupleLoad TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str Str TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad NameLoad NameLoad NameLoad NameLoad TupleLoad Str TupleLoad TupleLoad Str TupleLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Raise SubscriptLoad NameLoad Index Num Return NameLoad decorator_list TryExcept body If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Str TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call NameLoad Str TupleLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotEq TupleLoad NameLoad NameLoad TupleLoad Str TupleLoad Str Str body Continue Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr If UnaryOpNot NameLoad body Continue Expr Call NameLoad Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str Print Str handlers ExceptHandler body Print Str If UnaryOpNot NameLoad body Print BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Raise
N/A N/A IMAP4 client.

Based on RFC 2060.

Public class:           IMAP4
Public variable:        Debug
Public functions:       Internaldate2tuple
                        Int2AP
                        ParseFlags
                        Time2Internaldate
 N/A __version__ 2.58 N/A binascii os random re socket sys time N/A __all__ N/A IMAP4 IMAP4_stream Internaldate2tuple Int2AP ParseFlags Time2Internaldate N/A CRLF N/A Debug 0 N/A IMAP4_PORT 143 N/A IMAP4_SSL_PORT 993 N/A AllowedVersions N/A IMAP4REV1 IMAP4 N/A Commands N/A APPEND AUTHENTICATE CAPABILITY CHECK CLOSE COPY CREATE DELETE DELETEACL EXAMINE EXPUNGE FETCH GETACL GETANNOTATION GETQUOTA GETQUOTAROOT MYRIGHTS LIST LOGIN LOGOUT LSUB NAMESPACE NOOP PARTIAL PROXYAUTH RENAME SEARCH SELECT SETACL SETANNOTATION SETQUOTA SORT STATUS STORE SUBSCRIBE THREAD UID UNSUBSCRIBE N/A AUTH SELECTED N/A NONAUTH N/A NONAUTH AUTH SELECTED LOGOUT N/A SELECTED N/A SELECTED N/A SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A SELECTED N/A SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A NONAUTH N/A NONAUTH AUTH SELECTED LOGOUT N/A AUTH SELECTED N/A AUTH SELECTED N/A NONAUTH AUTH SELECTED LOGOUT N/A SELECTED N/A AUTH N/A AUTH SELECTED N/A SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A AUTH SELECTED N/A SELECTED N/A AUTH SELECTED N/A SELECTED N/A AUTH SELECTED N/A SELECTED N/A SELECTED N/A AUTH SELECTED N/A Continuation N/A N/A re compile \+( (?P<data>.*))? N/A Flags N/A N/A re compile .*FLAGS \((?P<flags>[^\)]*)\) N/A InternalDate N/A N/A re compile .*INTERNALDATE "(?P<day>[ 0123][0-9])-(?P<mon>[A-Z][a-z][a-z])-(?P<year>[0-9][0-9][0-9][0-9]) (?P<hour>[0-9][0-9]):(?P<min>[0-9][0-9]):(?P<sec>[0-9][0-9]) (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])" N/A Literal N/A N/A re compile .*{(?P<size>\d+)}$ N/A MapCRLF N/A N/A re compile \r\n|\r|\n N/A Response_code N/A N/A re compile \[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\] N/A Untagged_response N/A N/A re compile \* (?P<type>[A-Z-]+)( (?P<data>.*))? N/A Untagged_status N/A N/A re compile \* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))? IMAP4 N/A N/A N/A IMAP4 client class.

    Instantiate with: IMAP4([host[, port]])

            host - host's name (default: localhost);
            port - port number (default: standard IMAP4 port).

    All IMAP4rev1 commands are supported by methods of the same
    name (in lower-case).

    All arguments to commands are converted to strings, except for
    AUTHENTICATE, and the last argument to APPEND which is passed as
    an IMAP4 literal.  If necessary (the string contains any
    non-printing characters or white-space and isn't enclosed with
    either parentheses or double quotes) each string is quoted.
    However, the 'password' argument to the LOGIN command is always
    quoted.  If you want to avoid having an argument string quoted
    (eg: the 'flags' argument to STORE) then enclose the string in
    parentheses (eg: "(\Deleted)").

    Each command returns a tuple: (type, [data, ...]) where 'type'
    is usually 'OK' or 'NO', and 'data' is either the text from the
    tagged response, or untagged results from command. Each 'data'
    is either a string, or a tuple. If a tuple, then the first part
    is the header of the response, and the second part contains
    the data (ie: 'literal' value).

    Errors raise the exception class <instance>.error("<reason>").
    IMAP4 server errors raise <instance>.abort("<reason>"),
    which is a sub-class of 'error'. Mailbox status changes
    from READ-WRITE to READ-ONLY raise the exception class
    <instance>.readonly("<reason>"), which is a sub-class of 'abort'.

    "error" exceptions imply a program error.
    "abort" exceptions imply the connection should be reset, and
            the command re-tried.
    "readonly" exceptions imply the command should be re-tried.

    Note: to use this module, you must read the RFCs pertaining to the
    IMAP4 protocol, as the semantics of the arguments to each IMAP4
    command are left to the invoker, not to mention the results. Also,
    most IMAP servers implement a sub-set of the commands available here.
     error N/A Exception N/A N/A N/A abort N/A error N/A N/A N/A readonly N/A abort N/A N/A N/A N/A mustquote N/A N/A re compile [^\w!#$%&'*+,.:;<=>?^`|~-] __init__ N/A N/A self host port N/A IMAP4_PORT N/A N/A N/A self debug Debug N/A N/A self state LOGOUT N/A N/A self literal None N/A N/A self tagged_commands N/A N/A N/A self untagged_responses N/A N/A N/A self continuation_response N/A N/A self is_readonly False N/A N/A self tagnum 0 N/A N/A N/A self open host port N/A N/A self tagpre N/A Int2AP N/A N/A random randint 4096 65535 N/A N/A self tagre N/A N/A re compile N/A N/A (?P<tag> N/A self tagpre \d+) (?P<type>[A-Z]+) (?P<data>.*) N/A __debug__ N/A N/A N/A self _cmd_log_len 10 N/A N/A self _cmd_log_idx 0 N/A N/A self _cmd_log N/A N/A N/A N/A self debug 1 N/A N/A N/A N/A self _mesg N/A imaplib version %s __version__ N/A N/A N/A self _mesg N/A new IMAP4 connection, tag=%s N/A self tagpre N/A N/A self welcome N/A N/A self _get_response N/A N/A PREAUTH N/A self untagged_responses N/A N/A N/A self state AUTH N/A N/A N/A OK N/A self untagged_responses N/A N/A N/A self state NONAUTH N/A N/A N/A N/A self error N/A self welcome N/A N/A typ dat N/A N/A self capability N/A N/A dat N/A None N/A N/A N/A N/A self error no CAPABILITY response from server N/A N/A self capabilities N/A tuple N/A N/A N/A N/A N/A dat N/A -1 upper split N/A __debug__ N/A N/A N/A N/A self debug 3 N/A N/A N/A N/A self _mesg N/A CAPABILITIES: %r N/A N/A self capabilities N/A version AllowedVersions N/A N/A N/A N/A version N/A self capabilities N/A N/A N/A N/A self PROTOCOL_VERSION version N/A N/A N/A N/A self error server not IMAP4 compliant N/A __getattr__ N/A N/A self attr N/A N/A N/A N/A attr Commands N/A N/A N/A getattr self N/A N/A attr lower N/A N/A AttributeError N/A Unknown IMAP4 command: '%s' attr N/A open N/A N/A self host port N/A IMAP4_PORT N/A N/A Setup connection to remote server on "host:port"
            (default: localhost:standard IMAP4 port).
        This connection will be used by the routines:
            read, readline, send, shutdown.
         N/A N/A self host host N/A N/A self port port N/A N/A self sock N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A N/A self sock connect N/A host port N/A N/A self file N/A N/A N/A self sock makefile rb N/A read N/A N/A self size N/A N/A N/A Read 'size' bytes from remote. N/A N/A N/A N/A self file read size N/A readline N/A N/A self N/A N/A N/A Read line from remote. N/A N/A N/A N/A self file readline N/A send N/A N/A self data N/A N/A N/A Send data to remote. N/A N/A N/A N/A self sock sendall data N/A shutdown N/A N/A self N/A N/A N/A Close I/O established in "open". N/A N/A N/A N/A self file close N/A N/A N/A N/A self sock close N/A socket N/A N/A self N/A N/A N/A Return socket instance used to connect to IMAP4 server.

        socket = <instance>.socket()
         N/A N/A self sock N/A recent N/A N/A self N/A N/A N/A Return most recent 'RECENT' responses if any exist,
        else prompt server for an update using the 'NOOP' command.

        (typ, [data]) = <instance>.recent()

        'data' is None if no new messages,
        else list of RECENT responses, most recent last.
         N/A name RECENT N/A N/A typ dat N/A N/A self _untagged_response OK N/A None name N/A N/A dat N/A -1 N/A N/A N/A typ dat N/A N/A typ dat N/A N/A self noop N/A N/A N/A self _untagged_response typ dat name N/A response N/A N/A self code N/A N/A N/A Return data for response 'code' if received, or None.

        Old value for response 'code' is cleared.

        (code, [data]) = <instance>.response(code)
         N/A N/A N/A self _untagged_response code N/A None N/A N/A code upper N/A append N/A N/A self mailbox flags date_time message N/A N/A N/A Append message to named mailbox.

        (typ, [data]) = <instance>.append(mailbox, flags, date_time, message)

                All args except `message' can be None.
         N/A name APPEND N/A N/A mailbox N/A N/A mailbox INBOX N/A flags N/A N/A N/A N/A N/A flags N/A 0 N/A flags N/A -1 N/A ( ) N/A N/A flags N/A (%s) flags N/A N/A flags None N/A date_time N/A N/A date_time N/A Time2Internaldate date_time N/A N/A date_time None N/A N/A self literal N/A N/A MapCRLF sub CRLF message N/A N/A N/A self _simple_command name mailbox flags date_time N/A authenticate N/A N/A self mechanism authobject N/A N/A N/A Authenticate command - requires response processing.

        'mechanism' specifies which authentication mechanism is to
        be used - it must appear in <instance>.capabilities in the
        form AUTH=<mechanism>.

        'authobject' must be a callable object:

                data = authobject(response)

        It will be called to process server continuation responses.
        It should return data that will be encoded and sent to server.
        It should return None if the client abort response '*' should
        be sent instead.
         N/A mech N/A N/A mechanism upper N/A N/A self literal N/A N/A _Authenticator authobject process N/A N/A typ dat N/A N/A self _simple_command AUTHENTICATE mech N/A N/A typ OK N/A N/A N/A N/A self error N/A dat N/A -1 N/A N/A self state AUTH N/A N/A typ dat N/A capability N/A N/A self N/A N/A N/A (typ, [data]) = <instance>.capability()
        Fetch capabilities list from server. N/A name CAPABILITY N/A N/A typ dat N/A N/A self _simple_command name N/A N/A N/A self _untagged_response typ dat name N/A check N/A N/A self N/A N/A N/A Checkpoint mailbox on server.

        (typ, [data]) = <instance>.check()
         N/A N/A N/A self _simple_command CHECK N/A close N/A N/A self N/A N/A N/A Close currently selected mailbox.

        Deleted messages are removed from writable mailbox.
        This is the recommended command before 'LOGOUT'.

        (typ, [data]) = <instance>.close()
         N/A N/A N/A N/A typ dat N/A N/A self _simple_command CLOSE N/A N/A N/A self state AUTH N/A N/A typ dat N/A copy N/A N/A self message_set new_mailbox N/A N/A N/A Copy 'message_set' messages onto end of 'new_mailbox'.

        (typ, [data]) = <instance>.copy(message_set, new_mailbox)
         N/A N/A N/A self _simple_command COPY message_set new_mailbox N/A create N/A N/A self mailbox N/A N/A N/A Create new mailbox.

        (typ, [data]) = <instance>.create(mailbox)
         N/A N/A N/A self _simple_command CREATE mailbox N/A delete N/A N/A self mailbox N/A N/A N/A Delete old mailbox.

        (typ, [data]) = <instance>.delete(mailbox)
         N/A N/A N/A self _simple_command DELETE mailbox N/A deleteacl N/A N/A self mailbox who N/A N/A N/A Delete the ACLs (remove any rights) set for who on mailbox.

        (typ, [data]) = <instance>.deleteacl(mailbox, who)
         N/A N/A N/A self _simple_command DELETEACL mailbox who N/A expunge N/A N/A self N/A N/A N/A Permanently remove deleted items from selected mailbox.

        Generates 'EXPUNGE' response for each deleted message.

        (typ, [data]) = <instance>.expunge()

        'data' is list of 'EXPUNGE'd message numbers in order received.
         N/A name EXPUNGE N/A N/A typ dat N/A N/A self _simple_command name N/A N/A N/A self _untagged_response typ dat name N/A fetch N/A N/A self message_set message_parts N/A N/A N/A Fetch (parts of) messages.

        (typ, [data, ...]) = <instance>.fetch(message_set, message_parts)

        'message_parts' should be a string of selected parts
        enclosed in parentheses, eg: "(UID BODY[TEXT])".

        'data' are tuples of message part envelope and data.
         N/A name FETCH N/A N/A typ dat N/A N/A self _simple_command name message_set message_parts N/A N/A N/A self _untagged_response typ dat name N/A getacl N/A N/A self mailbox N/A N/A N/A Get the ACLs for a mailbox.

        (typ, [data]) = <instance>.getacl(mailbox)
         N/A N/A typ dat N/A N/A self _simple_command GETACL mailbox N/A N/A N/A self _untagged_response typ dat ACL N/A getannotation N/A N/A self mailbox entry attribute N/A N/A N/A (typ, [data]) = <instance>.getannotation(mailbox, entry, attribute)
        Retrieve ANNOTATIONs. N/A N/A typ dat N/A N/A self _simple_command GETANNOTATION mailbox entry attribute N/A N/A N/A self _untagged_response typ dat ANNOTATION N/A getquota N/A N/A self root N/A N/A N/A Get the quota root's resource usage and limits.

        Part of the IMAP4 QUOTA extension defined in rfc2087.

        (typ, [data]) = <instance>.getquota(root)
         N/A N/A typ dat N/A N/A self _simple_command GETQUOTA root N/A N/A N/A self _untagged_response typ dat QUOTA N/A getquotaroot N/A N/A self mailbox N/A N/A N/A Get the list of quota roots for the named mailbox.

        (typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
         N/A N/A typ dat N/A N/A self _simple_command GETQUOTAROOT mailbox N/A N/A typ quota N/A N/A self _untagged_response typ dat QUOTA N/A N/A typ quotaroot N/A N/A self _untagged_response typ dat QUOTAROOT N/A N/A typ N/A quotaroot quota N/A list N/A N/A self directory pattern N/A "" * N/A N/A List mailbox names in directory matching pattern.

        (typ, [data]) = <instance>.list(directory='""', pattern='*')

        'data' is list of LIST responses.
         N/A name LIST N/A N/A typ dat N/A N/A self _simple_command name directory pattern N/A N/A N/A self _untagged_response typ dat name N/A login N/A N/A self user password N/A N/A N/A Identify client using plaintext password.

        (typ, [data]) = <instance>.login(user, password)

        NB: 'password' will be quoted.
         N/A N/A typ dat N/A N/A self _simple_command LOGIN user N/A N/A self _quote password N/A N/A typ OK N/A N/A N/A N/A self error N/A dat N/A -1 N/A N/A self state AUTH N/A N/A typ dat N/A login_cram_md5 N/A N/A self user password N/A N/A N/A  Force use of CRAM-MD5 authentication.

        (typ, [data]) = <instance>.login_cram_md5(user, password)
         N/A N/A N/A self user N/A self password N/A user password N/A N/A N/A self authenticate CRAM-MD5 N/A self _CRAM_MD5_AUTH N/A _CRAM_MD5_AUTH N/A N/A self challenge N/A N/A N/A  Authobject to use with CRAM-MD5 authentication.  N/A hmac N/A N/A N/A N/A self user N/A N/A N/A N/A hmac HMAC N/A self password challenge hexdigest N/A logout N/A N/A self N/A N/A N/A Shutdown connection to server.

        (typ, [data]) = <instance>.logout()

        Returns server 'BYE' response.
         N/A N/A self state LOGOUT N/A N/A N/A N/A typ dat N/A N/A self _simple_command LOGOUT N/A N/A N/A N/A N/A typ dat N/A NO N/A N/A %s: %s N/A N/A N/A sys exc_info N/A 2 N/A N/A N/A self shutdown N/A N/A BYE N/A self untagged_responses N/A N/A N/A BYE N/A N/A self untagged_responses N/A BYE N/A N/A typ dat N/A lsub N/A N/A self directory pattern N/A "" * N/A N/A List 'subscribed' mailbox names in directory matching pattern.

        (typ, [data, ...]) = <instance>.lsub(directory='""', pattern='*')

        'data' are tuples of message part envelope and data.
         N/A name LSUB N/A N/A typ dat N/A N/A self _simple_command name directory pattern N/A N/A N/A self _untagged_response typ dat name N/A myrights N/A N/A self mailbox N/A N/A N/A Show my ACLs for a mailbox (i.e. the rights that I have on mailbox).

        (typ, [data]) = <instance>.myrights(mailbox)
         N/A N/A typ dat N/A N/A self _simple_command MYRIGHTS mailbox N/A N/A N/A self _untagged_response typ dat MYRIGHTS N/A namespace N/A N/A self N/A N/A N/A  Returns IMAP namespaces ala rfc2342

        (typ, [data, ...]) = <instance>.namespace()
         N/A name NAMESPACE N/A N/A typ dat N/A N/A self _simple_command name N/A N/A N/A self _untagged_response typ dat name N/A noop N/A N/A self N/A N/A N/A Send NOOP command.

        (typ, [data]) = <instance>.noop()
         N/A __debug__ N/A N/A N/A N/A self debug 3 N/A N/A N/A N/A self _dump_ur N/A self untagged_responses N/A N/A N/A self _simple_command NOOP N/A partial N/A N/A self message_num message_part start length N/A N/A N/A Fetch truncated part of a message.

        (typ, [data, ...]) = <instance>.partial(message_num, message_part, start, length)

        'data' is tuple of message part envelope and data.
         N/A name PARTIAL N/A N/A typ dat N/A N/A self _simple_command name message_num message_part start length N/A N/A N/A self _untagged_response typ dat FETCH N/A proxyauth N/A N/A self user N/A N/A N/A Assume authentication as "user".

        Allows an authorised administrator to proxy into any user's
        mailbox.

        (typ, [data]) = <instance>.proxyauth(user)
         N/A name PROXYAUTH N/A N/A N/A self _simple_command PROXYAUTH user N/A rename N/A N/A self oldmailbox newmailbox N/A N/A N/A Rename old mailbox name to new.

        (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
         N/A N/A N/A self _simple_command RENAME oldmailbox newmailbox N/A search N/A N/A self charset N/A criteria N/A N/A Search mailbox for matching messages.

        (typ, [data]) = <instance>.search(charset, criterion, ...)

        'data' is space separated list of matching message numbers.
         N/A name SEARCH N/A charset N/A N/A N/A typ dat N/A N/A self _simple_command name CHARSET charset criteria N/A N/A N/A typ dat N/A N/A self _simple_command name criteria N/A N/A N/A self _untagged_response typ dat name N/A select N/A N/A self mailbox readonly N/A INBOX False N/A N/A Select a mailbox.

        Flush all untagged responses.

        (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False)

        'data' is count of messages in mailbox ('EXISTS' response).

        Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY'), so
        other responses should be obtained via <instance>.response('FLAGS') etc.
         N/A N/A self untagged_responses N/A N/A N/A self is_readonly readonly N/A readonly N/A N/A name EXAMINE N/A N/A name SELECT N/A N/A typ dat N/A N/A self _simple_command name mailbox N/A N/A typ OK N/A N/A N/A self state AUTH N/A N/A typ dat N/A N/A self state SELECTED N/A N/A N/A READ-ONLY N/A self untagged_responses N/A readonly N/A N/A __debug__ N/A N/A N/A N/A self debug 1 N/A N/A N/A N/A self _dump_ur N/A self untagged_responses N/A N/A N/A self readonly N/A %s is not writable mailbox N/A N/A typ N/A N/A N/A self untagged_responses get EXISTS N/A None N/A setacl N/A N/A self mailbox who what N/A N/A N/A Set a mailbox acl.

        (typ, [data]) = <instance>.setacl(mailbox, who, what)
         N/A N/A N/A self _simple_command SETACL mailbox who what N/A setannotation N/A N/A self N/A args N/A N/A (typ, [data]) = <instance>.setannotation(mailbox[, entry, attribute]+)
        Set ANNOTATIONs. N/A N/A typ dat N/A N/A self _simple_command SETANNOTATION args N/A N/A N/A self _untagged_response typ dat ANNOTATION N/A setquota N/A N/A self root limits N/A N/A N/A Set the quota root's resource limits.

        (typ, [data]) = <instance>.setquota(root, limits)
         N/A N/A typ dat N/A N/A self _simple_command SETQUOTA root limits N/A N/A N/A self _untagged_response typ dat QUOTA N/A sort N/A N/A self sort_criteria charset N/A search_criteria N/A N/A IMAP4rev1 extension SORT command.

        (typ, [data]) = <instance>.sort(sort_criteria, charset, search_criteria, ...)
         N/A name SORT N/A N/A N/A N/A sort_criteria N/A 0 N/A sort_criteria N/A -1 N/A ( ) N/A N/A sort_criteria N/A (%s) sort_criteria N/A N/A typ dat N/A N/A self _simple_command name sort_criteria charset search_criteria N/A N/A N/A self _untagged_response typ dat name N/A status N/A N/A self mailbox names N/A N/A N/A Request named status conditions for mailbox.

        (typ, [data]) = <instance>.status(mailbox, names)
         N/A name STATUS N/A N/A typ dat N/A N/A self _simple_command name mailbox names N/A N/A N/A self _untagged_response typ dat name N/A store N/A N/A self message_set command flags N/A N/A N/A Alters flag dispositions for messages in mailbox.

        (typ, [data]) = <instance>.store(message_set, command, flags)
         N/A N/A N/A N/A flags N/A 0 N/A flags N/A -1 N/A ( ) N/A N/A flags N/A (%s) flags N/A N/A typ dat N/A N/A self _simple_command STORE message_set command flags N/A N/A N/A self _untagged_response typ dat FETCH N/A subscribe N/A N/A self mailbox N/A N/A N/A Subscribe to new mailbox.

        (typ, [data]) = <instance>.subscribe(mailbox)
         N/A N/A N/A self _simple_command SUBSCRIBE mailbox N/A thread N/A N/A self threading_algorithm charset N/A search_criteria N/A N/A IMAPrev1 extension THREAD command.

        (type, [data]) = <instance>.thread(threading_alogrithm, charset, search_criteria, ...)
         N/A name THREAD N/A N/A typ dat N/A N/A self _simple_command name threading_algorithm charset search_criteria N/A N/A N/A self _untagged_response typ dat name N/A uid N/A N/A self command N/A args N/A N/A Execute "command arg ..." with messages identified by UID,
                rather than message number.

        (typ, [data]) = <instance>.uid(command, arg1, arg2, ...)

        Returns response appropriate to 'command'.
         N/A command N/A N/A command upper N/A N/A N/A command Commands N/A N/A N/A N/A self error N/A Unknown IMAP4 UID command: %s command N/A N/A N/A self state N/A Commands N/A command N/A N/A N/A N/A self error N/A command %s illegal in state %s, only allowed in states %s N/A command N/A self state N/A N/A ,  join N/A Commands N/A command N/A name UID N/A N/A typ dat N/A N/A self _simple_command name command args N/A N/A command N/A SEARCH SORT N/A N/A name command N/A N/A name FETCH N/A N/A N/A self _untagged_response typ dat name N/A unsubscribe N/A N/A self mailbox N/A N/A N/A Unsubscribe from old mailbox.

        (typ, [data]) = <instance>.unsubscribe(mailbox)
         N/A N/A N/A self _simple_command UNSUBSCRIBE mailbox N/A xatom N/A N/A self name N/A args N/A N/A Allow simple extension commands
                notified by server in CAPABILITY response.

        Assumes command is legal in current state.

        (typ, [data]) = <instance>.xatom(name, arg, ...)

        Returns response appropriate to extension command `name'.
         N/A name N/A N/A name upper N/A N/A N/A name Commands N/A N/A N/A Commands N/A name N/A N/A self state N/A N/A N/A self _simple_command name args N/A _append_untagged N/A N/A self typ dat N/A N/A N/A N/A dat None N/A N/A dat N/A ur N/A self untagged_responses N/A __debug__ N/A N/A N/A N/A self debug 5 N/A N/A N/A N/A self _mesg N/A untagged_responses[%s] %s += ["%s"] N/A typ N/A len N/A N/A ur get typ dat N/A N/A typ ur N/A N/A N/A N/A N/A ur N/A typ append dat N/A N/A N/A ur N/A typ N/A dat N/A _check_bye N/A N/A self N/A N/A N/A bye N/A N/A N/A self untagged_responses get BYE N/A bye N/A N/A N/A N/A self abort N/A bye N/A -1 N/A _command N/A N/A self name N/A args N/A N/A N/A N/A self state N/A Commands N/A name N/A N/A N/A self literal None N/A N/A N/A self error N/A command %s illegal in state %s, only allowed in states %s N/A name N/A self state N/A N/A ,  join N/A Commands N/A name N/A typ N/A OK NO BAD N/A N/A N/A typ N/A self untagged_responses N/A N/A N/A N/A self untagged_responses N/A typ N/A N/A N/A READ-ONLY N/A self untagged_responses N/A N/A self is_readonly N/A N/A N/A N/A self readonly mailbox status changed to READ-ONLY N/A tag N/A N/A self _new_tag N/A data N/A %s %s N/A tag name N/A arg args N/A N/A N/A arg None N/A N/A N/A data N/A %s %s N/A data N/A N/A self _checkquote arg N/A literal N/A self literal N/A N/A literal None N/A N/A N/A self literal None N/A N/A N/A type literal N/A type N/A self _command N/A N/A literator literal N/A N/A literator None N/A data N/A %s {%s} N/A data N/A len literal N/A __debug__ N/A N/A N/A N/A self debug 4 N/A N/A N/A N/A self _mesg N/A > %s data N/A N/A N/A N/A self _log N/A > %s data N/A N/A N/A N/A N/A self send N/A %s%s N/A data CRLF N/A N/A N/A N/A N/A socket error OSError N/A val N/A N/A N/A N/A self abort N/A socket error: %s val N/A N/A literal None N/A N/A tag N/A 1 N/A N/A N/A N/A self _get_response N/A N/A N/A N/A self tagged_commands N/A tag N/A N/A tag N/A literator N/A N/A literal N/A literator N/A self continuation_response N/A __debug__ N/A N/A N/A N/A self debug 4 N/A N/A N/A N/A self _mesg N/A write literal size %s N/A len literal N/A N/A N/A N/A N/A self send literal N/A N/A N/A self send CRLF N/A N/A N/A N/A N/A socket error OSError N/A val N/A N/A N/A N/A self abort N/A socket error: %s val N/A N/A literator N/A N/A N/A tag N/A _command_complete N/A N/A self name tag N/A N/A N/A N/A N/A self _check_bye N/A N/A N/A N/A typ data N/A N/A self _get_tagged_response tag N/A N/A N/A N/A self abort N/A val N/A N/A N/A N/A self abort N/A command: %s => %s N/A name val N/A N/A N/A self error N/A val N/A N/A N/A N/A self error N/A command: %s => %s N/A name val N/A N/A N/A self _check_bye N/A N/A typ BAD N/A N/A N/A N/A self error N/A %s command error: %s %s N/A name typ data N/A N/A typ data N/A _get_response N/A N/A self N/A N/A N/A resp N/A N/A self _get_line N/A N/A N/A self _match N/A self tagre resp N/A N/A tag N/A N/A N/A self mo group tag N/A N/A N/A tag N/A self tagged_commands N/A N/A N/A N/A self abort N/A unexpected tagged response: %s resp N/A typ N/A N/A N/A self mo group type N/A dat N/A N/A N/A self mo group data N/A N/A N/A self tagged_commands N/A tag N/A typ N/A dat N/A N/A dat2 None N/A N/A N/A N/A self _match Untagged_response resp N/A N/A N/A N/A self _match Untagged_status resp N/A N/A dat2 N/A N/A N/A self mo group data2 N/A N/A N/A self mo None N/A N/A N/A N/A self _match Continuation resp N/A N/A N/A self continuation_response N/A N/A N/A self mo group data N/A None N/A N/A N/A self abort N/A unexpected response: '%s' resp N/A typ N/A N/A N/A self mo group type N/A dat N/A N/A N/A self mo group data N/A N/A dat None N/A N/A dat N/A dat2 N/A N/A dat N/A N/A dat dat2 N/A N/A N/A self _match Literal dat N/A N/A size N/A int N/A N/A N/A self mo group size N/A __debug__ N/A N/A N/A N/A self debug 4 N/A N/A N/A N/A self _mesg N/A read literal size %s size N/A data N/A N/A self read size N/A N/A N/A self _append_untagged typ N/A dat data N/A dat N/A N/A self _get_line N/A N/A N/A self _append_untagged typ dat N/A N/A N/A typ N/A OK NO BAD N/A N/A self _match Response_code dat N/A N/A N/A N/A self _append_untagged N/A N/A N/A self mo group type N/A N/A N/A self mo group data N/A __debug__ N/A N/A N/A N/A N/A self debug 1 N/A typ N/A NO BAD BYE N/A N/A N/A N/A self _mesg N/A %s response: %s N/A typ dat N/A resp N/A _get_tagged_response N/A N/A self tag N/A N/A N/A 1 N/A N/A result N/A N/A self tagged_commands N/A tag N/A N/A result None N/A N/A N/A N/A self tagged_commands N/A tag N/A result N/A N/A N/A N/A N/A self _get_response N/A N/A N/A N/A self abort N/A val N/A N/A __debug__ N/A N/A N/A N/A self debug 1 N/A N/A N/A N/A self print_log N/A N/A _get_line N/A N/A self N/A N/A N/A line N/A N/A self readline N/A N/A line N/A N/A N/A N/A self abort socket error: EOF N/A line N/A line N/A -2 N/A __debug__ N/A N/A N/A N/A self debug 4 N/A N/A N/A N/A self _mesg N/A < %s line N/A N/A N/A N/A self _log N/A < %s line N/A line N/A _match N/A N/A self cre s N/A N/A N/A N/A self mo N/A N/A cre match s N/A __debug__ N/A N/A N/A N/A N/A self mo None N/A N/A self debug 5 N/A N/A N/A N/A self _mesg N/A 	matched r'%s' => %r N/A N/A cre pattern N/A N/A N/A self mo groups N/A N/A N/A self mo None N/A _new_tag N/A N/A self N/A N/A N/A tag N/A %s%s N/A N/A self tagpre N/A self tagnum N/A N/A self tagnum N/A N/A self tagnum 1 N/A N/A N/A self tagged_commands N/A tag None N/A tag N/A _checkquote N/A N/A self arg N/A N/A N/A N/A N/A type arg N/A type N/A N/A arg N/A N/A N/A N/A len arg 2 N/A N/A N/A arg N/A 0 N/A arg N/A -1 N/A N/A ( ) N/A " " N/A N/A arg N/A N/A arg N/A N/A N/A N/A self mustquote search arg None N/A N/A arg N/A N/A N/A self _quote arg N/A _quote N/A N/A self arg N/A N/A N/A arg N/A N/A arg replace \ \\ N/A arg N/A N/A arg replace " \" N/A N/A "%s" arg N/A _simple_command N/A N/A self name N/A args N/A N/A N/A N/A self _command_complete name N/A N/A self _command name args N/A _untagged_response N/A N/A self typ dat name N/A N/A N/A N/A typ NO N/A N/A N/A typ dat N/A N/A N/A name N/A self untagged_responses N/A N/A N/A typ N/A None N/A data N/A N/A N/A self untagged_responses pop name N/A __debug__ N/A N/A N/A N/A self debug 5 N/A N/A N/A N/A self _mesg N/A untagged_responses[%s] => %s N/A name data N/A N/A typ data N/A N/A __debug__ N/A _mesg N/A N/A self s secs N/A None N/A N/A N/A secs None N/A N/A secs N/A N/A time time N/A tm N/A N/A time strftime %M:%S N/A N/A time localtime secs N/A N/A N/A N/A sys stderr write N/A   %s.%02d %s
 N/A tm N/A N/A secs 100 100 s N/A N/A N/A N/A sys stderr flush N/A _dump_ur N/A N/A self dict N/A N/A N/A l N/A N/A dict items N/A N/A l N/A N/A N/A t N/A l N/A map N/A N/A N/A x N/A N/A %s: "%s" N/A N/A x N/A 0 N/A N/A N/A N/A x N/A 1 N/A 0 N/A N/A " " join N/A x N/A 1 l N/A N/A N/A self _mesg N/A untagged responses dump:%s%s N/A t N/A N/A t join l N/A _log N/A N/A self line N/A N/A N/A N/A N/A self _cmd_log N/A N/A self _cmd_log_idx N/A line N/A N/A time time N/A N/A self _cmd_log_idx 1 N/A N/A N/A self _cmd_log_idx N/A self _cmd_log_len N/A N/A N/A self _cmd_log_idx 0 N/A print_log N/A N/A self N/A N/A N/A N/A N/A self _mesg N/A last %d IMAP4 interactions: N/A len N/A self _cmd_log N/A N/A i n N/A N/A self _cmd_log_idx N/A self _cmd_log_len N/A n N/A N/A N/A N/A N/A N/A self _mesg N/A N/A self _cmd_log N/A i N/A N/A N/A N/A N/A i 1 N/A N/A i N/A self _cmd_log_len N/A N/A i 0 N/A n 1 N/A N/A N/A N/A N/A ssl N/A N/A N/A ImportError N/A N/A N/A IMAP4_SSL N/A IMAP4 N/A N/A IMAP4 client class over SSL connection

        Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile]]]])

                host - host's name (default: localhost);
                port - port number (default: standard IMAP4 SSL port).
                keyfile - PEM formatted file that contains your private key (default: None);
                certfile - PEM formatted certificate chain file (default: None);

        for more documentation see the docstring of the parent class IMAP4.
         __init__ N/A N/A self host port keyfile certfile N/A IMAP4_SSL_PORT None None N/A N/A N/A self keyfile keyfile N/A N/A self certfile certfile N/A N/A N/A IMAP4 __init__ self host port N/A open N/A N/A self host port N/A IMAP4_SSL_PORT N/A N/A Setup connection to remote server on "host:port".
                (default: localhost:standard IMAP4 SSL port).
            This connection will be used by the routines:
                read, readline, send, shutdown.
             N/A N/A self host host N/A N/A self port port N/A N/A self sock N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A N/A self sock connect N/A host port N/A N/A self sslobj N/A N/A ssl wrap_socket N/A self sock N/A self keyfile N/A self certfile N/A read N/A N/A self size N/A N/A N/A Read 'size' bytes from remote. N/A chunks N/A N/A read 0 N/A N/A read size N/A N/A data N/A N/A N/A self sslobj read N/A min N/A size read 16384 N/A read N/A len data N/A N/A N/A chunks append data N/A N/A N/A join chunks N/A readline N/A N/A self N/A N/A N/A Read line from remote. N/A line N/A N/A 1 N/A N/A char N/A N/A N/A self sslobj read 1 N/A N/A N/A line append char N/A N/A char N/A N/A N/A N/A join line N/A send N/A N/A self data N/A N/A N/A Send data to remote. N/A bytes N/A len data N/A N/A bytes 0 N/A N/A sent N/A N/A N/A self sslobj write data N/A N/A sent bytes N/A N/A N/A data N/A data N/A sent N/A bytes N/A bytes sent N/A shutdown N/A N/A self N/A N/A N/A Close I/O established in "open". N/A N/A N/A N/A self sock close N/A socket N/A N/A self N/A N/A N/A Return socket instance used to connect to IMAP4 server.

            socket = <instance>.socket()
             N/A N/A self sock N/A ssl N/A N/A self N/A N/A N/A Return SSLObject instance used to communicate with the IMAP4 server.

            ssl = ssl.wrap_socket(<instance>.socket)
             N/A N/A self sslobj N/A N/A N/A N/A N/A __all__ append IMAP4_SSL IMAP4_stream N/A IMAP4 N/A N/A IMAP4 client class over a stream

    Instantiate with: IMAP4_stream(command)

            where "command" is a string that can be passed to os.popen2()

    for more documentation see the docstring of the parent class IMAP4.
     __init__ N/A N/A self command N/A N/A N/A N/A self command command N/A N/A N/A IMAP4 __init__ self N/A open N/A N/A self host port N/A None None N/A N/A Setup a stream connection.
        This connection will be used by the routines:
            read, readline, send, shutdown.
         N/A N/A self host None N/A N/A self port None N/A N/A self sock None N/A N/A self file None N/A N/A N/A self writefile N/A self readfile N/A N/A os popen2 N/A self command N/A read N/A N/A self size N/A N/A N/A Read 'size' bytes from remote. N/A N/A N/A N/A self readfile read size N/A readline N/A N/A self N/A N/A N/A Read line from remote. N/A N/A N/A N/A self readfile readline N/A send N/A N/A self data N/A N/A N/A Send data to remote. N/A N/A N/A N/A self writefile write data N/A N/A N/A N/A self writefile flush N/A shutdown N/A N/A self N/A N/A N/A Close I/O established in "open". N/A N/A N/A N/A self readfile close N/A N/A N/A N/A self writefile close N/A N/A _Authenticator N/A N/A N/A Private class to provide en/decoding
            for base64-based authentication conversation.
     __init__ N/A N/A self mechinst N/A N/A N/A N/A self mech mechinst N/A process N/A N/A self data N/A N/A N/A ret N/A N/A self mech N/A N/A self decode data N/A N/A ret None N/A N/A * N/A N/A N/A self encode ret N/A encode N/A N/A self inp N/A N/A N/A oup N/A inp N/A N/A N/A N/A len inp 48 N/A N/A t N/A inp N/A 48 N/A inp N/A inp N/A 48 N/A N/A t inp N/A inp N/A e N/A N/A binascii b2a_base64 t N/A e N/A N/A oup N/A oup N/A e N/A -1 N/A oup N/A decode N/A N/A self inp N/A N/A N/A N/A inp N/A N/A N/A N/A N/A binascii a2b_base64 inp N/A N/A N/A Mon2num N/A Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 1 2 3 4 5 6 7 8 9 10 11 12 Internaldate2tuple N/A N/A resp N/A N/A N/A Convert IMAP4 INTERNALDATE to UT.

    Returns Python time module tuple.
     N/A mo N/A N/A InternalDate match resp N/A N/A mo N/A N/A None N/A mon N/A Mon2num N/A N/A N/A mo group mon N/A zonen N/A N/A mo group zonen N/A day N/A int N/A N/A mo group day N/A year N/A int N/A N/A mo group year N/A hour N/A int N/A N/A mo group hour N/A min N/A int N/A N/A mo group min N/A sec N/A int N/A N/A mo group sec N/A zoneh N/A int N/A N/A mo group zoneh N/A zonem N/A int N/A N/A mo group zonem N/A zone N/A N/A N/A zoneh 60 zonem 60 N/A N/A zonen - N/A N/A zone N/A zone N/A tt N/A year mon day hour min sec -1 -1 -1 N/A utc N/A N/A time mktime tt N/A lt N/A N/A time localtime utc N/A N/A N/A time daylight N/A lt N/A -1 N/A N/A zone N/A zone N/A time altzone N/A N/A zone N/A zone N/A time timezone N/A N/A N/A time localtime N/A utc zone N/A Int2AP N/A N/A num N/A N/A N/A Convert integer to A-P string representation. N/A val N/A AP ABCDEFGHIJKLMNOP N/A num N/A int N/A abs num N/A num N/A N/A N/A num mod N/A divmod num 16 N/A val N/A N/A AP N/A mod val N/A val N/A ParseFlags N/A N/A resp N/A N/A N/A Convert IMAP4 flags response to python tuple. N/A mo N/A N/A Flags match resp N/A N/A mo N/A N/A N/A N/A N/A tuple N/A N/A N/A N/A mo group flags split N/A Time2Internaldate N/A N/A date_time N/A N/A N/A Convert 'date_time' to IMAP4 INTERNALDATE representation.

    Return string in form: '"DD-Mmm-YYYY HH:MM:SS +HHMM"'
     N/A N/A isinstance date_time N/A int float N/A N/A tt N/A N/A time localtime date_time N/A N/A N/A isinstance date_time N/A tuple N/A time struct_time N/A N/A tt date_time N/A N/A N/A N/A isinstance date_time str N/A N/A N/A date_time N/A 0 N/A date_time N/A -1 N/A " " N/A N/A date_time N/A N/A N/A ValueError date_time not of a known type N/A dt N/A N/A time strftime %d-%b-%Y %H:%M:%S tt N/A N/A N/A dt N/A 0 0 N/A N/A dt N/A N/A dt N/A 1 N/A N/A N/A time daylight N/A tt N/A -1 N/A N/A zone N/A N/A time altzone N/A N/A zone N/A N/A time timezone N/A N/A N/A N/A " dt N/A  %+03d%02d N/A divmod N/A zone 60 60 " N/A N/A N/A __name__ __main__ N/A N/A getopt getpass N/A N/A N/A N/A optlist args N/A N/A getopt getopt N/A N/A sys argv N/A 1 d:s: N/A N/A N/A N/A getopt error N/A val N/A N/A N/A optlist args N/A N/A N/A N/A stream_command None N/A N/A opt val optlist N/A N/A N/A opt -d N/A N/A Debug N/A int val N/A N/A N/A opt -s N/A N/A stream_command val N/A N/A args N/A N/A args N/A stream_command N/A N/A args N/A N/A args N/A N/A host N/A args N/A 0 N/A USER N/A N/A getpass getuser N/A PASSWD N/A N/A getpass getpass N/A IMAP password for %s on %s:  N/A USER N/A host localhost N/A test_mesg N/A From: %(user)s@localhost%(lf)sSubject: IMAP4 test%(lf)s%(lf)sdata...%(lf)s N/A user lf USER N/A test_seq1 N/A N/A login N/A USER PASSWD N/A create N/A /tmp/xxx 1 N/A rename N/A /tmp/xxx 1 /tmp/yyy N/A CREATE N/A /tmp/yyz 2 N/A append N/A /tmp/yyz 2 None None test_mesg N/A list N/A /tmp yy* N/A select N/A /tmp/yyz 2 N/A search N/A None SUBJECT test N/A fetch N/A 1 (FLAGS INTERNALDATE RFC822) N/A store N/A 1 FLAGS (\Deleted) N/A namespace N/A N/A expunge N/A N/A recent N/A N/A close N/A N/A test_seq2 N/A N/A select N/A N/A response N/A UIDVALIDITY N/A uid N/A SEARCH ALL N/A response N/A EXISTS N/A append N/A None None None test_mesg N/A recent N/A N/A logout N/A run N/A N/A cmd args N/A N/A N/A N/A N/A M _mesg N/A %s %s N/A cmd args N/A N/A typ dat N/A N/A getattr M cmd args N/A N/A N/A M _mesg N/A %s => %s %s N/A cmd typ dat N/A N/A typ NO N/A N/A N/A dat N/A 0 N/A dat N/A N/A N/A N/A stream_command N/A N/A M N/A IMAP4_stream stream_command N/A N/A M N/A IMAP4 host N/A N/A N/A M state AUTH N/A N/A test_seq1 N/A test_seq1 N/A 1 N/A N/A N/A M _mesg N/A PROTOCOL_VERSION = %s N/A M PROTOCOL_VERSION N/A N/A N/A M _mesg N/A CAPABILITIES = %r N/A N/A M capabilities N/A N/A cmd args test_seq1 N/A N/A N/A run cmd args N/A ml N/A run list N/A /tmp/ yy% N/A N/A mo N/A N/A re match .*"([^"]+)"$ ml N/A mo N/A N/A path N/A N/A mo group 1 N/A N/A path N/A N/A N/A ml split N/A -1 N/A N/A run delete N/A path N/A N/A cmd args test_seq2 N/A N/A dat N/A run cmd args N/A N/A N/A cmd args N/A uid N/A SEARCH ALL N/A N/A N/A uid N/A N/A N/A dat N/A -1 split N/A N/A uid N/A N/A N/A N/A run uid N/A FETCH N/A %s N/A uid N/A -1 (FLAGS INTERNALDATE RFC822.SIZE RFC822.HEADER RFC822.TEXT) N/A 
All tests OK. N/A N/A N/A N/A 
Tests failed. N/A N/A Debug N/A N/A N/A 
If you would like to see debugging output,
try: %s -d5
 N/A N/A sys argv N/A 0 N/A