Module ImportFrom alias Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias TryExcept body ImportFrom alias identifier alias identifier handlers ExceptHandler type NameLoad body Import alias Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Import alias ImportFrom alias identifier Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body ImportFrom alias orelse FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad AttributeLoad NameLoad attr Return CompareIsNot NameLoad NameLoad decorator_list Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Num If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad 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 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 NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Return ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareNotIn NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore BoolOpOr BoolOpAnd NameLoad Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str TryExcept body If Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice Num Return Call AttributeLoad Str attr TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore ListComp Call NameLoad ListComp Call AttributeLoad Call AttributeLoad NameLoad attr attr comprehension NameStore Call AttributeLoad NameLoad attr Str Num comprehension NameStore NameLoad CompareNotEq Num Call AttributeLoad NameLoad attr Str Assign NameStore ListComp TupleLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Num comprehension NameStore NameLoad CompareEq Num Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpAdd NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Dict If Call AttributeLoad NameLoad attr NameLoad body TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore BoolOpOr BoolOpAnd NameLoad NameLoad NameLoad While NameLoad body If CompareEq NameLoad Str body Assign TupleStore NameStore NameStore TupleLoad Str NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict While NameLoad body If BoolOpAnd NameLoad CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr Str CompareNotEq Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str Num body Assign NameStore Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Str orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Str orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Str orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num BinOpSub NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign NameStore Num orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If CompareEq NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore Call NameLoad Num BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Num If Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign NameStore Num If Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign NameStore Num AugAssignAdd NameStore NameLoad If CompareGt NameLoad NameLoad body Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIn NameLoad ListLoad Str Str body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str handlers ExceptHandler type NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod Call NameLoad Str Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad ListLoad Str Str Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str attr Str For NameStore NameLoad body Assign NameStore BinOpMod Str NameLoad TryExcept body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Num body Assign NameStore Num Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr ListComp SubscriptLoad Str Index Call AttributeLoad NameLoad attr Num Num comprehension NameStore Call NameLoad Num attr Return SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad attr attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Return Call AttributeLoad SubscriptLoad NameLoad Slice Call NameLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Return BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str BoolOpOr BoolOpAnd CompareIn Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Raise Call NameLoad Call NameLoad BinOpMod Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BoolOpOr NameLoad Call NameLoad Assign NameStore BinOpMod Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Str Dict If CompareEq Str Call AttributeLoad NameLoad attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Return NameLoad orelse Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Str Dict If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Str Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Raise Call NameLoad Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Str Str body Raise Call NameLoad Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Str Str body Raise Call NameLoad Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore NameLoad Index Str BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Str Dict If CompareIn Call AttributeLoad NameLoad attr Str ListLoad Str Str body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore NameLoad Index Str BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str If BoolOpAnd CompareEq NameLoad Str CompareGt Call AttributeLoad NameLoad attr Str Num body Assign NameStore Str Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Call NameLoad NameLoad keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp Call NameLoad Call AttributeLoad NameLoad attr Str Num comprehension NameStore NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str BinOpAdd Str AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad Str Str Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Str For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad TryExcept body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareGt AttributeLoad NameLoad attr Num body Print Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Continue Break If UnaryOpNot AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Index Str CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str orelse Return ListComp SubscriptLoad SubscriptLoad NameLoad Index Num Index Num comprehension NameStore SubscriptLoad NameLoad Index Str CompareEq Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str If Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str For TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body TryExcept body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Index Num If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If NameLoad body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad NameLoad orelse Raise ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareGt AttributeLoad NameLoad attr Num body Print Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Continue Break If UnaryOpNot AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Dict Str Str NameLoad NameLoad TryExcept body ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr NameLoad NameLoad NameLoad NameLoad body Raise Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr UnaryOpNot NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str Lambda arguments args defaults AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Str ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Str decorator_list decorator_list Assign NameStore Dict Str Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Yield Call SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body For NameStore Call NameLoad Num body TryExcept body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Raise ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Num If Call NameLoad NameLoad Str body Assign NameStore SubscriptLoad Call NameLoad NameLoad Str Index Num orelse Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Raise ExceptHandler type AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Continue orelse Expr Call AttributeLoad NameLoad attr Raise If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Continue Pass TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Continue orelse Raise orelse Assign NameStore Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad Break Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListComp TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BoolOpOr BoolOpAnd NameLoad SubscriptLoad SubscriptLoad Call NameLoad NameLoad Index Num Index Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Num body For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Break If BoolOpOr AttributeLoad NameLoad attr CompareIn NameLoad ListLoad Str Str CompareEq AttributeLoad NameLoad attr Num body If BoolOpAnd AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr ListLoad Num Num Num Num Num body If NameLoad body If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Call NameLoad Str NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareIn NameLoad ListLoad Str Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str body Delete SubscriptDel NameLoad Index Str If Call AttributeLoad NameLoad attr Str body Delete SubscriptDel NameLoad Index Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore NameLoad If CompareIn AttributeLoad NameLoad attr ListLoad Num Num body Assign NameStore Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword BinOpSub NameLoad Num Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad Str NameLoad NameLoad orelse If BoolOpAnd CompareIn AttributeLoad NameLoad attr ListLoad Num Num CompareIn NameLoad ListLoad Str Str body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad NameLoad body Expr Str TryExcept body If CompareIs NameLoad NameLoad body Assign NameStore Dict orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Num If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareEq SubscriptLoad NameLoad Index Num Str CompareEq NameLoad Str body Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If UnaryOpNot NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad NameLoad body If NameLoad body Assign NameStore SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index Num Index Num keyword SubscriptLoad SubscriptLoad NameLoad Index Num Index Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Assign NameStore SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Assign NameStore SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareNotIn Str NameLoad CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str UnaryOpNot AttributeLoad NameLoad attr CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If BoolOpAnd CompareNotIn NameLoad ListLoad Str Str AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareIn NameLoad ListLoad Str Str CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str attr Str For NameStore NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareNotEq Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore NameLoad Break If BoolOpAnd NameLoad CompareIn NameLoad ListLoad Str Str AttributeLoad NameLoad attr CompareNotIn Str NameLoad body If Call AttributeLoad NameLoad attr Str body If CompareLtE NameLoad Num body Raise Call NameLoad Str Dict Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str keyword NameLoad keyword BinOpSub NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body If UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad If CompareEq NameLoad Str body If BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Pass Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareEq NameLoad Str body For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Str orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call NameLoad Dict Str Str Str Str Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Dict Str Str Str Str Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str orelse Raise Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Num Expr Str Assign NameStore Num Expr Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str orelse For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return NameLoad orelse Raise NameLoad NameLoad decorator_list decorator_list
N/A __future__ generators N/A 
httplib2

A caching http interface that supports ETags and gzip
to conserve bandwidth.

Requires Python 2.3 or later

