Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad ListLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Num Assign NameStore Call NameLoad NameLoad ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad handlers ExceptHandler body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Call NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Num Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num NameLoad body Assign AttributeStore NameLoad attr IfExp AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Call NameLoad keyword BinOpMult Num Num Return Dict Str Str Str Call AttributeLoad NameLoad attr Str TupleLoad TupleLoad Str BinOpMod Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad TupleLoad TupleLoad Str BinOpMod Str AttributeLoad NameLoad attr TupleLoad TupleLoad Str Str TupleLoad TupleLoad Str BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr CompareIn AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore NameLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr NameLoad body Continue Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign TupleStore NameStore NameStore NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Str Assign NameStore NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num If UnaryOpNot NameLoad body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq Call AttributeLoad NameLoad attr Str Str Str body If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr CompareNotEq NameLoad Str CompareNotEq NameLoad Str body AugAssignAdd AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse AugAssignAdd AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Num If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Index Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Call AttributeLoad Str attr Call NameLoad NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Return Call Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Return ListLoad TupleLoad Num Num Num Str TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr Str orelse Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Continue TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return If CompareGt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign TupleStore AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Return Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Num Str Str Str Str NameLoad body Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str If NameLoad body Assign NameStore Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Num Assign AttributeStore NameLoad attr BoolOpOr NameLoad Num Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad NameLoad Str comprehension NameStore NameLoad Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotIn AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad body Return Call AttributeLoad Str attr ListLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr Num Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Assign NameStore TupleLoad Str Str Assign NameStore CompareIn AttributeLoad Call NameLoad NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr Num orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return CompareEq AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Lambda arguments args NameParam defaults AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad For TupleStore NameStore NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Str body TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Yield Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Yield Expr Call AttributeLoad NameLoad attr decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad Num NameLoad NameLoad Num kwarg body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Str NameLoad body AugAssignAdd NameStore Str If BoolOpAnd Call NameLoad NameLoad NameLoad CompareGt Call NameLoad NameLoad Num body For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad orelse Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Num NameLoad kwarg body Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Call NameLoad Str NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Continue Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body With Call NameLoad body Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list
N/A __future__ unicode_literals N/A re N/A codecs N/A inspect N/A socket N/A functools N/A itertools N/A warnings N/A traceback N/A json N/A contextlib N/A threading compat PY3 StringIO text_type byte_type BaseClass BaseHTTPRequestHandler quote quote_plus urlunsplit urlsplit parse_qs unquote_utf8 ClassTypes basestring http STATUSES HttpBaseClass parse_requestline last_requestline utils utf8 decode_utf8 errors HTTPrettyError UnmockedError datetime datetime datetime timedelta errno EAGAIN N/A old_socket N/A socket socket N/A old_SocketType N/A socket SocketType N/A old_create_connection N/A socket create_connection N/A old_gethostbyname N/A socket gethostbyname N/A old_gethostname N/A socket gethostname N/A old_getaddrinfo N/A socket getaddrinfo N/A old_socksocket None N/A old_ssl_wrap_socket None N/A old_sslwrap_simple None N/A old_sslsocket None N/A MULTILINE_ANY_REGEX N/A N/A re compile .* N/A re M N/A N/A N/A socks N/A old_socksocket N/A socks socksocket N/A N/A N/A ImportError N/A N/A socks None N/A N/A N/A ssl N/A old_ssl_wrap_socket N/A ssl wrap_socket N/A N/A PY3 N/A N/A old_sslwrap_simple N/A ssl sslwrap_simple N/A old_sslsocket N/A ssl SSLSocket N/A N/A N/A ImportError N/A N/A ssl None N/A DEFAULT_HTTP_PORTS N/A frozenset N/A 80 N/A POTENTIAL_HTTP_PORTS N/A set DEFAULT_HTTP_PORTS N/A DEFAULT_HTTPS_PORTS N/A frozenset N/A 443 N/A POTENTIAL_HTTPS_PORTS N/A set DEFAULT_HTTPS_PORTS HTTPrettyRequest N/A BaseHTTPRequestHandler BaseClass N/A N/A Represents a HTTP request. It takes a valid multi-line, ``
``
    separated string with HTTP headers and parse them out using the
    internal `parse_request` method.

    It also replaces the `rfile` and `wfile` attributes with StringIO
    instances so that we garantee that it won't make any I/O, neighter
    for writing nor reading.

    It has some convenience attributes:

    ``headers`` -> a mimetype object that can be cast into a dictionary,
    contains all the request headers

    ``method`` -> the HTTP method used in this request

    ``querystring`` -> a dictionary containing lists with the
    attributes. Please notice that if you need a single value from a
    query string you will need to get it manually like:

    ::

      >>> request.querystring
      {'name': ['Gabriel Falcao']}
      >>> print request.querystring['name'][0]

    ``parsed_body`` -> a dictionary containing parsed request body or
    None if HTTPrettyRequest doesn't know how to parse it.  It
    currently supports parsing body data that was sent under the
    ``content`-type` headers values: ``application/json`` or
    ``application/x-www-form-urlencoded``
     __init__ N/A N/A self headers body N/A N/A N/A N/A self raw_headers N/A utf8 N/A N/A headers strip N/A N/A self body N/A utf8 body N/A N/A self rfile N/A StringIO N/A N/A join N/A N/A self raw_headers N/A self body N/A N/A self wfile N/A StringIO N/A N/A self raw_requestline N/A N/A N/A self rfile readline N/A N/A self error_code None N/A N/A self error_message None N/A N/A N/A N/A self parse_request N/A N/A N/A N/A self method N/A self command N/A N/A N/A N/A self path N/A N/A N/A self path encode iso-8859-1 N/A N/A N/A UnicodeDecodeError N/A N/A N/A N/A self path N/A decode_utf8 N/A self path N/A qstring N/A N/A N/A N/A self path split ? 1 N/A -1 N/A N/A self querystring N/A N/A self parse_querystring qstring N/A N/A self parsed_body N/A N/A self parse_request_body N/A self body N/A __nonzero__ N/A N/A self N/A N/A N/A N/A N/A bool N/A self body N/A bool N/A self raw_headers N/A __str__ N/A N/A self N/A N/A N/A tmpl <HTTPrettyRequest("{0}", total_headers={1}, body_length={2})> N/A N/A N/A tmpl format N/A N/A N/A self headers get content-type N/A len N/A self headers N/A len N/A self body N/A parse_querystring N/A N/A self qs N/A N/A N/A expanded N/A unquote_utf8 qs N/A parsed N/A parse_qs expanded N/A result N/A N/A k parsed N/A N/A N/A result N/A k N/A list N/A map decode_utf8 N/A parsed N/A k N/A result N/A parse_request_body N/A N/A self body N/A N/A N/A Attempt to parse the post based on the content-type passed.
        Return the regular body if not N/A PARSING_FUNCTIONS N/A application/json text/json application/x-www-form-urlencoded N/A json loads N/A json loads N/A self parse_querystring N/A FALLBACK_FUNCTION N/A N/A N/A x N/A x N/A content_type N/A N/A N/A self headers get content-type N/A do_parse N/A N/A PARSING_FUNCTIONS get content_type FALLBACK_FUNCTION N/A N/A N/A body N/A decode_utf8 body N/A N/A do_parse body N/A N/A N/A N/A body N/A N/A EmptyRequestHeaders N/A dict N/A N/A N/A HTTPrettyRequestEmpty N/A object N/A N/A body N/A headers N/A EmptyRequestHeaders N/A FakeSockFile N/A StringIO N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self socket close N/A N/A N/A StringIO close self N/A N/A FakeSSLSocket N/A object N/A __init__ N/A N/A self sock N/A args kw N/A N/A N/A self _httpretty_sock sock N/A __getattr__ N/A N/A self attr N/A N/A N/A N/A getattr N/A self _httpretty_sock attr N/A N/A fakesock N/A object N/A socket N/A object N/A N/A _entry None N/A debuglevel 0 N/A _sent_data N/A __init__ N/A N/A self family type protocol _sock N/A N/A socket AF_INET N/A socket SOCK_STREAM 0 None N/A N/A N/A self truesock N/A N/A httpretty allow_net_connect N/A old_socket family type protocol None N/A N/A self _closed True N/A N/A self fd N/A FakeSockFile N/A N/A N/A self fd socket N/A _sock self N/A N/A self timeout N/A socket _GLOBAL_DEFAULT_TIMEOUT N/A N/A self _sock N/A _sock self N/A N/A self is_http False N/A N/A self _bufsize 1024 N/A getpeercert N/A N/A self N/A a kw N/A N/A now N/A N/A datetime now N/A shift N/A now N/A timedelta days N/A 30 12 N/A N/A notAfter subjectAltName subject N/A N/A shift strftime %b %d %H:%M:%S GMT N/A N/A DNS N/A *%s N/A self _host N/A DNS N/A self _host N/A DNS * N/A N/A N/A organizationName N/A *.%s N/A self _host N/A N/A organizationalUnitName Domain Control Validated N/A N/A commonName N/A *.%s N/A self _host N/A ssl N/A N/A self sock N/A args kw N/A N/A sock N/A setsockopt N/A N/A self level optname value N/A N/A N/A N/A self truesock N/A N/A N/A N/A N/A self truesock setsockopt level optname value N/A connect N/A N/A self address N/A N/A N/A N/A self _closed False N/A N/A N/A N/A self _address N/A N/A self _host N/A self _port address N/A N/A N/A ValueError N/A N/A N/A self is_http False N/A N/A ports_to_check N/A N/A POTENTIAL_HTTP_PORTS union POTENTIAL_HTTPS_PORTS N/A N/A self is_http N/A N/A self _port ports_to_check N/A N/A N/A self is_http N/A N/A N/A self truesock N/A N/A N/A N/A N/A self truesock connect N/A self _address N/A N/A N/A UnmockedError N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self is_http N/A self _closed N/A N/A N/A self truesock N/A N/A N/A N/A N/A self truesock close N/A N/A self _closed True N/A makefile N/A N/A self mode bufsize N/A r -1 N/A N/A Returns this fake socket's own StringIO buffer.

            If there is an entry associated with the socket, the file
            descriptor gets filled in with the entry data before being
            returned.
             N/A N/A self _mode mode N/A N/A self _bufsize bufsize N/A N/A self _entry N/A N/A t N/A N/A threading Thread target N/A N/A self _entry fill_filekind args N/A N/A self fd N/A N/A N/A t start N/A N/A N/A self timeout N/A socket _GLOBAL_DEFAULT_TIMEOUT N/A N/A timeout None N/A N/A timeout N/A self timeout N/A N/A N/A t join timeout N/A N/A N/A t isAlive N/A N/A N/A socket timeout N/A N/A self fd N/A real_sendall N/A N/A self data N/A args kw N/A N/A Sends data to the remote server. This method is called
            when HTTPretty identifies that someone is trying to send
            non-http data.

            The received bytes are written in this socket's StringIO
            buffer so that HTTPretty can return it accordingly when
            necessary.
             N/A N/A N/A self truesock N/A N/A N/A UnmockedError N/A N/A N/A self is_http N/A N/A N/A N/A N/A self truesock sendall data args kw N/A N/A N/A N/A self truesock connect N/A self _address N/A N/A N/A N/A self truesock setblocking 1 N/A N/A N/A N/A self truesock sendall data args kw N/A should_continue True N/A should_continue N/A N/A N/A N/A received N/A N/A N/A self truesock recv N/A self _bufsize N/A N/A N/A N/A self fd write received N/A should_continue N/A bool N/A N/A received strip N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A e errno EAGAIN N/A N/A N/A N/A N/A N/A N/A self fd seek 0 N/A sendall N/A N/A self data N/A args kw N/A N/A N/A N/A N/A self _sent_data append data N/A N/A self fd N/A FakeSockFile N/A N/A N/A self fd socket self N/A N/A N/A N/A requestline _ N/A N/A data split 1 N/A N/A method path version N/A parse_requestline N/A decode_utf8 requestline N/A is_parsing_headers True N/A N/A N/A ValueError N/A N/A path N/A is_parsing_headers False N/A N/A N/A self _entry None N/A N/A N/A N/A self real_sendall data args kw N/A N/A method N/A N/A self _entry method N/A path N/A N/A N/A self _entry info path N/A N/A N/A N/A self fd seek 0 N/A N/A is_parsing_headers N/A N/A N/A N/A len N/A self _sent_data 1 N/A N/A headers N/A utf8 N/A last_requestline N/A self _sent_data N/A meta N/A N/A N/A self _entry request headers N/A body N/A utf8 N/A N/A self _sent_data N/A -1 N/A N/A N/A N/A meta get transfer-encoding chunked N/A N/A N/A N/A N/A N/A body isdigit N/A body N/A body 0

 N/A N/A N/A N/A N/A self _entry request body body N/A N/A N/A N/A N/A self _entry request body body N/A N/A N/A httpretty historify_request headers body False N/A N/A s N/A urlsplit path N/A N/A N/A POTENTIAL_HTTP_PORTS add N/A int N/A N/A s port 80 N/A parts N/A list N/A map utf8 N/A N/A data split 1 N/A N/A N/A len parts 2 N/A N/A N/A headers body parts N/A N/A headers N/A body data N/A request N/A N/A httpretty historify_request headers body N/A info N/A URIInfo hostname N/A self _host port N/A self _port path N/A s path query N/A s query last_request request N/A N/A matcher entries N/A N/A httpretty match_uriinfo info N/A N/A entries N/A N/A N/A self _entry None N/A N/A N/A self real_sendall data N/A N/A N/A self _entry N/A N/A matcher get_next_entry method info request N/A debug N/A N/A self truesock_func N/A a kw N/A N/A N/A self is_http N/A N/A frame N/A N/A N/A N/A inspect stack N/A 0 N/A 0 N/A lines N/A list N/A map utf8 N/A N/A traceback format_stack frame N/A message N/A HTTPretty intercepted and unexpected socket method call. Please open an issue at 'https://github.com/gabrielfalcao/HTTPretty/issues' And paste the following traceback:
 N/A N/A join N/A decode_utf8 lines N/A N/A RuntimeError N/A N/A join message N/A N/A N/A self truesock N/A N/A N/A UnmockedError N/A N/A N/A getattr N/A self truesock truesock_func a kw N/A settimeout N/A N/A self new_timeout N/A N/A N/A N/A self timeout new_timeout N/A send N/A N/A self N/A args kwargs N/A N/A N/A N/A self debug send args kwargs N/A sendto N/A N/A self N/A args kwargs N/A N/A N/A N/A self debug sendto args kwargs N/A recvfrom_into N/A N/A self N/A args kwargs N/A N/A N/A N/A self debug recvfrom_into args kwargs N/A recv_into N/A N/A self N/A args kwargs N/A N/A N/A N/A self debug recv_into args kwargs N/A recvfrom N/A N/A self N/A args kwargs N/A N/A N/A N/A self debug recvfrom args kwargs N/A recv N/A N/A self N/A args kwargs N/A N/A N/A N/A self debug recv args kwargs N/A __getattr__ N/A N/A self name N/A N/A N/A N/A N/A self truesock N/A N/A N/A UnmockedError N/A N/A getattr N/A self truesock name N/A N/A N/A fake_wrap_socket N/A N/A s N/A args kw N/A N/A s N/A create_fake_connection N/A N/A address timeout source_address N/A N/A socket _GLOBAL_DEFAULT_TIMEOUT None N/A N/A s N/A N/A fakesock socket N/A socket AF_INET N/A socket SOCK_STREAM N/A socket IPPROTO_TCP N/A N/A timeout N/A socket _GLOBAL_DEFAULT_TIMEOUT N/A N/A N/A N/A s settimeout timeout N/A source_address N/A N/A N/A N/A s bind source_address N/A N/A N/A s connect address N/A s N/A fake_gethostbyname N/A N/A host N/A N/A N/A 127.0.0.1 N/A fake_gethostname N/A N/A N/A N/A N/A localhost N/A fake_getaddrinfo N/A N/A host port family socktype proto flags N/A None None None None N/A N/A N/A N/A 2 1 6 N/A host port N/A Entry N/A BaseClass N/A __init__ N/A N/A self method uri body adding_headers forcing_headers status streaming N/A None None 200 False headers N/A N/A N/A self method method N/A N/A self uri uri N/A N/A self info None N/A N/A self request None N/A N/A self body_is_callable False N/A N/A hasattr body __call__ N/A N/A N/A self callable_body body N/A N/A self body None N/A N/A self body_is_callable True N/A N/A N/A isinstance body text_type N/A N/A N/A self body N/A utf8 body N/A N/A N/A self body body N/A N/A self streaming streaming N/A N/A N/A streaming N/A N/A self body_is_callable N/A N/A N/A self body_length N/A len N/A N/A self body N/A N/A N/A self body_length 0 N/A N/A self adding_headers N/A adding_headers N/A N/A N/A self forcing_headers N/A forcing_headers N/A N/A N/A self status N/A int status N/A N/A k v N/A N/A headers items N/A N/A name N/A N/A N/A N/A - join N/A N/A k split _ title N/A N/A N/A self adding_headers N/A name v N/A N/A N/A self validate N/A validate N/A N/A self N/A N/A N/A content_length_keys N/A Content-Length content-length N/A key content_length_keys N/A N/A got N/A N/A N/A self adding_headers get key N/A N/A N/A self forcing_headers get key None N/A N/A got None N/A N/A N/A N/A N/A igot N/A int got N/A N/A N/A N/A ValueError TypeError N/A N/A N/A N/A warnings warn N/A HTTPretty got to register the Content-Length header with "%r" which is not a number got N/A N/A N/A igot N/A self body_length N/A N/A N/A HTTPrettyError N/A HTTPretty got inconsistent parameters. The header Content-Length you registered expects size "%d" but the body you registered for that has actually length "%d". N/A igot N/A self body_length N/A __str__ N/A N/A self N/A N/A N/A N/A <Entry %s %s getting %d> N/A N/A self method N/A self uri N/A self status N/A normalize_headers N/A N/A self headers N/A N/A N/A new N/A N/A k headers N/A N/A new_k N/A N/A - join N/A N/A N/A s lower N/A s N/A N/A k split - N/A N/A new N/A new_k N/A headers N/A k N/A new N/A fill_filekind N/A N/A self fk N/A N/A N/A now N/A N/A datetime utcnow N/A headers N/A status date server connection N/A self status N/A N/A now strftime %a, %d %b %Y %H:%M:%S GMT Python/HTTPretty close N/A N/A self forcing_headers N/A N/A headers N/A self forcing_headers N/A N/A self adding_headers N/A N/A N/A N/A headers update N/A N/A self normalize_headers N/A self adding_headers N/A headers N/A N/A self normalize_headers headers N/A status N/A N/A headers get status N/A self status N/A N/A self body_is_callable N/A N/A N/A status headers N/A self body N/A N/A self callable_body N/A self request N/A N/A N/A self info full_url headers N/A N/A N/A headers update N/A content-length N/A byte_type N/A len N/A self body N/A string_list N/A N/A HTTP/1.1 %d %s N/A status N/A STATUSES N/A status N/A N/A date headers N/A N/A N/A N/A string_list append N/A date: %s N/A N/A headers pop date N/A N/A N/A self forcing_headers N/A N/A content_type N/A N/A headers pop content-type text/plain; charset=utf-8 N/A content_length N/A N/A headers pop content-length N/A self body_length N/A N/A N/A string_list append N/A content-type: %s content_type N/A N/A N/A self streaming N/A N/A N/A N/A string_list append N/A content-length: %s content_length N/A server N/A N/A headers pop server None N/A server N/A N/A N/A N/A string_list append N/A server: %s server N/A N/A k v N/A N/A headers items N/A N/A N/A N/A string_list append N/A N/A {0}: {1} format k v N/A item string_list N/A N/A N/A N/A fk write N/A N/A utf8 item N/A N/A N/A fk write N/A N/A self streaming N/A N/A N/A N/A self body body N/A N/A itertools tee N/A self body N/A chunk body N/A N/A N/A N/A fk write N/A utf8 chunk N/A N/A N/A N/A fk write N/A utf8 N/A self body N/A N/A N/A fk seek 0 N/A N/A url_fix N/A N/A s charset N/A utf-8 N/A N/A N/A scheme netloc path querystring fragment N/A urlsplit s N/A path N/A quote path /% N/A querystring N/A quote_plus querystring :&= N/A N/A urlunsplit N/A scheme netloc path querystring fragment N/A URIInfo N/A BaseClass N/A __init__ N/A N/A self username password hostname port path query fragment scheme last_request N/A 80 / None N/A N/A N/A self username N/A username N/A N/A self password N/A password N/A N/A self hostname N/A hostname N/A port N/A N/A port N/A int port N/A N/A N/A scheme https N/A N/A port 443 N/A N/A self port N/A port 80 N/A N/A self path N/A path N/A N/A self query N/A query N/A scheme N/A N/A N/A self scheme scheme N/A N/A N/A N/A self port POTENTIAL_HTTPS_PORTS N/A N/A N/A self scheme https N/A N/A N/A self scheme http N/A N/A self fragment N/A fragment N/A N/A self last_request last_request N/A __str__ N/A N/A self N/A N/A N/A attrs N/A username password hostname port path N/A fmt N/A N/A ,  join N/A N/A %s="%s" N/A k N/A getattr self k N/A k attrs N/A N/A <httpretty.URIInfo(%s)> fmt N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A text_type self N/A __eq__ N/A N/A self other N/A N/A N/A self_tuple N/A N/A self port N/A decode_utf8 N/A N/A N/A self hostname lower N/A url_fix N/A decode_utf8 N/A self path N/A other_tuple N/A N/A other port N/A decode_utf8 N/A N/A N/A other hostname lower N/A url_fix N/A decode_utf8 N/A other path N/A N/A self_tuple other_tuple N/A full_url N/A N/A self use_querystring N/A True N/A N/A credentials N/A N/A self password N/A N/A credentials N/A N/A {0}:{1}@ format N/A self username N/A self password N/A query N/A N/A use_querystring N/A self query N/A N/A query N/A N/A ?{0} format N/A decode_utf8 N/A self query N/A result N/A N/A {scheme}://{credentials}{domain}{path}{query} format scheme N/A self scheme credentials credentials domain N/A N/A self get_full_domain path N/A decode_utf8 N/A self path query query N/A result N/A get_full_domain N/A N/A self N/A N/A N/A hostname N/A decode_utf8 N/A self hostname N/A N/A N/A self port N/A DEFAULT_HTTP_PORTS DEFAULT_HTTPS_PORTS N/A N/A N/A N/A : join N/A hostname N/A str N/A self port N/A hostname N/A from_uri N/A N/A cls uri entry N/A N/A N/A result N/A urlsplit uri N/A N/A N/A result scheme https N/A N/A N/A N/A POTENTIAL_HTTPS_PORTS add N/A int N/A N/A result port 443 N/A N/A N/A N/A POTENTIAL_HTTP_PORTS add N/A int N/A N/A result port 80 N/A N/A cls N/A result username N/A result password N/A result hostname N/A result port N/A result path N/A result query N/A result fragment N/A result scheme entry N/A classmethod N/A URIMatcher N/A object N/A N/A regex None N/A info None __init__ N/A N/A self uri entries match_querystring priority N/A False 0 N/A N/A N/A self _match_querystring match_querystring N/A regex_types N/A SRE_Pattern org.python.modules.sre.PatternObject N/A is_regex N/A N/A N/A type uri __name__ regex_types N/A is_regex N/A N/A N/A self regex uri N/A result N/A urlsplit N/A uri pattern N/A N/A N/A result scheme https N/A N/A N/A N/A POTENTIAL_HTTPS_PORTS add N/A int N/A N/A result port 443 N/A N/A N/A N/A POTENTIAL_HTTP_PORTS add N/A int N/A N/A result port 80 N/A N/A N/A self info N/A N/A URIInfo from_uri uri entries N/A N/A self entries entries N/A N/A self priority priority N/A N/A self current_entries N/A N/A matches N/A N/A self info N/A N/A N/A N/A self info N/A N/A N/A N/A self info info N/A N/A N/A N/A N/A self regex search N/A N/A info full_url use_querystring N/A self _match_querystring N/A __str__ N/A N/A self N/A N/A N/A wrap URLMatcher({0}) N/A N/A self info N/A N/A N/A N/A wrap format N/A text_type N/A self info N/A N/A N/A N/A wrap format N/A N/A self regex pattern N/A get_next_entry N/A N/A self method info request N/A N/A N/A Cycle through available responses, but only once.
        Any subsequent requests will receive the last response N/A N/A method N/A self current_entries N/A N/A N/A N/A self current_entries N/A method 0 N/A entries_for_method N/A e N/A e N/A self entries N/A N/A e method method N/A N/A N/A N/A self current_entries N/A method N/A len entries_for_method N/A N/A N/A N/A self current_entries N/A method -1 N/A N/A N/A N/A self entries N/A entries_for_method N/A N/A N/A ValueError N/A I have no entries for method %s: %s N/A method self N/A entry N/A entries_for_method N/A N/A N/A self current_entries N/A method N/A N/A N/A N/A self current_entries N/A method -1 N/A N/A N/A N/A self current_entries N/A method 1 N/A N/A entry info info N/A N/A entry request request N/A entry N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A text_type self N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A text_type self N/A text_type other N/A N/A httpretty N/A HttpBaseClass N/A N/A The URI registration class N/A _entries N/A N/A latest_requests N/A N/A last_request N/A HTTPrettyRequestEmpty N/A _is_enabled False N/A allow_net_connect True match_uriinfo N/A N/A cls info N/A N/A N/A items N/A sorted N/A N/A N/A cls _entries items key N/A N/A N/A matcher_entries N/A N/A N/A matcher_entries N/A 0 priority reverse True N/A N/A matcher value items N/A N/A N/A N/A matcher matches info N/A N/A N/A matcher info N/A N/A None N/A N/A classmethod record N/A N/A cls filename indentation encoding N/A 4 utf-8 N/A N/A N/A N/A urllib3 N/A N/A N/A ImportError N/A N/A msg HTTPretty requires urllib3 installed for recording actual requests. N/A N/A RuntimeError msg N/A http N/A N/A urllib3 PoolManager N/A N/A N/A cls enable N/A calls N/A record_request N/A N/A request uri headers N/A N/A N/A N/A N/A cls disable N/A response N/A N/A http request N/A request method uri N/A N/A N/A calls append N/A request response N/A uri method headers body querystring uri N/A request method N/A dict N/A request headers N/A decode_utf8 N/A request body N/A request querystring N/A status body headers N/A response status N/A decode_utf8 N/A response data N/A dict N/A response headers N/A N/A N/A cls enable N/A N/A N/A response status N/A response headers N/A response data N/A N/A method N/A cls METHODS N/A N/A N/A N/A cls register_uri method MULTILINE_ANY_REGEX body record_request N/A N/A N/A N/A N/A cls disable N/A N/A N/A codecs open filename w encoding f N/A N/A N/A N/A f write N/A N/A json dumps calls indent indentation N/A classmethod N/A contextlib contextmanager playback N/A N/A cls origin N/A N/A N/A N/A N/A cls enable N/A data N/A N/A json loads N/A N/A N/A open origin read N/A item data N/A N/A uri N/A N/A item N/A request N/A uri N/A method N/A N/A item N/A request N/A method N/A body N/A N/A item N/A response N/A body N/A headers N/A N/A item N/A response N/A headers N/A N/A N/A cls register_uri method uri body body forcing_headers headers N/A N/A N/A N/A N/A cls disable N/A classmethod N/A contextlib contextmanager reset N/A N/A cls N/A N/A N/A N/A N/A POTENTIAL_HTTP_PORTS intersection_update DEFAULT_HTTP_PORTS N/A N/A N/A POTENTIAL_HTTPS_PORTS intersection_update DEFAULT_HTTPS_PORTS N/A N/A N/A N/A cls _entries clear N/A N/A cls latest_requests N/A N/A N/A cls last_request N/A HTTPrettyRequestEmpty N/A classmethod historify_request N/A N/A cls headers body append N/A True N/A N/A request N/A HTTPrettyRequest headers body N/A N/A cls last_request request N/A N/A append N/A N/A cls latest_requests N/A N/A N/A N/A N/A cls latest_requests append request N/A N/A N/A N/A cls latest_requests N/A -1 request N/A request N/A classmethod register_uri N/A N/A cls method uri body adding_headers forcing_headers status responses match_querystring priority N/A HTTPretty :) None None 200 None False 0 headers N/A N/A uri_is_string N/A isinstance uri basestring N/A N/A uri_is_string N/A N/A re search ^\w+://[^/]+[.]\w{2,}$ uri N/A N/A uri / N/A N/A N/A isinstance responses list N/A N/A len responses 0 N/A N/A response responses N/A N/A N/A response uri uri N/A N/A response method method N/A entries_for_this_uri responses N/A N/A N/A headers N/A N/A str body body N/A N/A headers N/A N/A str adding_headers adding_headers N/A N/A headers N/A N/A str forcing_headers forcing_headers N/A N/A headers N/A N/A str status status N/A entries_for_this_uri N/A N/A N/A cls Response method method uri uri headers N/A matcher N/A URIMatcher uri entries_for_this_uri match_querystring priority N/A N/A matcher N/A cls _entries N/A N/A N/A N/A N/A matcher entries extend N/A N/A cls _entries N/A matcher N/A N/A N/A cls _entries N/A matcher N/A N/A N/A cls _entries N/A matcher entries_for_this_uri N/A classmethod __str__ N/A N/A self N/A N/A N/A N/A <HTTPretty with %d URI entries> N/A len N/A self _entries N/A Response N/A N/A cls body method uri adding_headers forcing_headers status streaming N/A None None None None 200 False headers N/A N/A N/A headers N/A N/A str body body N/A N/A headers N/A N/A str adding_headers adding_headers N/A N/A headers N/A N/A str forcing_headers forcing_headers N/A N/A headers N/A N/A str status N/A int status N/A N/A headers N/A N/A str streaming streaming N/A N/A Entry method uri headers N/A classmethod disable N/A N/A cls N/A N/A N/A N/A cls _is_enabled False N/A N/A socket socket old_socket N/A N/A socket SocketType old_SocketType N/A N/A socket _socketobject old_socket N/A N/A socket create_connection old_create_connection N/A N/A socket gethostname old_gethostname N/A N/A socket gethostbyname old_gethostbyname N/A N/A socket getaddrinfo old_getaddrinfo N/A N/A N/A socket __dict__ N/A socket old_socket N/A N/A N/A socket __dict__ N/A _socketobject old_socket N/A N/A N/A socket __dict__ N/A SocketType old_SocketType N/A N/A N/A socket __dict__ N/A create_connection old_create_connection N/A N/A N/A socket __dict__ N/A gethostname old_gethostname N/A N/A N/A socket __dict__ N/A gethostbyname old_gethostbyname N/A N/A N/A socket __dict__ N/A getaddrinfo old_getaddrinfo N/A socks N/A N/A N/A socks socksocket old_socksocket N/A N/A N/A socks __dict__ N/A socksocket old_socksocket N/A ssl N/A N/A N/A ssl wrap_socket old_ssl_wrap_socket N/A N/A ssl SSLSocket old_sslsocket N/A N/A N/A ssl __dict__ N/A wrap_socket old_ssl_wrap_socket N/A N/A N/A ssl __dict__ N/A SSLSocket old_sslsocket N/A N/A PY3 N/A N/A N/A ssl sslwrap_simple old_sslwrap_simple N/A N/A N/A ssl __dict__ N/A sslwrap_simple old_sslwrap_simple N/A classmethod is_enabled N/A N/A cls N/A N/A N/A N/A cls _is_enabled N/A classmethod enable N/A N/A cls N/A N/A N/A N/A cls _is_enabled True N/A bad_socket_shadow N/A N/A socket socket N/A socket SocketType N/A N/A socket socket N/A fakesock socket N/A N/A socket _socketobject N/A fakesock socket N/A N/A bad_socket_shadow N/A N/A N/A socket SocketType N/A fakesock socket N/A N/A socket create_connection create_fake_connection N/A N/A socket gethostname fake_gethostname N/A N/A socket gethostbyname fake_gethostbyname N/A N/A socket getaddrinfo fake_getaddrinfo N/A N/A N/A socket __dict__ N/A socket N/A fakesock socket N/A N/A N/A socket __dict__ N/A _socketobject N/A fakesock socket N/A N/A bad_socket_shadow N/A N/A N/A N/A socket __dict__ N/A SocketType N/A fakesock socket N/A N/A N/A socket __dict__ N/A create_connection create_fake_connection N/A N/A N/A socket __dict__ N/A gethostname fake_gethostname N/A N/A N/A socket __dict__ N/A gethostbyname fake_gethostbyname N/A N/A N/A socket __dict__ N/A getaddrinfo fake_getaddrinfo N/A socks N/A N/A N/A socks socksocket N/A fakesock socket N/A N/A N/A socks __dict__ N/A socksocket N/A fakesock socket N/A ssl N/A N/A N/A ssl wrap_socket fake_wrap_socket N/A N/A ssl SSLSocket FakeSSLSocket N/A N/A N/A ssl __dict__ N/A wrap_socket fake_wrap_socket N/A N/A N/A ssl __dict__ N/A SSLSocket FakeSSLSocket N/A N/A PY3 N/A N/A N/A ssl sslwrap_simple fake_wrap_socket N/A N/A N/A ssl __dict__ N/A sslwrap_simple fake_wrap_socket N/A classmethod N/A httprettized N/A object N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A httpretty reset N/A N/A N/A httpretty enable N/A __exit__ N/A N/A self exc_type exc_value traceback N/A N/A N/A N/A N/A httpretty disable N/A N/A N/A httpretty reset N/A N/A httprettified N/A N/A test N/A N/A N/A A decorator tests that use HTTPretty decorate_class N/A N/A klass N/A N/A N/A attr N/A dir klass N/A N/A N/A N/A N/A attr startswith test_ N/A N/A N/A attr_value N/A getattr klass attr N/A N/A N/A hasattr attr_value __call__ N/A N/A N/A N/A setattr klass attr N/A decorate_callable attr_value N/A klass N/A decorate_callable N/A N/A test N/A N/A wrapper N/A N/A N/A args kw N/A N/A N/A httprettized N/A N/A N/A test args kw N/A N/A N/A functools wraps test N/A wrapper N/A N/A N/A isinstance test ClassTypes N/A N/A N/A decorate_class test N/A N/A decorate_callable test N/A