Changelog:
2007-08-18, Rick: Modified so it's able to use a socks proxy if needed.

 N/A __author__ Joe Gregorio (joe@bitworking.org) N/A __copyright__ Copyright 2006, Joe Gregorio N/A __contributors__ N/A Thomas Broyer (t.broyer@ltgt.net) James Antill Xavier Verges Farrero Jonathan Feinberg Blair Zajac Sam Ruby Louis Nyffenegger N/A __license__ MIT N/A __version__ 0.7.0 N/A re N/A sys N/A email N/A email.Utils N/A email.Message N/A email.FeedParser N/A StringIO N/A gzip N/A zlib N/A httplib N/A urlparse N/A base64 N/A os N/A copy N/A calendar N/A time N/A random N/A errno N/A N/A hashlib sha1 _sha md5 _md5 N/A N/A N/A ImportError N/A N/A sha N/A md5 N/A _sha N/A sha new N/A _md5 N/A md5 new N/A hmac gettext gettext _ N/A socket N/A N/A httplib2 socks N/A N/A N/A ImportError N/A N/A socks None N/A N/A N/A ssl N/A ssl_SSLError N/A ssl SSLError _ssl_wrap_socket N/A N/A sock key_file cert_file disable_validation ca_certs N/A N/A N/A disable_validation N/A N/A cert_reqs N/A ssl CERT_NONE N/A N/A cert_reqs N/A ssl CERT_REQUIRED N/A N/A N/A ssl wrap_socket sock keyfile key_file certfile cert_file cert_reqs cert_reqs ca_certs ca_certs N/A N/A N/A N/A N/A AttributeError ImportError N/A N/A ssl_SSLError None _ssl_wrap_socket N/A N/A sock key_file cert_file disable_validation ca_certs N/A N/A N/A N/A disable_validation N/A N/A N/A CertificateValidationUnsupported SSL certificate validation is not supported without the ssl module installed. To avoid this error, install the ssl module, or explicity disable validation. N/A ssl_sock N/A N/A socket ssl sock key_file cert_file N/A N/A N/A httplib FakeSocket sock ssl_sock N/A N/A N/A N/A sys version_info N/A 2 3 N/A iri2uri iri2uri N/A iri2uri N/A N/A uri N/A N/A N/A uri N/A has_timeout N/A N/A timeout N/A N/A N/A N/A hasattr socket _GLOBAL_DEFAULT_TIMEOUT N/A N/A N/A N/A timeout None N/A timeout N/A socket _GLOBAL_DEFAULT_TIMEOUT N/A N/A timeout None N/A N/A __all__ N/A Http Response ProxyInfo HttpLib2Error RedirectMissingLocation RedirectLimit FailedToDecompressContent UnimplementedDigestAuthOptionError UnimplementedHmacDigestAuthOptionError debuglevel ProxiesUnavailableError N/A debuglevel 0 N/A N/A N/A sys version_info N/A 2 4 N/A sorted N/A N/A seq N/A N/A N/A N/A N/A seq sort N/A seq N/A HTTPResponse__getheaders N/A N/A self N/A N/A N/A Return list of (header, value) tuples. N/A N/A N/A self msg None N/A N/A N/A N/A httplib ResponseNotReady N/A N/A N/A N/A self msg items N/A N/A N/A N/A hasattr N/A httplib HTTPResponse getheaders N/A N/A N/A N/A httplib HTTPResponse getheaders HTTPResponse__getheaders HttpLib2Error N/A Exception N/A N/A N/A HttpLib2ErrorWithResponse N/A HttpLib2Error N/A __init__ N/A N/A self desc response content N/A N/A N/A N/A self response response N/A N/A self content content N/A N/A N/A HttpLib2Error __init__ self desc N/A N/A RedirectMissingLocation N/A HttpLib2ErrorWithResponse N/A N/A N/A RedirectLimit N/A HttpLib2ErrorWithResponse N/A N/A N/A FailedToDecompressContent N/A HttpLib2ErrorWithResponse N/A N/A N/A UnimplementedDigestAuthOptionError N/A HttpLib2ErrorWithResponse N/A N/A N/A UnimplementedHmacDigestAuthOptionError N/A HttpLib2ErrorWithResponse N/A N/A N/A MalformedHeader N/A HttpLib2Error N/A N/A N/A RelativeURIError N/A HttpLib2Error N/A N/A N/A ServerNotFoundError N/A HttpLib2Error N/A N/A N/A ProxiesUnavailableError N/A HttpLib2Error N/A N/A N/A CertificateValidationUnsupported N/A HttpLib2Error N/A N/A N/A SSLHandshakeError N/A HttpLib2Error N/A N/A N/A CertificateHostnameMismatch N/A SSLHandshakeError N/A __init__ N/A N/A self desc host cert N/A N/A N/A N/A N/A HttpLib2Error __init__ self desc N/A N/A self host host N/A N/A self cert cert N/A N/A N/A DEFAULT_MAX_REDIRECTS 5 N/A CA_CERTS N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ cacerts.txt N/A HOP_BY_HOP N/A connection keep-alive proxy-authenticate proxy-authorization te trailers transfer-encoding upgrade _get_end2end_headers N/A N/A response N/A N/A N/A hopbyhop N/A list HOP_BY_HOP N/A N/A N/A hopbyhop extend N/A N/A N/A x strip N/A x N/A N/A N/A N/A response get connection split , N/A N/A header N/A header N/A N/A response keys N/A header hopbyhop N/A N/A URI N/A N/A re compile ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))? parse_uri N/A N/A uri N/A N/A N/A Parses a URI using the regex given in Appendix B of RFC 3986.

        (scheme, authority, path, query, fragment) = parse_uri(uri)
     N/A groups N/A N/A N/A N/A URI match uri groups N/A N/A N/A groups N/A 1 N/A groups N/A 3 N/A groups N/A 4 N/A groups N/A 6 N/A groups N/A 8 N/A urlnorm N/A N/A uri N/A N/A N/A N/A scheme authority path query fragment N/A parse_uri uri N/A N/A N/A scheme N/A authority N/A N/A N/A RelativeURIError N/A Only absolute URIs are allowed. uri = %s uri N/A authority N/A N/A authority lower N/A scheme N/A N/A scheme lower N/A N/A path N/A N/A path / N/A request_uri N/A N/A query N/A N/A ? join N/A path query path N/A scheme N/A N/A scheme lower N/A defrag_uri N/A N/A N/A scheme :// authority request_uri N/A N/A scheme authority request_uri defrag_uri N/A N/A re_url_scheme N/A N/A re compile ^\w+:// N/A re_slash N/A N/A re compile [?/:|]+ safename N/A N/A filename N/A N/A N/A Return a filename suitable for the cache.

    Strips dangerous and common characters to create a filename we
    can use to store the cache in.
     N/A N/A N/A N/A N/A re_url_scheme match filename N/A N/A N/A isinstance filename str N/A N/A filename N/A N/A filename decode utf-8 N/A filename N/A N/A filename encode idna N/A N/A filename N/A N/A filename encode idna N/A N/A N/A UnicodeError N/A N/A N/A N/A isinstance filename unicode N/A N/A filename N/A N/A filename encode utf-8 N/A filemd5 N/A N/A N/A _md5 filename hexdigest N/A filename N/A N/A re_url_scheme sub filename N/A filename N/A N/A re_slash sub , filename N/A N/A N/A len filename 200 N/A N/A filename N/A filename N/A 200 N/A N/A N/A , join N/A filename filemd5 N/A N/A NORMALIZE_SPACE N/A N/A re compile (?:\r\n)?[ \t]+ _normalize_headers N/A N/A headers N/A N/A N/A N/A dict N/A N/A N/A N/A key lower N/A N/A N/A N/A NORMALIZE_SPACE sub value strip N/A N/A key value N/A N/A headers iteritems N/A _parse_cache_control N/A N/A headers N/A N/A N/A retval N/A N/A N/A N/A headers has_key cache-control N/A N/A parts N/A N/A N/A headers N/A cache-control split , N/A parts_with_args N/A N/A tuple N/A N/A N/A N/A N/A x strip lower N/A x N/A N/A part split = 1 N/A part parts N/A -1 N/A N/A part find = N/A parts_wo_args N/A N/A N/A N/A N/A N/A name strip lower 1 N/A name parts N/A -1 N/A N/A name find = N/A retval N/A dict N/A parts_with_args parts_wo_args N/A retval N/A N/A USE_WWW_AUTH_STRICT_PARSING 0 N/A WWW_AUTH_STRICT N/A N/A re compile ^(?:\s*(?:,\s*)?([^\0-\x1f\x7f-\xff()<>@,;:\\\"/[\]?={} \t]+)\s*=\s*\"?((?<=\")(?:[^\0-\x08\x0A-\x1f\x7f-\xff\\\"]|\\[\0-\x7f])*?(?=\")|(?<!\")[^\0-\x1f\x7f-\xff()<>@,;:\\\"/[\]?={} \t]+(?!\"))\"?)(.*)$ N/A WWW_AUTH_RELAXED N/A N/A re compile ^(?:\s*(?:,\s*)?([^ \t\r\n=]+)\s*=\s*\"?((?<=\")(?:[^\\\"]|\\.)*?(?=\")|(?<!\")[^ \t\r\n,]+(?!\"))\"?)(.*)$ N/A UNQUOTE_PAIRS N/A N/A re compile \\(.) _parse_www_authenticate N/A N/A headers headername N/A www-authenticate N/A N/A Returns a dictionary of dictionaries, one dict
    per auth_scheme. N/A retval N/A N/A N/A N/A headers has_key headername N/A N/A N/A N/A authenticate N/A N/A N/A headers N/A headername strip N/A www_auth N/A N/A USE_WWW_AUTH_STRICT_PARSING WWW_AUTH_STRICT WWW_AUTH_RELAXED N/A authenticate N/A N/A N/A headername authentication-info N/A N/A N/A auth_scheme the_rest N/A digest authenticate N/A N/A N/A auth_scheme the_rest N/A N/A authenticate split 1 N/A match N/A N/A www_auth search the_rest N/A auth_params N/A N/A match N/A N/A N/A match N/A N/A len N/A N/A match groups 3 N/A N/A N/A key value the_rest N/A N/A match groups N/A N/A auth_params N/A N/A N/A key lower N/A N/A UNQUOTE_PAIRS sub \1 value N/A match N/A N/A www_auth search the_rest N/A N/A retval N/A N/A N/A auth_scheme lower auth_params N/A authenticate N/A N/A the_rest strip N/A N/A N/A ValueError N/A N/A N/A MalformedHeader WWW-Authenticate N/A retval N/A _entry_disposition N/A N/A response_headers request_headers N/A N/A N/A Determine freshness from the Date, Expires and Cache-Control headers.

    We don't handle the following:

    1. Cache-Control: max-stale
    2. Age: headers are not used in the calculations.

    Not that this algorithm is simpler than you might think
    because we are operating as a private (non-shared) cache.
    This lets us ignore 's-maxage'. We can also ignore
    'proxy-invalidate' since we aren't a proxy.
    We will never return a stale document as
    fresh as a design decision, and thus the non-implementation
    of 'max-stale'. This also lets us safely ignore 'must-revalidate'
    since we operate as if every server has sent 'must-revalidate'.
    Since we are private we get to ignore both 'public' and
    'private' parameters. We also ignore 'no-transform' since
    we don't do any transformations.
    The 'no-store' parameter is handled at a higher level.
    So the only Cache-Control parameters we look at are:

    no-cache
    only-if-cached
    max-age
    min-fresh
     N/A retval STALE N/A cc N/A _parse_cache_control request_headers N/A cc_response N/A _parse_cache_control response_headers N/A N/A N/A N/A request_headers has_key pragma N/A N/A N/A N/A N/A N/A request_headers N/A pragma lower find no-cache -1 N/A N/A retval TRANSPARENT N/A N/A cache-control request_headers N/A N/A N/A request_headers N/A cache-control no-cache N/A N/A N/A N/A cc has_key no-cache N/A N/A retval TRANSPARENT N/A N/A N/A N/A cc_response has_key no-cache N/A N/A retval STALE N/A N/A N/A N/A cc has_key only-if-cached N/A N/A retval FRESH N/A N/A N/A N/A response_headers has_key date N/A N/A date N/A N/A calendar timegm N/A N/A N/A email Utils parsedate_tz N/A response_headers N/A date N/A now N/A N/A time time N/A current_age N/A max 0 N/A now date N/A N/A N/A cc_response has_key max-age N/A N/A N/A N/A freshness_lifetime N/A int N/A cc_response N/A max-age N/A N/A N/A ValueError N/A N/A freshness_lifetime 0 N/A N/A N/A N/A response_headers has_key expires N/A N/A expires N/A N/A N/A email Utils parsedate_tz N/A response_headers N/A expires N/A N/A None expires N/A N/A freshness_lifetime 0 N/A N/A freshness_lifetime N/A max 0 N/A N/A N/A calendar timegm expires date N/A N/A freshness_lifetime 0 N/A N/A N/A cc has_key max-age N/A N/A N/A N/A freshness_lifetime N/A int N/A cc N/A max-age N/A N/A N/A ValueError N/A N/A freshness_lifetime 0 N/A N/A N/A cc has_key min-fresh N/A N/A N/A N/A min_fresh N/A int N/A cc N/A min-fresh N/A N/A N/A ValueError N/A N/A min_fresh 0 N/A current_age min_fresh N/A N/A freshness_lifetime current_age N/A N/A retval FRESH N/A retval N/A _decompressContent N/A N/A response new_content N/A N/A N/A content new_content N/A N/A N/A encoding N/A N/A response get content-encoding None N/A N/A encoding N/A gzip deflate N/A N/A N/A encoding gzip N/A N/A content N/A N/A N/A N/A gzip GzipFile fileobj N/A N/A StringIO StringIO new_content read N/A N/A encoding deflate N/A N/A content N/A N/A zlib decompress content N/A N/A response N/A content-length N/A str N/A len content N/A N/A response N/A -content-encoding N/A response N/A content-encoding N/A N/A response N/A content-encoding N/A N/A N/A IOError N/A N/A content N/A N/A FailedToDecompressContent N/A N/A _ Content purported to be compressed with %s but failed to decompress. N/A N/A response get content-encoding response content N/A content N/A _updateCache N/A N/A request_headers response_headers content cache cachekey N/A N/A N/A cachekey N/A N/A cc N/A _parse_cache_control request_headers N/A cc_response N/A _parse_cache_control response_headers N/A N/A N/A N/A cc has_key no-store N/A N/A cc_response has_key no-store N/A N/A N/A N/A cache delete cachekey N/A N/A info N/A N/A N/A email Message Message N/A N/A key value N/A N/A response_headers iteritems N/A N/A N/A key N/A status content-encoding transfer-encoding N/A N/A N/A info N/A key value N/A vary N/A N/A response_headers get vary None N/A vary N/A N/A vary_headers N/A N/A N/A N/A N/A N/A vary lower replace split , N/A header vary_headers N/A N/A key N/A -varied-%s header N/A N/A N/A N/A info N/A key N/A request_headers N/A header N/A N/A N/A KeyError N/A N/A N/A status N/A response_headers status N/A N/A status 304 N/A N/A status 200 N/A status_header N/A status: %d
 status N/A header_str N/A N/A info as_string N/A header_str N/A N/A re sub 
(?!
)|(?<!
)
 header_str N/A text N/A N/A join N/A status_header header_str content N/A N/A N/A cache set cachekey text N/A _cnonce N/A N/A N/A N/A N/A dig N/A N/A N/A _md5 N/A %s:%s N/A N/A N/A time ctime N/A N/A 0123456789 N/A N/A N/A random randrange 0 9 N/A i N/A range 20 hexdigest N/A N/A dig N/A 16 N/A _wsse_username_token N/A N/A cnonce iso_now password N/A N/A N/A N/A N/A N/A N/A base64 b64encode N/A N/A N/A _sha N/A %s%s%s N/A cnonce iso_now password digest strip N/A Authentication N/A object N/A __init__ N/A N/A self credentials host request_uri headers response content http N/A N/A N/A N/A scheme authority path query fragment N/A parse_uri request_uri N/A N/A self path path N/A N/A self host host N/A N/A self credentials credentials N/A N/A self http http N/A depth N/A N/A self request_uri N/A N/A N/A N/A scheme authority path query fragment N/A parse_uri request_uri N/A N/A N/A N/A request_uri N/A N/A len N/A self path count / N/A inscope N/A N/A self host request_uri N/A N/A N/A N/A scheme authority path query fragment N/A parse_uri request_uri N/A N/A N/A host N/A self host N/A N/A path startswith N/A self path N/A request N/A N/A self method request_uri headers content N/A N/A N/A Modify the request headers to add the appropriate
        Authorization header. Over-rise this in sub-classes. N/A N/A response N/A N/A self response content N/A N/A N/A Gives us a chance to update with new nonces
        or such returned from the last authorized response.
        Over-rise this in sub-classes if necessary.

        Return TRUE is the request is to be retried, for
        example Digest may return stale=true.
         N/A False N/A N/A BasicAuthentication N/A Authentication N/A __init__ N/A N/A self credentials host request_uri headers response content http N/A N/A N/A N/A N/A Authentication __init__ self credentials host request_uri headers response content http N/A request N/A N/A self method request_uri headers content N/A N/A N/A Modify the request headers to add the appropriate
        Authorization header. N/A N/A headers N/A authorization N/A Basic  N/A N/A N/A N/A base64 b64encode N/A %s:%s N/A self credentials strip N/A N/A DigestAuthentication N/A Authentication N/A N/A Only do qop='auth' and MD5, since that
    is all Apache currently implements __init__ N/A N/A self credentials host request_uri headers response content http N/A N/A N/A N/A N/A Authentication __init__ self credentials host request_uri headers response content http N/A challenge N/A _parse_www_authenticate response www-authenticate N/A N/A self challenge N/A challenge N/A digest N/A qop N/A N/A N/A self challenge get qop auth N/A N/A N/A self challenge N/A qop N/A N/A N/A auth N/A N/A N/A x strip N/A x N/A N/A qop split auth None N/A N/A N/A N/A self challenge N/A qop None N/A N/A N/A UnimplementedDigestAuthOptionError N/A _ N/A Unsupported value for qop: %s. qop N/A N/A N/A self challenge N/A algorithm N/A N/A N/A N/A N/A self challenge get algorithm MD5 upper N/A N/A N/A N/A self challenge N/A algorithm MD5 N/A N/A N/A UnimplementedDigestAuthOptionError N/A _ N/A Unsupported value for algorithm: %s. N/A N/A self challenge N/A algorithm N/A N/A self A1 N/A N/A join N/A N/A N/A self credentials N/A 0 : N/A N/A self challenge N/A realm : N/A N/A self credentials N/A 1 N/A N/A N/A self challenge N/A nc 1 N/A request N/A N/A self method request_uri headers content cnonce N/A None N/A N/A Modify the request headers N/A H N/A N/A N/A x N/A N/A N/A N/A _md5 x hexdigest N/A KD N/A N/A N/A s d N/A N/A H N/A %s:%s N/A s d N/A A2 N/A N/A join N/A method : request_uri N/A N/A N/A self challenge N/A cnonce N/A cnonce N/A _cnonce N/A request_digest N/A "%s" N/A KD N/A H N/A self A1 N/A %s:%s:%s:%s:%s N/A N/A N/A self challenge N/A nonce N/A %08x N/A N/A self challenge N/A nc N/A N/A self challenge N/A cnonce N/A N/A self challenge N/A qop N/A H A2 N/A N/A headers N/A authorization N/A Digest username="%s", realm="%s", nonce="%s", uri="%s", algorithm=%s, response=%s, qop=%s, nc=%08x, cnonce="%s" N/A N/A N/A self credentials N/A 0 N/A N/A self challenge N/A realm N/A N/A self challenge N/A nonce request_uri N/A N/A self challenge N/A algorithm request_digest N/A N/A self challenge N/A qop N/A N/A self challenge N/A nc N/A N/A self challenge N/A cnonce N/A N/A N/A self challenge N/A nc 1 N/A response N/A N/A self response content N/A N/A N/A N/A N/A N/A response has_key authentication-info N/A N/A challenge N/A N/A N/A _parse_www_authenticate response www-authenticate get digest N/A N/A N/A true N/A N/A challenge get stale N/A N/A N/A N/A self challenge N/A nonce N/A challenge N/A nonce N/A N/A N/A self challenge N/A nc 1 N/A True N/A N/A updated_challenge N/A N/A N/A _parse_www_authenticate response authentication-info get digest N/A N/A N/A N/A updated_challenge has_key nextnonce N/A N/A N/A N/A self challenge N/A nonce N/A updated_challenge N/A nextnonce N/A N/A N/A self challenge N/A nc 1 N/A False N/A N/A HmacDigestAuthentication N/A Authentication N/A N/A Adapted from Robert Sayre's code and DigestAuthentication above. N/A __author__ Thomas Broyer (t.broyer@ltgt.net) __init__ N/A N/A self credentials host request_uri headers response content http N/A N/A N/A N/A N/A Authentication __init__ self credentials host request_uri headers response content http N/A challenge N/A _parse_www_authenticate response www-authenticate N/A N/A self challenge N/A challenge N/A hmacdigest N/A N/A N/A self challenge N/A reason N/A N/A N/A self challenge get reason unauthorized N/A N/A N/A N/A self challenge N/A reason N/A unauthorized integrity N/A N/A N/A N/A self challenge N/A reason unauthorized N/A N/A N/A self challenge N/A salt N/A N/A N/A self challenge get salt N/A N/A N/A N/A N/A self challenge get snonce N/A N/A N/A UnimplementedHmacDigestAuthOptionError N/A _ The challenge doesn't contain a server nonce, or this one is empty. N/A N/A N/A self challenge N/A algorithm N/A N/A N/A self challenge get algorithm HMAC-SHA-1 N/A N/A N/A N/A self challenge N/A algorithm N/A HMAC-SHA-1 HMAC-MD5 N/A N/A N/A UnimplementedHmacDigestAuthOptionError N/A _ N/A Unsupported value for algorithm: %s. N/A N/A self challenge N/A algorithm N/A N/A N/A self challenge N/A pw-algorithm N/A N/A N/A self challenge get pw-algorithm SHA-1 N/A N/A N/A N/A self challenge N/A pw-algorithm N/A SHA-1 MD5 N/A N/A N/A UnimplementedHmacDigestAuthOptionError N/A _ N/A Unsupported value for pw-algorithm: %s. N/A N/A self challenge N/A pw-algorithm N/A N/A N/A N/A self challenge N/A algorithm HMAC-MD5 N/A N/A N/A self hashmod _md5 N/A N/A N/A self hashmod _sha N/A N/A N/A N/A self challenge N/A pw-algorithm MD5 N/A N/A N/A self pwhashmod _md5 N/A N/A N/A self pwhashmod _sha N/A N/A self key N/A N/A join N/A N/A N/A self credentials N/A 0 : N/A N/A N/A N/A N/A N/A N/A self pwhashmod new N/A N/A join N/A N/A N/A self credentials N/A 1 N/A N/A self challenge N/A salt hexdigest lower : N/A N/A self challenge N/A realm N/A N/A self key N/A N/A N/A N/A N/A N/A N/A self pwhashmod new N/A self key hexdigest lower N/A request N/A N/A self method request_uri headers content N/A N/A N/A Modify the request headers N/A keys N/A _get_end2end_headers headers N/A keylist N/A N/A join N/A N/A %s  k N/A k keys N/A headers_val N/A N/A join N/A N/A headers N/A k N/A k keys N/A created N/A N/A time strftime %Y-%m-%dT%H:%M:%SZ N/A N/A time gmtime N/A cnonce N/A _cnonce N/A request_digest N/A %s:%s:%s:%s:%s N/A method request_uri cnonce N/A N/A self challenge N/A snonce headers_val N/A request_digest N/A N/A N/A N/A N/A N/A hmac new N/A self key request_digest N/A self hashmod hexdigest lower N/A N/A headers N/A authorization N/A HMACDigest username="%s", realm="%s", snonce="%s", cnonce="%s", uri="%s", created="%s", response="%s", headers="%s" N/A N/A N/A self credentials N/A 0 N/A N/A self challenge N/A realm N/A N/A self challenge N/A snonce cnonce request_uri created request_digest keylist N/A response N/A N/A self response content N/A N/A N/A challenge N/A N/A N/A _parse_www_authenticate response www-authenticate get hmacdigest N/A N/A N/A N/A N/A challenge get reason N/A integrity stale N/A N/A True N/A False N/A N/A WsseAuthentication N/A Authentication N/A N/A This is thinly tested and should not be relied upon.
    At this time there isn't any third party server to test against.
    Blogger and TypePad implemented this algorithm at one point
    but Blogger has since switched to Basic over HTTPS and
    TypePad has implemented it wrong, by never issuing a 401
    challenge but instead requiring your client to telepathically know that
    their endpoint is expecting WSSE profile="UsernameToken". __init__ N/A N/A self credentials host request_uri headers response content http N/A N/A N/A N/A N/A Authentication __init__ self credentials host request_uri headers response content http N/A request N/A N/A self method request_uri headers content N/A N/A N/A Modify the request headers to add the appropriate
        Authorization header. N/A N/A headers N/A authorization WSSE profile="UsernameToken" N/A iso_now N/A N/A time strftime %Y-%m-%dT%H:%M:%SZ N/A N/A time gmtime N/A cnonce N/A _cnonce N/A password_digest N/A _wsse_username_token cnonce iso_now N/A N/A self credentials N/A 1 N/A N/A headers N/A X-WSSE N/A UsernameToken Username="%s", PasswordDigest="%s", Nonce="%s", Created="%s" N/A N/A N/A self credentials N/A 0 password_digest cnonce iso_now N/A N/A GoogleLoginAuthentication N/A Authentication N/A __init__ N/A N/A self credentials host request_uri headers response content http N/A N/A urllib urlencode N/A N/A N/A Authentication __init__ self credentials host request_uri headers response content http N/A challenge N/A _parse_www_authenticate response www-authenticate N/A service N/A N/A N/A challenge N/A googlelogin get service xapi N/A N/A N/A service xapi N/A N/A N/A request_uri find calendar 0 N/A N/A service cl N/A auth N/A dict Email N/A credentials N/A 0 Passwd N/A credentials N/A 1 service service source N/A headers N/A user-agent N/A N/A resp content N/A N/A N/A self http request https://www.google.com/accounts/ClientLogin method POST body N/A urlencode auth headers N/A Content-Type application/x-www-form-urlencoded N/A lines N/A N/A content split N/A d N/A dict N/A N/A tuple N/A N/A line split = 1 N/A line lines line N/A N/A N/A resp status 403 N/A N/A N/A self Auth N/A N/A N/A self Auth N/A d N/A Auth N/A request N/A N/A self method request_uri headers content N/A N/A N/A Modify the request headers to add the appropriate
        Authorization header. N/A N/A headers N/A authorization N/A GoogleLogin Auth= N/A self Auth N/A N/A N/A AUTH_SCHEME_CLASSES N/A basic wsse digest hmacdigest googlelogin BasicAuthentication WsseAuthentication DigestAuthentication HmacDigestAuthentication GoogleLoginAuthentication N/A AUTH_SCHEME_ORDER N/A hmacdigest googlelogin digest wsse basic FileCache N/A object N/A N/A Uses a local directory as a store for cached files.
    Not really safe to use if multiple threads or processes are going to
    be running on the same cache.
     __init__ N/A N/A self cache safe N/A safename N/A N/A N/A self cache cache N/A N/A self safe safe N/A N/A N/A N/A N/A os path exists cache N/A N/A N/A N/A os makedirs N/A self cache N/A get N/A N/A self key N/A N/A N/A retval None N/A cacheFullPath N/A N/A N/A os path join N/A self cache N/A N/A self safe key N/A N/A N/A f N/A file cacheFullPath rb N/A retval N/A N/A f read N/A N/A N/A f close N/A N/A N/A IOError N/A N/A N/A retval N/A set N/A N/A self key value N/A N/A N/A cacheFullPath N/A N/A N/A os path join N/A self cache N/A N/A self safe key N/A f N/A file cacheFullPath wb N/A N/A N/A f write value N/A N/A N/A f close N/A delete N/A N/A self key N/A N/A N/A cacheFullPath N/A N/A N/A os path join N/A self cache N/A N/A self safe key N/A N/A N/A N/A os path exists cacheFullPath N/A N/A N/A N/A os remove cacheFullPath N/A N/A Credentials N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self credentials N/A N/A add N/A N/A self name password domain N/A N/A N/A N/A N/A N/A self credentials append N/A N/A N/A domain lower name password N/A clear N/A N/A self N/A N/A N/A N/A self credentials N/A N/A iter N/A N/A self domain N/A N/A N/A N/A cdomain name password N/A self credentials N/A N/A N/A N/A cdomain N/A domain cdomain N/A N/A N/A N/A name password N/A N/A KeyCerts N/A Credentials N/A N/A Identical to Credentials except that
    name/password are mapped to key/cert. N/A N/A ProxyInfo N/A object N/A N/A Collect information required to use a proxy. __init__ N/A N/A self proxy_type proxy_host proxy_port proxy_rdns proxy_user proxy_pass N/A None None None N/A N/A The parameter proxy_type must be set to one of socks.PROXY_TYPE_XXX
      constants. For example:

p = ProxyInfo(proxy_type=socks.PROXY_TYPE_HTTP, proxy_host='localhost', proxy_port=8000)
       N/A N/A N/A self proxy_type N/A self proxy_host N/A self proxy_port N/A self proxy_rdns N/A self proxy_user N/A self proxy_pass N/A proxy_type proxy_host proxy_port proxy_rdns proxy_user proxy_pass N/A astuple N/A N/A self N/A N/A N/A N/A N/A self proxy_type N/A self proxy_host N/A self proxy_port N/A self proxy_rdns N/A self proxy_user N/A self proxy_pass N/A isgood N/A N/A self N/A N/A N/A N/A N/A N/A self proxy_host None N/A N/A self proxy_port None N/A N/A HTTPConnectionWithTimeout N/A N/A httplib HTTPConnection N/A N/A 
    HTTPConnection subclass that supports timeouts

    All timeouts are in seconds. If None is passed for timeout then
    Python's default timeout for sockets will be used. See for example
    the docs of socket.setdefaulttimeout():
    http://docs.python.org/library/socket.html#socket.setdefaulttimeout
     __init__ N/A N/A self host port strict timeout proxy_info N/A None None None None N/A N/A N/A N/A N/A httplib HTTPConnection __init__ self host port strict N/A N/A self timeout timeout N/A N/A self proxy_info proxy_info N/A connect N/A N/A self N/A N/A N/A Connect to the host and port specified in __init__. N/A N/A N/A self proxy_info N/A socks None N/A N/A N/A ProxiesUnavailableError Proxy support missing but proxy use was requested! N/A msg getaddrinfo returns an empty list N/A res N/A N/A socket getaddrinfo N/A self host N/A self port 0 N/A socket SOCK_STREAM N/A N/A N/A af socktype proto canonname sa res N/A N/A N/A N/A N/A self proxy_info N/A N/A N/A self proxy_info isgood N/A N/A N/A self sock N/A N/A socks socksocket af socktype proto N/A N/A N/A N/A self sock setproxy N/A N/A N/A self proxy_info astuple N/A N/A N/A self sock N/A N/A socket socket af socktype proto N/A N/A N/A N/A self sock setsockopt N/A socket IPPROTO_TCP N/A socket TCP_NODELAY 1 N/A N/A has_timeout N/A self timeout N/A N/A N/A N/A N/A self sock settimeout N/A self timeout N/A N/A N/A self debuglevel 0 N/A N/A N/A connect: (%s, %s) N/A N/A self host N/A self port N/A N/A N/A N/A self sock connect sa N/A N/A N/A N/A socket error N/A msg N/A N/A N/A N/A self debuglevel 0 N/A N/A connect fail: N/A N/A self host N/A self port N/A N/A self sock N/A N/A N/A N/A N/A self sock close N/A N/A self sock None N/A N/A N/A N/A N/A self sock N/A N/A N/A socket error msg N/A N/A HTTPSConnectionWithTimeout N/A N/A httplib HTTPSConnection N/A N/A 
    This class allows communication via SSL.

    All timeouts are in seconds. If None is passed for timeout then
    Python's default timeout for sockets will be used. See for example
    the docs of socket.setdefaulttimeout():
    http://docs.python.org/library/socket.html#socket.setdefaulttimeout
     __init__ N/A N/A self host port key_file cert_file strict timeout proxy_info ca_certs disable_ssl_certificate_validation N/A None None None None None None None False N/A N/A N/A N/A N/A httplib HTTPSConnection __init__ self host port port key_file key_file cert_file cert_file strict strict N/A N/A self timeout timeout N/A N/A self proxy_info proxy_info N/A N/A ca_certs None N/A N/A ca_certs CA_CERTS N/A N/A self ca_certs ca_certs N/A N/A self disable_ssl_certificate_validation disable_ssl_certificate_validation N/A _GetValidHostsForCert N/A N/A self cert N/A N/A N/A Returns a list of valid host globs for an SSL certificate.

        Args:
          cert: A dictionary representing an SSL certificate.
        Returns:
          list: A list of valid host globs.
         N/A N/A subjectAltName cert N/A N/A N/A N/A x N/A 1 N/A x N/A cert N/A subjectAltName N/A N/A N/A N/A x N/A 0 lower dns N/A N/A N/A N/A N/A x N/A 0 N/A 1 N/A x N/A cert N/A subject N/A N/A N/A N/A N/A x N/A 0 N/A 0 lower commonname N/A _ValidateCertificateHostname N/A N/A self cert hostname N/A N/A N/A Validates that a given hostname is valid for an SSL certificate.

        Args:
          cert: A dictionary representing an SSL certificate.
          hostname: The hostname to test.
        Returns:
          bool: Whether or not the hostname is valid for this certificate.
         N/A hosts N/A N/A self _GetValidHostsForCert cert N/A host hosts N/A N/A host_re N/A N/A N/A N/A host replace . \. replace * [^.]* N/A N/A N/A re search N/A ^%s$ N/A host_re hostname N/A re I N/A N/A True N/A False N/A connect N/A N/A self N/A N/A N/A Connect to a host on a given (SSL) port. N/A msg getaddrinfo returns an empty list N/A N/A family socktype proto canonname sockaddr N/A N/A socket getaddrinfo N/A self host N/A self port 0 N/A socket SOCK_STREAM N/A N/A N/A N/A N/A N/A self proxy_info N/A N/A N/A self proxy_info isgood N/A N/A sock N/A N/A socks socksocket family socktype proto N/A N/A N/A sock setproxy N/A N/A N/A self proxy_info astuple N/A N/A sock N/A N/A socket socket family socktype proto N/A N/A N/A sock setsockopt N/A socket IPPROTO_TCP N/A socket TCP_NODELAY 1 N/A N/A has_timeout N/A self timeout N/A N/A N/A N/A sock settimeout N/A self timeout N/A N/A N/A sock connect N/A N/A self host N/A self port N/A N/A self sock N/A _ssl_wrap_socket sock N/A self key_file N/A self cert_file N/A self disable_ssl_certificate_validation N/A self ca_certs N/A N/A N/A self debuglevel 0 N/A N/A N/A connect: (%s, %s) N/A N/A self host N/A self port N/A N/A N/A self disable_ssl_certificate_validation N/A N/A cert N/A N/A N/A self sock getpeercert N/A hostname N/A N/A N/A N/A self host split : 0 N/A 0 N/A N/A N/A N/A self _ValidateCertificateHostname cert hostname N/A N/A N/A CertificateHostnameMismatch N/A Server presented certificate that does not match host %s: %s N/A hostname cert hostname cert N/A N/A N/A ssl_SSLError N/A e N/A N/A sock N/A N/A N/A N/A sock close N/A N/A self sock N/A N/A N/A N/A N/A self sock close N/A N/A self sock None N/A N/A N/A e errno N/A ssl SSL_ERROR_SSL N/A N/A N/A SSLHandshakeError e N/A N/A N/A N/A N/A N/A socket timeout N/A socket gaierror N/A N/A N/A N/A N/A socket error N/A msg N/A N/A N/A N/A self debuglevel 0 N/A N/A connect fail: N/A N/A self host N/A self port N/A N/A self sock N/A N/A N/A N/A N/A self sock close N/A N/A self sock None N/A N/A N/A N/A N/A self sock N/A N/A N/A socket error msg N/A N/A N/A SCHEME_TO_CONNECTION N/A http https HTTPConnectionWithTimeout HTTPSConnectionWithTimeout N/A N/A google.appengine.api.urlfetch fetch google.appengine.api.urlfetch InvalidURLError google.appengine.api.urlfetch DownloadError google.appengine.api.urlfetch ResponseTooLargeError google.appengine.api.urlfetch SSLCertificateError ResponseDict N/A dict N/A N/A Is a dictionary that also has a read() method, so
    that it can pass itself off as an httlib.HTTPResponse(). read N/A N/A self N/A N/A N/A N/A N/A AppEngineHttpConnection N/A object N/A N/A Emulates an httplib.HTTPConnection object, but actually uses the Google
    App Engine urlfetch library. This allows the timeout to be properly used on
    Google App Engine, and avoids using httplib, which on Google App Engine is
    just another wrapper around urlfetch.
     __init__ N/A N/A self host port key_file cert_file strict timeout proxy_info ca_certs disable_certificate_validation N/A None None None None None None None False N/A N/A N/A self host host N/A N/A self port port N/A N/A self timeout timeout N/A N/A key_file cert_file proxy_info ca_certs N/A N/A N/A NotSupportedOnThisPlatform N/A N/A self response None N/A N/A self scheme http N/A N/A self validate_certificate N/A disable_certificate_validation N/A N/A self sock True N/A request N/A N/A self method url body headers N/A N/A N/A netloc N/A self host N/A N/A self port N/A N/A netloc N/A %s:%s N/A N/A self host N/A self port N/A absolute_uri N/A %s://%s%s N/A N/A self scheme netloc url N/A N/A N/A response N/A fetch absolute_uri payload body method method headers headers allow_truncated False follow_redirects False deadline N/A self timeout validate_certificate N/A self validate_certificate N/A N/A self response N/A ResponseDict N/A response headers N/A N/A N/A self response N/A status N/A response status_code N/A N/A setattr N/A self response read N/A N/A N/A N/A N/A response content N/A N/A N/A InvalidURLError N/A N/A N/A N/A socket gaierror N/A N/A N/A DownloadError ResponseTooLargeError SSLCertificateError N/A N/A N/A N/A httplib HTTPException N/A getresponse N/A N/A self N/A N/A N/A N/A self response N/A set_debuglevel N/A N/A self level N/A N/A N/A N/A connect N/A N/A self N/A N/A N/A N/A close N/A N/A self N/A N/A N/A N/A N/A AppEngineHttpsConnection N/A AppEngineHttpConnection N/A N/A Same as AppEngineHttpConnection, but for HTTPS URIs. __init__ N/A N/A self host port key_file cert_file strict timeout proxy_info N/A None None None None None None N/A N/A N/A N/A AppEngineHttpConnection __init__ self host port key_file cert_file strict timeout proxy_info N/A N/A self scheme https N/A N/A N/A SCHEME_TO_CONNECTION N/A http https AppEngineHttpConnection AppEngineHttpsConnection N/A N/A N/A ImportError N/A N/A Http N/A object N/A N/A An HTTP client that handles:
- all methods
- caching
- ETags
- compression,
- HTTPS
- Basic
- Digest
- WSSE

and more.
     __init__ N/A N/A self cache timeout proxy_info ca_certs disable_ssl_certificate_validation N/A None None None None False N/A N/A 
        The value of proxy_info is a ProxyInfo instance.

        If 'cache' is a string then it is used as a directory name for
        a disk cache. Otherwise it must be an object that supports the
        same interface as FileCache.

        All timeouts are in seconds. If None is passed for timeout
        then Python's default timeout for sockets will be used. See
        for example the docs of socket.setdefaulttimeout():
        http://docs.python.org/library/socket.html#socket.setdefaulttimeout

        ca_certs is the path of a file containing root CA certificates for SSL
        server certificate validation.  By default, a CA cert file bundled with
        httplib2 is used.

        If disable_ssl_certificate_validation is true, SSL cert validation will
        not be performed.
         N/A N/A self proxy_info proxy_info N/A N/A self ca_certs ca_certs N/A N/A self disable_ssl_certificate_validation disable_ssl_certificate_validation N/A N/A self connections N/A N/A N/A cache N/A isinstance cache basestring N/A N/A N/A self cache N/A FileCache cache N/A N/A N/A self cache cache N/A N/A self credentials N/A Credentials N/A N/A self certificates N/A KeyCerts N/A N/A self authorizations N/A N/A N/A self follow_redirects True N/A N/A self optimistic_concurrency_methods N/A PUT PATCH N/A N/A self follow_all_redirects False N/A N/A self ignore_etag False N/A N/A self force_exception_to_status_code False N/A N/A self timeout timeout N/A _auth_from_challenge N/A N/A self host request_uri headers response content N/A N/A N/A A generator that creates Authorization objects
           that can be applied to requests.
         N/A challenges N/A _parse_www_authenticate response www-authenticate N/A cred N/A N/A N/A self credentials iter host N/A N/A scheme AUTH_SCHEME_ORDER N/A N/A N/A N/A challenges has_key scheme N/A N/A N/A N/A N/A AUTH_SCHEME_CLASSES N/A scheme cred host request_uri headers response content self N/A add_credentials N/A N/A self name password domain N/A N/A N/A Add a name and password that will be used
        any time a request requires authentication. N/A N/A N/A N/A self credentials add name password domain N/A add_certificate N/A N/A self key cert domain N/A N/A N/A Add a key and cert that will be used
        any time a request requires authentication. N/A N/A N/A N/A self certificates add key cert domain N/A clear_credentials N/A N/A self N/A N/A N/A Remove all the names and passwords
        that are used for authentication N/A N/A N/A N/A self credentials clear N/A N/A self authorizations N/A N/A _conn_request N/A N/A self conn request_uri method body headers N/A N/A N/A i N/A range 2 N/A N/A N/A N/A N/A N/A conn sock None N/A N/A N/A N/A conn connect N/A N/A N/A conn request method request_uri body headers N/A N/A N/A N/A socket timeout N/A N/A N/A N/A N/A socket gaierror N/A N/A N/A N/A conn close N/A N/A ServerNotFoundError N/A Unable to find the server at %s N/A conn host N/A N/A ssl_SSLError N/A N/A N/A N/A conn close N/A N/A N/A N/A socket error N/A e N/A N/A err 0 N/A N/A hasattr e args N/A N/A err N/A N/A getattr e args N/A 0 N/A N/A err N/A e errno N/A N/A err N/A errno ECONNREFUSED N/A N/A N/A N/A N/A httplib HTTPException N/A N/A N/A N/A conn sock None N/A N/A N/A i 0 N/A N/A N/A N/A conn close N/A N/A N/A conn connect N/A N/A N/A N/A N/A conn close N/A N/A N/A i 0 N/A N/A N/A N/A conn close N/A N/A N/A conn connect N/A N/A N/A N/A N/A response N/A N/A conn getresponse N/A N/A N/A N/A N/A socket error N/A httplib HTTPException N/A N/A N/A i 0 N/A N/A N/A N/A conn close N/A N/A N/A conn connect N/A N/A N/A N/A N/A content N/A N/A method HEAD N/A N/A N/A N/A response close N/A N/A content N/A N/A response read N/A response N/A Response response N/A N/A method HEAD N/A N/A content N/A _decompressContent response content N/A N/A N/A response content N/A _request N/A N/A self conn host absolute_uri request_uri method body headers redirections cachekey N/A N/A N/A Do the actual request using the connection object
        and also follow one level of redirects if necessary N/A auths N/A N/A N/A N/A auth depth request_uri auth N/A auth N/A self authorizations N/A N/A auth inscope host request_uri N/A auth N/A N/A auths N/A N/A N/A sorted auths N/A 0 N/A 1 None N/A auth N/A N/A N/A N/A auth request method request_uri headers body N/A N/A response content N/A N/A self _conn_request conn request_uri method body headers N/A auth N/A N/A N/A N/A auth response response body N/A N/A N/A N/A auth request method request_uri headers body N/A N/A response content N/A N/A self _conn_request conn request_uri method body headers N/A N/A response _stale_digest 1 N/A N/A N/A response status 401 N/A N/A authorization N/A N/A self _auth_from_challenge host request_uri headers response content N/A N/A N/A N/A authorization request method request_uri headers body N/A N/A response content N/A N/A self _conn_request conn request_uri method body headers N/A N/A N/A response status 401 N/A N/A N/A N/A N/A self authorizations append authorization N/A N/A N/A authorization response response body N/A N/A N/A N/A self follow_all_redirects N/A method N/A GET HEAD N/A N/A response status 303 N/A N/A N/A N/A self follow_redirects N/A N/A response status N/A 300 301 302 303 307 N/A N/A redirections N/A N/A N/A N/A N/A N/A response has_key location N/A N/A response status 300 N/A N/A N/A RedirectMissingLocation N/A _ Redirected but the response is missing a Location: header. response content N/A N/A N/A response has_key location N/A N/A location N/A response N/A location N/A N/A scheme authority path query fragment N/A parse_uri location N/A N/A authority None N/A N/A N/A response N/A location N/A N/A urlparse urljoin absolute_uri location N/A N/A N/A N/A response status 301 N/A method N/A GET HEAD N/A N/A N/A response N/A -x-permanent-redirect-url N/A response N/A location N/A N/A N/A N/A response has_key content-location N/A N/A N/A response N/A content-location absolute_uri N/A N/A _updateCache headers response content N/A self cache cachekey N/A N/A N/A headers has_key if-none-match N/A N/A N/A headers N/A if-none-match N/A N/A N/A headers has_key if-modified-since N/A N/A N/A headers N/A if-modified-since N/A N/A N/A response has_key location N/A N/A location N/A response N/A location N/A old_response N/A N/A copy deepcopy response N/A N/A N/A N/A old_response has_key content-location N/A N/A N/A old_response N/A content-location absolute_uri N/A redirect_method method N/A N/A N/A response status N/A 302 303 N/A N/A redirect_method GET N/A body None N/A N/A response content N/A N/A self request location redirect_method body body headers headers redirections N/A redirections 1 N/A N/A response previous old_response N/A N/A N/A RedirectLimit Redirected more times than rediection_limit allows. response content N/A N/A N/A N/A N/A response status N/A 200 203 N/A method N/A GET HEAD N/A N/A N/A N/A N/A response has_key content-location N/A N/A N/A response N/A content-location absolute_uri N/A N/A _updateCache headers response content N/A self cache cachekey N/A N/A response content N/A _normalize_headers N/A N/A self headers N/A N/A N/A N/A _normalize_headers headers N/A request N/A N/A self uri method body headers redirections connection_type N/A GET None None DEFAULT_MAX_REDIRECTS None N/A N/A  Performs a single HTTP request.
The 'uri' is the URI of the HTTP resource and can begin
with either 'http' or 'https'. The value of 'uri' must be an absolute URI.

The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
There is no restriction on the methods allowed.

The 'body' is the entity body to be sent with the request. It is a string
object.

Any extra headers that are to be sent with the request should be provided in the
'headers' dictionary.

The maximum number of redirect to follow before raising an
exception is 'redirections. The default is 5.

The return value is a tuple of (response, content), the first
being and instance of the 'Response' class, the second being
a string that contains the response entity body.
         N/A N/A N/A N/A headers None N/A N/A headers N/A N/A N/A headers N/A N/A self _normalize_headers headers N/A N/A N/A N/A headers has_key user-agent N/A N/A N/A headers N/A user-agent N/A Python-httplib2/%s (gzip) __version__ N/A uri N/A iri2uri uri N/A N/A scheme authority request_uri defrag_uri N/A urlnorm uri N/A domain_port N/A N/A N/A authority split : N/A 0 2 N/A N/A N/A N/A len domain_port 2 N/A N/A domain_port N/A 1 443 N/A scheme http N/A N/A scheme https N/A authority N/A domain_port N/A 0 N/A conn_key N/A N/A scheme : authority N/A N/A conn_key N/A self connections N/A N/A conn N/A N/A self connections N/A conn_key N/A N/A N/A connection_type N/A N/A connection_type N/A SCHEME_TO_CONNECTION N/A scheme N/A certs N/A list N/A N/A N/A self certificates iter authority N/A N/A issubclass connection_type HTTPSConnectionWithTimeout N/A N/A certs N/A N/A conn N/A N/A self connections N/A conn_key N/A connection_type authority key_file N/A N/A certs N/A 0 N/A 0 cert_file N/A N/A certs N/A 0 N/A 1 timeout N/A self timeout proxy_info N/A self proxy_info ca_certs N/A self ca_certs disable_ssl_certificate_validation N/A self disable_ssl_certificate_validation N/A N/A conn N/A N/A self connections N/A conn_key N/A connection_type authority timeout N/A self timeout proxy_info N/A self proxy_info ca_certs N/A self ca_certs disable_ssl_certificate_validation N/A self disable_ssl_certificate_validation N/A N/A conn N/A N/A self connections N/A conn_key N/A connection_type authority timeout N/A self timeout proxy_info N/A self proxy_info N/A N/A N/A conn set_debuglevel debuglevel N/A N/A N/A range headers N/A accept-encoding headers N/A N/A N/A headers N/A accept-encoding gzip, deflate N/A info N/A N/A N/A email Message Message N/A cached_value None N/A N/A self cache N/A N/A cachekey defrag_uri N/A cached_value N/A N/A N/A self cache get cachekey N/A cached_value N/A N/A N/A N/A N/A info content N/A N/A cached_value split 1 N/A feedparser N/A N/A N/A email FeedParser FeedParser N/A N/A N/A feedparser feed info N/A info N/A N/A feedparser close N/A N/A feedparser _parse None N/A N/A N/A IndexError N/A N/A N/A N/A N/A self cache delete cachekey N/A cachekey None N/A cached_value None N/A N/A cachekey None N/A N/A N/A method N/A self optimistic_concurrency_methods N/A self cache N/A N/A info has_key etag N/A N/A self ignore_etag N/A if-match headers N/A N/A N/A headers N/A if-match N/A info N/A etag N/A N/A N/A method N/A GET HEAD N/A self cache cachekey N/A N/A N/A N/A N/A self cache delete cachekey N/A N/A N/A method N/A GET HEAD N/A vary info N/A N/A vary N/A info N/A vary N/A vary_headers N/A N/A N/A N/A N/A N/A vary lower replace split , N/A header vary_headers N/A N/A key N/A -varied-%s header N/A value N/A info N/A key N/A N/A N/A N/A headers get header None value N/A N/A cached_value None N/A N/A N/A cached_value N/A method N/A GET HEAD N/A self cache N/A range headers N/A N/A N/A N/A info has_key -x-permanent-redirect-url N/A N/A N/A redirections 0 N/A N/A N/A RedirectLimit Redirected more times than rediection_limit allows. N/A N/A N/A response new_content N/A N/A self request N/A info N/A -x-permanent-redirect-url GET headers headers redirections N/A redirections 1 N/A N/A response previous N/A Response info N/A N/A N/A response previous fromcache True N/A N/A entry_disposition N/A _entry_disposition info headers N/A N/A entry_disposition FRESH N/A N/A N/A cached_value N/A N/A N/A info N/A status 504 N/A content N/A response N/A Response info N/A cached_value N/A N/A N/A response fromcache True N/A N/A response content N/A N/A entry_disposition STALE N/A N/A N/A N/A N/A info has_key etag N/A N/A self ignore_etag N/A N/A if-none-match headers N/A N/A N/A headers N/A if-none-match N/A info N/A etag N/A N/A N/A N/A info has_key last-modified N/A N/A last-modified headers N/A N/A N/A headers N/A if-modified-since N/A info N/A last-modified N/A N/A N/A entry_disposition TRANSPARENT N/A N/A N/A N/A response new_content N/A N/A self _request conn authority uri request_uri method body headers redirections cachekey N/A N/A N/A N/A response status 304 N/A method GET N/A N/A key N/A _get_end2end_headers response N/A N/A N/A info N/A key N/A response N/A key N/A merged_response N/A Response info N/A N/A hasattr response _stale_digest N/A N/A N/A merged_response _stale_digest N/A response _stale_digest N/A N/A _updateCache headers merged_response content N/A self cache cachekey N/A response merged_response N/A N/A response status 200 N/A N/A response fromcache True N/A N/A N/A N/A response status 200 N/A N/A content new_content N/A N/A N/A N/A N/A self cache delete cachekey N/A content new_content N/A N/A cc N/A _parse_cache_control headers N/A N/A N/A cc has_key only-if-cached N/A N/A N/A info N/A status 504 N/A response N/A Response info N/A content N/A N/A N/A response content N/A N/A self _request conn authority uri request_uri method body headers redirections cachekey N/A N/A N/A Exception N/A e N/A N/A N/A self force_exception_to_status_code N/A N/A N/A isinstance e HttpLib2ErrorWithResponse N/A N/A response N/A e response N/A content N/A e content N/A N/A response status 500 N/A N/A response reason N/A str e N/A N/A N/A isinstance e N/A socket timeout N/A N/A content Request Timeout N/A response N/A Response N/A content-type status content-length text/plain 408 N/A len content N/A N/A response reason Request Timeout N/A N/A content N/A str e N/A response N/A Response N/A content-type status content-length text/plain 400 N/A len content N/A N/A response reason Bad Request N/A N/A N/A N/A response content N/A N/A Response N/A dict N/A N/A An object more like email.Message than httplib.HTTPResponse. N/A Is this response from our local cache N/A fromcache False N/A HTTP protocol version used by server. 10 for HTTP/1.0, 11 for HTTP/1.1.  N/A version 11 N/A Status code returned by server.  N/A status 200 N/A Reason phrase returned by server. N/A reason Ok N/A previous None __init__ N/A N/A self info N/A N/A N/A N/A isinstance info N/A httplib HTTPResponse N/A N/A N/A key value N/A N/A info getheaders N/A N/A N/A self N/A N/A N/A key lower value N/A N/A self status N/A info status N/A N/A self N/A status N/A str N/A self status N/A N/A self reason N/A info reason N/A N/A self version N/A info version N/A N/A N/A isinstance info N/A N/A email Message Message N/A N/A N/A key value N/A N/A info items N/A N/A N/A self N/A key value N/A N/A self status N/A int N/A self N/A status N/A N/A N/A key value N/A N/A info iteritems N/A N/A N/A self N/A key value N/A N/A self status N/A int N/A N/A self get status N/A self status N/A __getattr__ N/A N/A self name N/A N/A N/A N/A name dict N/A N/A self N/A N/A AttributeError name N/A N/A