Module Expr Str Assign NameStore Str Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Import alias Import alias Import alias If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Num TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias FunctionDef arguments args defaults vararg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad CompareIn NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Str Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareEq NameLoad NameLoad body Break If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIn SubscriptLoad NameLoad Index Num Str body Assign NameStore Call AttributeLoad NameLoad attr orelse TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler type NameLoad body Print Str Continue Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareEq SubscriptLoad NameLoad Slice Num Str body Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If CompareLtLtE Num NameLoad NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Return Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Return Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If CompareLtLtE Num NameLoad NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpAdd Str Call NameLoad NameLoad If CompareLtE NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Return If BoolOpAnd AttributeLoad NameLoad attr CompareGt BinOpAdd AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str While NameLoad body If BoolOpAnd NameLoad CompareGtE Call NameLoad NameLoad NameLoad body Return NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If NameLoad body Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad AugAssignAdd NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad orelse AugAssignAdd NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str While NameLoad body If BoolOpAnd NameLoad CompareGtE Call NameLoad NameLoad NameLoad body Return NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body If CompareEq NameLoad Num body Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad AugAssignAdd NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad orelse Assign NameStore Call NameLoad BinOpSub NameLoad Call NameLoad NameLoad NameLoad AugAssignAdd NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad orelse If CompareEq NameLoad Num body AugAssignAdd NameStore AttributeLoad NameLoad attr orelse AugAssignAdd NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If CompareLtLtE Num NameLoad NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Raise Call NameLoad Str AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareEq NameLoad NameLoad body Break If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad While NameLoad body Expr Yield NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If CompareLtLtE Num NameLoad NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam 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 Str If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad 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 defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return orelse If UnaryOpNot NameLoad body Return Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Return If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Return If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num TryExcept body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num Return Assign NameStore Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore TupleLoad Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num If CompareNotEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Str Return Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr attr comprehension NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr If NameLoad body For NameStore NameLoad body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Return TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareGt NameLoad Num CompareNotIn Str SubscriptLoad NameLoad Slice NameLoad body Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Return TupleLoad NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Return TupleLoad NameLoad NameLoad NameLoad orelse Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num If BoolOpAnd NameLoad CompareLt NameLoad NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Return Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad BinOpMod Str Call NameLoad NameLoad Str If CompareIn SubscriptLoad NameLoad Slice Num TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad SubscriptLoad Call NameLoad Call NameLoad NameLoad Slice Num NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse If CompareNotIn Str NameLoad body If BoolOpOr CompareLt NameLoad Num CompareIn NameLoad TupleLoad Num Num Num body Pass orelse If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str orelse Assign AttributeStore NameLoad attr NameLoad If CompareNotIn Str NameLoad body If CompareEq AttributeLoad NameLoad attr Str body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str orelse If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Num If CompareGt NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Call AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad BinOpAdd BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list If UnaryOpNot NameLoad body ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body While NameLoad body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num If CompareLt NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr If CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Return NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq NameLoad NameLoad UnaryOpNot NameLoad body Return NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Delete NameDel Break Assert CompareLtE NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad Delete NameDel Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num If CompareGt Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr Call AttributeLoad NameLoad attr Str CompareEq Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Return NameLoad Delete NameDel If CompareLt NameLoad Num body If CompareLtE AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr While CompareNotEq NameLoad Str body Assign NameStore Call NameLoad Num If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice NameLoad Delete NameDel Break Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr If CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Return NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num NameLoad If CompareGtE NameLoad Num body AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Break orelse Return SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq NameLoad NameLoad UnaryOpNot NameLoad body Return NameLoad If CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice NameLoad Break Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list orelse ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body While NameLoad body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If CompareLt NameLoad Num body Assign NameStore ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str If CompareLtE AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareGtE NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Return SubscriptLoad NameLoad Slice NameLoad Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str While NameLoad body Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareGtE NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Slice NameLoad Break AugAssignAdd NameStore NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore AttributeLoad NameLoad attr If CompareLt NameLoad Num body If CompareLtE AttributeLoad NameLoad attr Num body Assert CompareEq NameLoad Str Assign NameStore ListLoad While CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Return SubscriptLoad NameLoad Slice NameLoad Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Slice NameLoad Break Return Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str Num NameLoad If CompareGtE NameLoad Num body AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Return SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call NameLoad NameLoad If CompareGtE NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Return SubscriptLoad NameLoad Slice NameLoad Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num NameLoad If CompareGtE NameLoad Num body AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Slice NameLoad Break Assign NameStore Call NameLoad NameLoad If CompareGtE NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Slice NameLoad Break AugAssignAdd NameStore NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body While NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq NameLoad Str body If BoolOpOr UnaryOpNot NameLoad BoolOpAnd NameLoad AttributeLoad NameLoad attr body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Return orelse If CompareNotIn NameLoad NameLoad body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr Str Call NameLoad handlers ExceptHandler type NameLoad body Return Return ExceptHandler type TupleLoad NameLoad NameLoad body Raise ExceptHandler type NameLoad body Return ExceptHandler type NameLoad body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr NameLoad ExceptHandler type NameLoad body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr Str Call NameLoad handlers ExceptHandler type NameLoad body Return decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str TryFinally body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad finalbody Assign NameStore NameStore NameStore NameLoad decorator_list Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIs NameLoad NameLoad body Return Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call NameLoad NameLoad body If BoolOpAnd CompareGt AttributeLoad NameLoad attr Num CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Break Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub NameStore Num If CompareGt NameLoad Num body For NameStore Call NameLoad Call NameLoad NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareGtE NameLoad Num body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad While AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr body TryExcept body If BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore BinOpSub NameLoad Call AttributeLoad NameLoad attr If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Pass decorator_list decorator_list TryExcept body Import alias handlers ExceptHandler type NameLoad body TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list orelse FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num Num body Raise Call NameLoad decorator_list orelse FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpBitOr NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword BoolOpOr NameLoad Num keyword NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Pass orelse Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad If Call NameLoad AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num handlers ExceptHandler body Pass Assign NameStore ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign NameStore ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str BinOpAdd AttributeLoad NameLoad attr TupleLoad Num Num orelse Assign NameStore ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body 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 Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad While AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body While CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad Str Str Str body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num handlers ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Dict If CompareIsNot AttributeLoad NameLoad attr NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Str Assign NameStore ListLoad BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str Num TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise Return If UnaryOpNot NameLoad body Return Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body If CompareIs NameLoad NameLoad body If CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num body Assign NameStore TupleLoad Str Num orelse Assign NameStore TupleLoad Str Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Return If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Return If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Return Raise decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body TryExcept body Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise orelse For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam defaults Str body Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad Call NameLoad Call NameLoad ListLoad Str TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore TupleLoad Num Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad Num Num Num Num body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword BoolOpOr NameLoad Num keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr 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 defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body For NameStore NameLoad body If NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad finalbody If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body TryFinally body Raise SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num finalbody Assign NameStore NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr TupleLoad Num Num If Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad Num Num Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr Str NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Str Str TryExcept body For NameStore ListLoad Str Str Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Call NameLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Str Str For NameStore ListLoad Str Str Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Call NameLoad NameLoad attr SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareNotIn NameLoad TupleLoad Str Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list Assign NameStore Dict TupleLoad Num Num TupleLoad Num Num TupleLoad Str Num NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam defaults Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp TupleLoad Call AttributeLoad NameLoad attr Str NameLoad comprehension TupleStore NameStore NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BoolOpOr SubscriptLoad NameLoad Index Str Str For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If BoolOpOr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpAdd SubscriptLoad NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Slice Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad Expr Call NameLoad Str ListLoad TupleLoad Str Str TupleLoad Str Str Return ListLoad Str decorator_list decorator_list
N/A N/A A high-speed, production ready, thread pooled, generic HTTP server.

Simplest example on how to use this module directly
(without using CherryPy's application machinery):

    from cherrypy import wsgiserver
    
    def my_crazy_app(environ, start_response):
        status = '200 OK'
        response_headers = [('Content-type','text/plain')]
        start_response(status, response_headers)
        return ['Hello world!
']
    
    server = wsgiserver.CherryPyWSGIServer(
                ('0.0.0.0', 8070), my_crazy_app,
                server_name='www.cherrypy.example')
    
The CherryPy WSGI server can serve as many WSGI applications 
as you want in one instance by using a WSGIPathInfoDispatcher:
    
    d = WSGIPathInfoDispatcher({'/': my_crazy_app, '/blog': my_blog_app})
    server = wsgiserver.CherryPyWSGIServer(('0.0.0.0', 80), d)
    
Want SSL support? Just set server.ssl_adapter to an SSLAdapter instance.

This won't call the CherryPy engine (application side) at all, only the
HTTP server, which is independent from the rest of CherryPy. Don't
let the name "CherryPyWSGIServer" throw you; the name merely reflects
its origin, not its coupling.

For those of you wanting to understand internals of this module, here's the
basic call flow. The server's listening thread runs a very tight loop,
sticking incoming connections onto a Queue:

    server = CherryPyWSGIServer(...)
    server.start()
    while True:
        tick()
        # This blocks until a request comes in:
        child = socket.accept()
        conn = HTTPConnection(child, ...)
        server.requests.put(conn)

Worker threads are kept in a pool and poll the Queue, popping off and then
handling each connection in turn. Each connection can consist of an arbitrary
number of requests and their responses, so we run a nested loop:

    while True:
        conn = server.requests.get()
        conn.communicate()
        ->  while True:
                req = HTTPRequest(...)
                req.parse_request()
                ->  # Read the Request-Line, e.g. "GET /page HTTP/1.1"
                    req.rfile.readline()
                    read_headers(req.rfile, req.inheaders)
                req.respond()
                ->  response = app(...)
                    try:
                        for chunk in response:
                            if chunk:
                                req.write(chunk)
                    finally:
                        if hasattr(response, "close"):
                            response.close()
                if req.close_connection:
                    return
 N/A CRLF N/A os N/A Queue N/A re N/A quoted_slash N/A N/A re compile (?i)%2F N/A rfc822 N/A socket N/A sys N/A N/A N/A win N/A sys platform N/A N/A hasattr socket IPPROTO_IPV6 N/A N/A N/A socket IPPROTO_IPV6 41 N/A N/A N/A cStringIO StringIO N/A N/A N/A ImportError N/A N/A StringIO N/A _fileobject_uses_str_type N/A isinstance N/A N/A N/A socket _fileobject None _rbuf basestring N/A threading N/A time N/A traceback urllib unquote urlparse urlparse N/A warnings N/A errno plat_specific_errors N/A N/A N/A errnames N/A N/A Return error numbers for all errors in errnames on this platform.
    
    The 'errno' module contains different global constants depending on
    the specific platform (OS). This function will return the list of
    numeric values for a given list of potential names.
     N/A errno_names N/A dir errno N/A nums N/A N/A getattr errno k N/A k errnames N/A k errno_names N/A N/A N/A N/A N/A dict fromkeys nums keys N/A N/A socket_error_eintr N/A plat_specific_errors EINTR WSAEINTR N/A socket_errors_to_ignore N/A plat_specific_errors EPIPE EBADF WSAEBADF ENOTSOCK WSAENOTSOCK ETIMEDOUT WSAETIMEDOUT ECONNREFUSED WSAECONNREFUSED ECONNRESET WSAECONNRESET ECONNABORTED WSAECONNABORTED ENETRESET WSAENETRESET EHOSTDOWN EHOSTUNREACH N/A N/A N/A socket_errors_to_ignore append timed out N/A N/A N/A socket_errors_to_ignore append The read operation timed out N/A socket_errors_nonblocking N/A plat_specific_errors EAGAIN EWOULDBLOCK WSAEWOULDBLOCK N/A comma_separated_headers N/A Accept Accept-Charset Accept-Encoding Accept-Language Accept-Ranges Allow Cache-Control Connection Content-Encoding Content-Language Expect If-Match If-None-Match Pragma Proxy-Authenticate TE Trailer Transfer-Encoding Upgrade Vary Via Warning WWW-Authenticate read_headers N/A N/A rfile hdict N/A None N/A N/A Read headers from the given stream into the given header dict.
    
    If hdict is None, a new header dict is created. Returns the populated
    header dict.
    
    Headers which are repeated are folded together using a comma if their
    specification so dictates.
    
    This function raises ValueError when the read bytes violate the HTTP spec.
    You should probably return "400 Bad Request" if this happens.
     N/A N/A hdict None N/A N/A hdict N/A N/A True N/A N/A line N/A N/A rfile readline N/A N/A line N/A N/A N/A ValueError Illegal end of headers. N/A N/A line CRLF N/A N/A N/A N/A N/A N/A line endswith CRLF N/A N/A N/A ValueError HTTP requires CRLF terminators N/A N/A N/A line N/A 0 N/A N/A v N/A N/A line strip N/A N/A N/A N/A N/A k v N/A N/A line split : 1 N/A N/A N/A ValueError N/A N/A Illegal header line N/A N/A k N/A N/A N/A N/A k strip title N/A v N/A N/A v strip N/A hname k N/A N/A k comma_separated_headers N/A N/A existing N/A N/A hdict get hname N/A existing N/A N/A v N/A N/A ,  join N/A existing v N/A N/A hdict N/A hname v N/A hdict N/A MaxSizeExceeded N/A Exception N/A N/A N/A SizeCheckWrapper N/A object N/A N/A Wraps a file-like object, raising MaxSizeExceeded if too large. __init__ N/A N/A self rfile maxlen N/A N/A N/A N/A self rfile rfile N/A N/A self maxlen maxlen N/A N/A self bytes_read 0 N/A _check_length N/A N/A self N/A N/A N/A N/A N/A self maxlen N/A N/A self bytes_read N/A self maxlen N/A N/A N/A MaxSizeExceeded N/A read N/A N/A self size N/A None N/A N/A data N/A N/A N/A self rfile read size N/A N/A self bytes_read N/A len data N/A N/A N/A self _check_length N/A data N/A readline N/A N/A self size N/A None N/A N/A N/A size None N/A N/A data N/A N/A N/A self rfile readline size N/A N/A self bytes_read N/A len data N/A N/A N/A self _check_length N/A data N/A res N/A N/A True N/A N/A data N/A N/A N/A self rfile readline 256 N/A N/A self bytes_read N/A len data N/A N/A N/A self _check_length N/A N/A N/A res append data N/A N/A N/A N/A len data 256 N/A N/A data N/A -1 N/A N/A N/A N/A join res N/A readlines N/A N/A self sizehint N/A 0 N/A N/A total 0 N/A lines N/A N/A line N/A N/A self readline N/A line N/A N/A N/A N/A lines append line N/A total N/A len line N/A N/A 0 sizehint total N/A N/A N/A line N/A N/A self readline N/A lines N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self rfile close N/A __iter__ N/A N/A self N/A N/A N/A self N/A next N/A N/A self N/A N/A N/A data N/A N/A N/A self rfile next N/A N/A self bytes_read N/A len data N/A N/A N/A self _check_length N/A data N/A N/A KnownLengthRFile N/A object N/A N/A Wraps a file-like object, returning an empty string when exhausted. __init__ N/A N/A self rfile content_length N/A N/A N/A N/A self rfile rfile N/A N/A self remaining content_length N/A read N/A N/A self size N/A None N/A N/A N/A N/A self remaining 0 N/A N/A N/A N/A size None N/A N/A size N/A self remaining N/A N/A size N/A min size N/A self remaining N/A data N/A N/A N/A self rfile read size N/A N/A self remaining N/A len data N/A data N/A readline N/A N/A self size N/A None N/A N/A N/A N/A self remaining 0 N/A N/A N/A N/A size None N/A N/A size N/A self remaining N/A N/A size N/A min size N/A self remaining N/A data N/A N/A N/A self rfile readline size N/A N/A self remaining N/A len data N/A data N/A readlines N/A N/A self sizehint N/A 0 N/A N/A total 0 N/A lines N/A N/A line N/A N/A self readline sizehint N/A line N/A N/A N/A N/A lines append line N/A total N/A len line N/A N/A 0 sizehint total N/A N/A N/A line N/A N/A self readline sizehint N/A lines N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self rfile close N/A __iter__ N/A N/A self N/A N/A N/A self N/A __next__ N/A N/A self N/A N/A N/A data N/A next N/A self rfile N/A N/A self remaining N/A len data N/A data N/A N/A MaxSizeExceeded N/A Exception N/A N/A N/A ChunkedRFile N/A object N/A N/A Wraps a file-like object, returning an empty string when exhausted.
    
    This class is intended to provide a conforming wsgi.input value for
    request entities that have been encoded with the 'chunked' transfer
    encoding.
     __init__ N/A N/A self rfile maxlen bufsize N/A 8192 N/A N/A N/A self rfile rfile N/A N/A self maxlen maxlen N/A N/A self bytes_read 0 N/A N/A self buffer N/A N/A self bufsize bufsize N/A N/A self closed False N/A _fetch N/A N/A self N/A N/A N/A N/A self closed N/A N/A N/A line N/A N/A N/A self rfile readline N/A N/A self bytes_read N/A len line N/A N/A N/A self maxlen N/A N/A self bytes_read N/A self maxlen N/A N/A N/A MaxSizeExceeded Request Entity Too Large N/A self maxlen N/A line N/A N/A N/A N/A line strip split ; 1 N/A N/A N/A chunk_size N/A N/A line pop 0 N/A chunk_size N/A int chunk_size 16 N/A N/A N/A ValueError N/A N/A N/A ValueError N/A Bad chunked transfer size:  N/A repr chunk_size N/A N/A chunk_size 0 N/A N/A N/A self closed True N/A N/A N/A N/A self maxlen N/A N/A N/A self bytes_read chunk_size N/A self maxlen N/A N/A N/A IOError Request Entity Too Large N/A chunk N/A N/A N/A self rfile read chunk_size N/A N/A self bytes_read N/A len chunk N/A N/A self buffer chunk N/A crlf N/A N/A N/A self rfile read 2 N/A N/A crlf CRLF N/A N/A N/A ValueError N/A N/A Bad chunked transfer coding (expected '\r\n', got  N/A repr crlf ) N/A read N/A N/A self size N/A None N/A N/A data N/A True N/A N/A N/A size N/A N/A len data size N/A N/A data N/A N/A N/A self buffer N/A N/A N/A N/A self _fetch N/A N/A N/A self buffer N/A N/A data N/A size N/A N/A remaining N/A size N/A len data N/A data N/A N/A self buffer N/A remaining N/A N/A self buffer N/A N/A self buffer N/A remaining N/A N/A data N/A self buffer N/A readline N/A N/A self size N/A None N/A N/A data N/A True N/A N/A N/A size N/A N/A len data size N/A N/A data N/A N/A N/A self buffer N/A N/A N/A N/A self _fetch N/A N/A N/A self buffer N/A N/A data N/A newline_pos N/A N/A N/A self buffer find N/A size N/A N/A N/A newline_pos -1 N/A N/A remaining N/A size N/A len data N/A data N/A N/A self buffer N/A remaining N/A N/A self buffer N/A N/A self buffer N/A remaining N/A N/A remaining N/A min N/A size N/A len data newline_pos N/A data N/A N/A self buffer N/A remaining N/A N/A self buffer N/A N/A self buffer N/A remaining N/A N/A N/A newline_pos -1 N/A N/A data N/A self buffer N/A N/A data N/A N/A self buffer N/A newline_pos N/A N/A self buffer N/A N/A self buffer N/A newline_pos N/A readlines N/A N/A self sizehint N/A 0 N/A N/A total 0 N/A lines N/A N/A line N/A N/A self readline sizehint N/A line N/A N/A N/A N/A lines append line N/A total N/A len line N/A N/A 0 sizehint total N/A N/A N/A line N/A N/A self readline sizehint N/A lines N/A read_trailer_lines N/A N/A self N/A N/A N/A N/A N/A self closed N/A N/A N/A ValueError Cannot read trailers until the request body has been read. N/A True N/A N/A line N/A N/A N/A self rfile readline N/A N/A line N/A N/A N/A ValueError Illegal end of headers. N/A N/A self bytes_read N/A len line N/A N/A N/A self maxlen N/A N/A self bytes_read N/A self maxlen N/A N/A N/A IOError Request Entity Too Large N/A N/A line CRLF N/A N/A N/A N/A N/A N/A line endswith CRLF N/A N/A N/A ValueError HTTP requires CRLF terminators N/A N/A line N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self rfile close N/A __iter__ N/A N/A self N/A N/A N/A total 0 N/A line N/A N/A self readline sizehint N/A line N/A N/A N/A line N/A total N/A len line N/A N/A 0 sizehint total N/A N/A N/A line N/A N/A self readline sizehint N/A N/A HTTPRequest N/A object N/A N/A An HTTP Request (and response).
    
    A single HTTP connection may consist of multiple request/response pairs.
    
    server: the Server object which is receiving this request.
    conn: the HTTPConnection object on which this request connected.
    
    inheaders: a dict of request headers.
    outheaders: a list of header tuples to write in the response.
    ready: when True, the request has been parsed and is ready to begin
        generating the response. When False, signals the calling Connection
        that the response should not be generated and the connection should
        close.
    close_connection: signals the calling Connection that the request
        should close. This does not imply an error! The client and/or
        server may each request that the connection be closed.
    chunked_write: if True, output will be encoded with the "chunked"
        transfer-coding. This value is set automatically inside
        send_headers.
     __init__ N/A N/A self server conn N/A N/A N/A N/A self server server N/A N/A self conn conn N/A N/A self ready False N/A N/A self started_request False N/A N/A self scheme http N/A N/A N/A N/A self server ssl_adapter None N/A N/A N/A self scheme https N/A N/A self response_protocol HTTP/1.0 N/A N/A self inheaders N/A N/A N/A self status N/A N/A self outheaders N/A N/A N/A self sent_headers False N/A N/A self close_connection False N/A N/A self chunked_read False N/A N/A self chunked_write False N/A parse_request N/A N/A self N/A N/A N/A Parse the next HTTP request start-line and message-headers. N/A N/A self rfile N/A SizeCheckWrapper N/A N/A self conn rfile N/A N/A self server max_request_header_size N/A N/A N/A N/A N/A self read_request_line N/A N/A N/A MaxSizeExceeded N/A N/A N/A N/A self simple_response 414 Request-URI Too Long The Request-URI sent with the request exceeds the maximum allowed bytes. N/A N/A N/A N/A success N/A N/A self read_request_headers N/A N/A N/A MaxSizeExceeded N/A N/A N/A N/A self simple_response 413 Request Entity Too Large The headers sent with the request exceed the maximum allowed bytes. N/A N/A N/A N/A success N/A N/A N/A N/A self ready True N/A read_request_line N/A N/A self N/A N/A N/A request_line N/A N/A N/A self rfile readline N/A N/A self started_request True N/A N/A request_line N/A N/A N/A self ready False N/A N/A N/A request_line CRLF N/A N/A request_line N/A N/A N/A self rfile readline N/A N/A request_line N/A N/A N/A self ready False N/A N/A N/A N/A N/A request_line endswith CRLF N/A N/A N/A N/A self simple_response 400 Bad Request HTTP requires CRLF terminators N/A N/A N/A N/A N/A method uri req_protocol N/A N/A N/A N/A request_line strip split 2 N/A N/A N/A ValueError N/A N/A N/A N/A self simple_response 400 Bad Request Malformed Request-Line N/A N/A N/A self uri uri N/A N/A self method method N/A N/A scheme authority path N/A N/A self parse_request_uri uri N/A N/A # path N/A N/A N/A N/A self simple_response 400 Bad Request Illegal #fragment in Request-URI. N/A N/A scheme N/A N/A N/A self scheme scheme N/A qs N/A N/A ? path N/A N/A N/A path qs N/A N/A path split ? 1 N/A N/A N/A atoms N/A N/A unquote x N/A x N/A N/A quoted_slash split path N/A N/A N/A ValueError N/A ex N/A N/A N/A N/A self simple_response 400 Bad Request N/A N/A ex args N/A 0 N/A N/A path N/A N/A %2F join atoms N/A N/A self path path N/A N/A self qs qs N/A rp N/A N/A int N/A req_protocol N/A 5 N/A int N/A req_protocol N/A 7 N/A sp N/A N/A int N/A N/A N/A self server protocol N/A 5 N/A int N/A N/A N/A self server protocol N/A 7 N/A N/A N/A sp N/A 0 N/A rp N/A 0 N/A N/A N/A N/A self simple_response 505 HTTP Version Not Supported N/A N/A N/A self request_protocol req_protocol N/A N/A self response_protocol N/A HTTP/%s.%s N/A min rp sp N/A read_request_headers N/A N/A self N/A N/A N/A Read self.rfile into self.inheaders. Return success. N/A N/A N/A N/A read_headers N/A self rfile N/A self inheaders N/A N/A N/A ValueError N/A ex N/A N/A N/A N/A self simple_response 400 Bad Request N/A N/A ex args N/A 0 N/A False N/A mrbs N/A N/A self server max_request_body_size N/A N/A mrbs N/A N/A int N/A N/A N/A self inheaders get Content-Length 0 mrbs N/A N/A N/A N/A self simple_response 413 Request Entity Too Large The entity sent with the request exceeds the maximum allowed bytes. N/A False N/A N/A N/A self response_protocol HTTP/1.1 N/A N/A N/A N/A N/A N/A self inheaders get Connection close N/A N/A N/A self close_connection True N/A N/A N/A N/A N/A N/A self inheaders get Connection Keep-Alive N/A N/A N/A self close_connection True N/A te None N/A N/A N/A self response_protocol HTTP/1.1 N/A N/A te N/A N/A N/A self inheaders get Transfer-Encoding N/A te N/A N/A te N/A N/A N/A N/A N/A x strip lower N/A x N/A N/A te split , N/A N/A x strip N/A te N/A N/A enc te N/A N/A N/A enc chunked N/A N/A N/A self chunked_read True N/A N/A N/A N/A self simple_response 501 Unimplemented N/A N/A self close_connection True N/A False N/A N/A N/A N/A N/A self inheaders get Expect 100-continue N/A N/A msg N/A N/A N/A self server protocol  100 Continue

 N/A N/A N/A N/A N/A N/A N/A self conn wfile sendall msg N/A N/A N/A N/A socket error N/A x N/A N/A N/A N/A N/A x args N/A 0 socket_errors_to_ignore N/A N/A N/A True N/A parse_request_uri N/A N/A self uri N/A N/A N/A Parse a Request-URI into (scheme, authority, path).
        
        Note that Request-URI's must be one of:
            
            Request-URI    = "*" | absoluteURI | abs_path | authority
        
        Therefore, a Request-URI which starts with a double forward-slash
        cannot be a "net_path":
        
            net_path      = "//" authority [ abs_path ]
        
        Instead, it must be interpreted as an "abs_path" with an empty first
        path segment:
        
            abs_path      = "/"  path_segments
            path_segments = segment *( "/" segment )
            segment       = *pchar *( ";" param )
            param         = *pchar
         N/A N/A uri * N/A N/A N/A None None uri N/A i N/A N/A uri find :// N/A N/A N/A i 0 N/A ? N/A uri N/A i N/A N/A N/A scheme remainder N/A N/A N/A N/A uri N/A i lower N/A uri N/A N/A i 3 N/A N/A authority path N/A N/A remainder split / 1 N/A N/A scheme authority path N/A N/A N/A uri startswith / N/A N/A N/A None None uri N/A N/A N/A None uri None N/A respond N/A N/A self N/A N/A N/A Call the gateway and write its iterable output. N/A mrbs N/A N/A self server max_request_body_size N/A N/A self chunked_read N/A N/A N/A self rfile N/A ChunkedRFile N/A N/A self conn rfile mrbs N/A N/A cl N/A int N/A N/A N/A self inheaders get Content-Length 0 N/A N/A mrbs N/A mrbs cl N/A N/A N/A N/A self sent_headers N/A N/A N/A N/A self simple_response 413 Request Entity Too Large The entity sent with the request exceeds the maximum allowed bytes. N/A N/A N/A self rfile N/A KnownLengthRFile N/A N/A self conn rfile cl N/A N/A N/A N/A N/A N/A self server gateway self respond N/A N/A N/A self ready N/A N/A self sent_headers N/A N/A N/A self sent_headers True N/A N/A N/A self send_headers N/A N/A self chunked_write N/A N/A N/A N/A N/A N/A self conn wfile sendall 0

 N/A simple_response N/A N/A self status msg N/A N/A N/A Write a simple response back to the client. N/A status N/A str status N/A buf N/A N/A Content-Length: %s
 N/A len msg Content-Type: text/plain
 N/A N/A N/A status N/A 3 N/A 413 414 N/A N/A N/A self close_connection True N/A N/A N/A self response_protocol HTTP/1.1 N/A N/A N/A N/A buf append Connection: close
 N/A N/A status 400 Bad Request N/A N/A N/A buf append CRLF N/A msg N/A N/A N/A isinstance msg unicode N/A N/A msg N/A N/A msg encode ISO-8859-1 N/A N/A N/A buf append msg N/A status_line N/A N/A N/A N/A N/A self server protocol status CRLF N/A N/A N/A N/A N/A N/A N/A self conn wfile sendall N/A status_line N/A N/A join buf N/A N/A N/A N/A socket error N/A x N/A N/A N/A N/A N/A x args N/A 0 socket_errors_to_ignore N/A N/A N/A write N/A N/A self chunk N/A N/A N/A Write unbuffered data to the client. N/A N/A N/A self chunked_write chunk N/A N/A buf N/A N/A N/A hex N/A len chunk N/A 2 CRLF chunk CRLF N/A N/A N/A N/A N/A self conn wfile sendall N/A N/A join buf N/A N/A N/A N/A N/A N/A self conn wfile sendall chunk N/A send_headers N/A N/A self N/A N/A N/A Assert, process, and send the HTTP response message-headers.
        
        You must set self.status, and self.outheaders before calling this.
         N/A hkeys N/A N/A N/A key lower N/A N/A key value N/A self outheaders N/A status N/A int N/A N/A self status N/A 3 N/A N/A status 413 N/A N/A N/A self close_connection True N/A N/A N/A content-length hkeys N/A N/A N/A N/A status 200 N/A status N/A 204 205 304 N/A N/A N/A N/A N/A N/A N/A self response_protocol HTTP/1.1 N/A N/A self method HEAD N/A N/A N/A self chunked_write True N/A N/A N/A N/A self outheaders append N/A Transfer-Encoding chunked N/A N/A N/A self close_connection True N/A N/A connection hkeys N/A N/A N/A N/A self response_protocol HTTP/1.1 N/A N/A N/A self close_connection N/A N/A N/A N/A N/A self outheaders append N/A Connection close N/A N/A N/A N/A self close_connection N/A N/A N/A N/A N/A self outheaders append N/A Connection Keep-Alive N/A N/A N/A N/A self close_connection N/A N/A self chunked_read N/A N/A remaining N/A getattr N/A self rfile remaining 0 N/A N/A remaining 0 N/A N/A N/A N/A N/A self rfile read remaining N/A N/A date hkeys N/A N/A N/A N/A N/A self outheaders append N/A Date N/A N/A rfc822 formatdate N/A N/A server hkeys N/A N/A N/A N/A N/A self outheaders append N/A Server N/A N/A self server server_name N/A buf N/A N/A N/A N/A N/A N/A self server protocol N/A self status CRLF N/A N/A k v N/A self outheaders N/A N/A N/A N/A buf append N/A N/A N/A k :  v CRLF N/A N/A N/A buf append CRLF N/A N/A N/A N/A N/A self conn wfile sendall N/A N/A join buf N/A N/A NoSSLError N/A Exception N/A N/A Exception raised when a client speaks HTTP to an HTTPS socket. N/A N/A FatalSSLAlert N/A Exception N/A N/A Exception raised when the SSL implementation signals a fatal alert. N/A N/A N/A N/A _fileobject_uses_str_type N/A CP_fileobject N/A N/A socket _fileobject N/A N/A Faux file object attached to a socket object. sendall N/A N/A self data N/A N/A N/A Sendall for non-blocking sockets. N/A data N/A N/A N/A N/A bytes_sent N/A N/A self send data N/A data N/A data N/A bytes_sent N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A N/A e args N/A 0 socket_errors_nonblocking N/A N/A N/A send N/A N/A self data N/A N/A N/A N/A N/A N/A self _sock send data N/A flush N/A N/A self N/A N/A N/A N/A self _wbuf N/A N/A buffer N/A N/A join N/A self _wbuf N/A N/A self _wbuf N/A N/A N/A N/A self sendall buffer N/A recv N/A N/A self size N/A N/A N/A True N/A N/A N/A N/A N/A N/A N/A self _sock recv size N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A N/A N/A e args N/A 0 socket_errors_nonblocking N/A N/A N/A e args N/A 0 socket_error_eintr N/A N/A N/A read N/A N/A self size N/A -1 N/A N/A rbufsize N/A max N/A self _rbufsize N/A self default_bufsize N/A buf N/A self _rbuf N/A N/A N/A buf seek 0 2 N/A N/A size 0 N/A N/A N/A self _rbuf N/A N/A StringIO StringIO N/A True N/A N/A data N/A N/A self recv rbufsize N/A N/A data N/A N/A N/A N/A N/A buf write data N/A N/A N/A buf getvalue N/A N/A buf_len N/A N/A buf tell N/A N/A buf_len size N/A N/A N/A N/A buf seek 0 N/A rv N/A N/A buf read size N/A N/A self _rbuf N/A N/A StringIO StringIO N/A N/A N/A N/A self _rbuf write N/A N/A buf read N/A rv N/A N/A self _rbuf N/A N/A StringIO StringIO N/A True N/A N/A left N/A size buf_len N/A data N/A N/A self recv left N/A N/A data N/A N/A N/A n N/A len data N/A N/A N/A n size N/A buf_len N/A N/A data N/A N/A n left N/A N/A N/A N/A buf write data N/A data N/A N/A N/A n left N/A recv(%d) returned %d bytes N/A left n N/A N/A N/A buf write data N/A buf_len n N/A data N/A N/A N/A buf getvalue N/A readline N/A N/A self size N/A -1 N/A N/A buf N/A self _rbuf N/A N/A N/A buf seek 0 2 N/A N/A N/A N/A buf tell 0 N/A N/A N/A N/A buf seek 0 N/A bline N/A N/A buf readline size N/A N/A N/A N/A bline endswith N/A N/A len bline size N/A N/A N/A self _rbuf N/A N/A StringIO StringIO N/A N/A N/A N/A self _rbuf write N/A N/A buf read N/A bline N/A bline N/A N/A size 0 N/A N/A N/A N/A self _rbufsize 1 N/A N/A N/A N/A buf seek 0 N/A buffers N/A N/A N/A buf read N/A N/A self _rbuf N/A N/A StringIO StringIO N/A data None N/A recv N/A self recv N/A N/A data N/A N/A data N/A recv 1 N/A N/A data N/A N/A N/A N/A N/A buffers append data N/A N/A N/A join buffers N/A N/A N/A buf seek 0 2 N/A N/A self _rbuf N/A N/A StringIO StringIO N/A True N/A N/A data N/A N/A self recv N/A self _rbufsize N/A N/A data N/A N/A N/A nl N/A N/A data find N/A N/A nl 0 N/A N/A nl 1 N/A N/A N/A buf write N/A data N/A nl N/A N/A N/A N/A self _rbuf write N/A data N/A nl N/A data N/A N/A N/A N/A buf write data N/A N/A N/A buf getvalue N/A N/A N/A N/A buf seek 0 2 N/A buf_len N/A N/A buf tell N/A N/A buf_len size N/A N/A N/A N/A buf seek 0 N/A rv N/A N/A buf read size N/A N/A self _rbuf N/A N/A StringIO StringIO N/A N/A N/A N/A self _rbuf write N/A N/A buf read N/A rv N/A N/A self _rbuf N/A N/A StringIO StringIO N/A True N/A N/A data N/A N/A self recv N/A self _rbufsize N/A N/A data N/A N/A N/A left N/A size buf_len N/A nl N/A N/A data find 0 left N/A N/A nl 0 N/A N/A nl 1 N/A N/A N/A N/A self _rbuf write N/A data N/A nl N/A buf_len N/A N/A N/A N/A buf write N/A data N/A nl N/A N/A N/A N/A data N/A nl N/A n N/A len data N/A N/A N/A n size N/A buf_len N/A N/A data N/A N/A n left N/A N/A N/A N/A buf write N/A data N/A left N/A N/A N/A N/A self _rbuf write N/A data N/A left N/A N/A N/A N/A buf write data N/A buf_len n N/A N/A N/A buf getvalue N/A N/A N/A CP_fileobject N/A N/A socket _fileobject N/A N/A Faux file object attached to a socket object. sendall N/A N/A self data N/A N/A N/A Sendall for non-blocking sockets. N/A data N/A N/A N/A N/A bytes_sent N/A N/A self send data N/A data N/A data N/A bytes_sent N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A N/A e args N/A 0 socket_errors_nonblocking N/A N/A N/A send N/A N/A self data N/A N/A N/A N/A N/A N/A self _sock send data N/A flush N/A N/A self N/A N/A N/A N/A self _wbuf N/A N/A buffer N/A N/A join N/A self _wbuf N/A N/A self _wbuf N/A N/A N/A N/A self sendall buffer N/A recv N/A N/A self size N/A N/A N/A True N/A N/A N/A N/A N/A N/A N/A self _sock recv size N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A N/A N/A e args N/A 0 socket_errors_nonblocking N/A N/A N/A e args N/A 0 socket_error_eintr N/A N/A N/A read N/A N/A self size N/A -1 N/A N/A N/A size 0 N/A N/A buffers N/A N/A self _rbuf N/A N/A self _rbuf N/A N/A N/A self _rbufsize 1 N/A N/A recv_size N/A self default_bufsize N/A N/A recv_size N/A self _rbufsize N/A True N/A N/A data N/A N/A self recv recv_size N/A N/A data N/A N/A N/A N/A N/A buffers append data N/A N/A N/A join buffers N/A N/A data N/A self _rbuf N/A buf_len N/A len data N/A N/A buf_len size N/A N/A N/A self _rbuf N/A data N/A size N/A N/A data N/A size N/A buffers N/A N/A data N/A N/A N/A N/A buffers append data N/A N/A self _rbuf N/A True N/A N/A left N/A size buf_len N/A recv_size N/A max N/A self _rbufsize left N/A data N/A N/A self recv recv_size N/A N/A data N/A N/A N/A N/A N/A buffers append data N/A n N/A len data N/A N/A n left N/A N/A N/A self _rbuf N/A data N/A left N/A N/A buffers N/A -1 N/A data N/A left N/A N/A buf_len n N/A N/A N/A join buffers N/A readline N/A N/A self size N/A -1 N/A N/A data N/A self _rbuf N/A N/A size 0 N/A N/A N/A N/A self _rbufsize 1 N/A N/A N/A data N/A buffers N/A N/A N/A data N/A N/A data N/A N/A self recv 1 N/A N/A data N/A N/A N/A N/A N/A buffers append data N/A N/A N/A join buffers N/A nl N/A N/A data find N/A N/A nl 0 N/A N/A nl 1 N/A N/A self _rbuf N/A data N/A nl N/A N/A data N/A nl N/A buffers N/A N/A data N/A N/A N/A N/A buffers append data N/A N/A self _rbuf N/A True N/A N/A data N/A N/A self recv N/A self _rbufsize N/A N/A data N/A N/A N/A N/A N/A buffers append data N/A nl N/A N/A data find N/A N/A nl 0 N/A N/A nl 1 N/A N/A self _rbuf N/A data N/A nl N/A N/A buffers N/A -1 N/A data N/A nl N/A N/A N/A N/A join buffers N/A N/A nl N/A N/A data find 0 size N/A N/A nl 0 N/A N/A nl 1 N/A N/A self _rbuf N/A data N/A nl N/A N/A data N/A nl N/A buf_len N/A len data N/A N/A buf_len size N/A N/A N/A self _rbuf N/A data N/A size N/A N/A data N/A size N/A buffers N/A N/A data N/A N/A N/A N/A buffers append data N/A N/A self _rbuf N/A True N/A N/A data N/A N/A self recv N/A self _rbufsize N/A N/A data N/A N/A N/A N/A N/A buffers append data N/A left N/A size buf_len N/A nl N/A N/A data find 0 left N/A N/A nl 0 N/A N/A nl 1 N/A N/A self _rbuf N/A data N/A nl N/A N/A buffers N/A -1 N/A data N/A nl N/A N/A n N/A len data N/A N/A n left N/A N/A N/A self _rbuf N/A data N/A left N/A N/A buffers N/A -1 N/A data N/A left N/A N/A buf_len n N/A N/A N/A join buffers N/A N/A HTTPConnection N/A object N/A N/A An HTTP connection (active socket).
    
    server: the Server object which received this connection.
    socket: the raw socket object (usually TCP) for this connection.
    makefile: a fileobject class for reading from the socket.
     N/A remote_addr None N/A remote_port None N/A ssl_env None N/A rbufsize -1 N/A RequestHandlerClass HTTPRequest __init__ N/A N/A self server sock makefile N/A CP_fileobject N/A N/A N/A self server server N/A N/A self socket sock N/A N/A self rfile N/A makefile sock rb N/A self rbufsize N/A N/A self wfile N/A makefile sock wb -1 N/A communicate N/A N/A self N/A N/A N/A Read each request and respond appropriately. N/A request_seen False N/A N/A N/A True N/A N/A req None N/A req N/A N/A self RequestHandlerClass N/A self server self N/A N/A N/A req parse_request N/A N/A N/A req ready N/A N/A N/A request_seen True N/A N/A N/A req respond N/A N/A req close_connection N/A N/A N/A N/A N/A N/A socket error N/A e N/A N/A errnum N/A N/A e args N/A 0 N/A N/A errnum timed out N/A N/A N/A N/A request_seen N/A req N/A req started_request N/A N/A N/A req N/A N/A req sent_headers N/A N/A N/A N/A N/A N/A req simple_response 408 Request Timeout N/A N/A N/A FatalSSLAlert N/A N/A N/A N/A N/A errnum socket_errors_to_ignore N/A N/A N/A req N/A N/A req sent_headers N/A N/A N/A N/A N/A N/A req simple_response 500 Internal Server Error N/A format_exc N/A N/A N/A FatalSSLAlert N/A N/A N/A N/A N/A N/A KeyboardInterrupt SystemExit N/A N/A N/A N/A FatalSSLAlert N/A N/A N/A N/A NoSSLError N/A N/A N/A req N/A N/A req sent_headers N/A N/A N/A self wfile N/A CP_fileobject N/A N/A self socket _sock wb -1 N/A N/A N/A req simple_response 400 Bad Request The client sent a plain HTTP request, but this server only speaks HTTPS on this port. N/A N/A self linger True N/A N/A Exception N/A N/A N/A req N/A N/A req sent_headers N/A N/A N/A N/A N/A N/A req simple_response 500 Internal Server Error N/A format_exc N/A N/A N/A FatalSSLAlert N/A N/A N/A N/A linger False close N/A N/A self N/A N/A N/A Close the socket underlying this connection. N/A N/A N/A N/A self rfile close N/A N/A N/A self linger N/A N/A N/A hasattr N/A self socket _sock N/A N/A N/A N/A N/A N/A self socket _sock close N/A N/A N/A N/A self socket close N/A N/A N/A N/A format_exc N/A N/A limit N/A None N/A N/A Like print_exc() but return a string. Backport for Python 2.3. N/A N/A N/A N/A etype value tb N/A N/A sys exc_info N/A N/A N/A join N/A N/A traceback format_exception etype value tb limit N/A N/A etype value tb None N/A N/A _SHUTDOWNREQUEST None WorkerThread N/A N/A threading Thread N/A N/A Thread which continuously polls a Queue for Connection objects.
    
    server: the HTTP Server which spawned this thread, and which owns the
        Queue and is placing active connections into it.
    ready: a simple flag for the calling server to know when this thread
        has begun polling the Queue.
    
    Due to the timing issues of polling a Queue, a WorkerThread does not
    check its own 'ready' flag after it has started. To stop the thread,
    it is necessary to stick a _SHUTDOWNREQUEST object onto the Queue
    (one for each running WorkerThread).
     N/A conn None __init__ N/A N/A self server N/A N/A N/A N/A self ready False N/A N/A self server server N/A N/A N/A N/A threading Thread __init__ self N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self ready True N/A True N/A N/A conn N/A N/A N/A N/A self server requests get N/A N/A conn _SHUTDOWNREQUEST N/A N/A N/A N/A self conn conn N/A N/A N/A N/A N/A conn communicate N/A N/A N/A N/A conn close N/A N/A self conn None N/A N/A N/A N/A KeyboardInterrupt SystemExit N/A exc N/A N/A N/A N/A self server interrupt exc N/A N/A ThreadPool N/A object N/A N/A A Request Queue for the CherryPyWSGIServer which pools threads.
    
    ThreadPool objects must provide min, get(), put(obj), start()
    and stop(timeout) attributes.
     __init__ N/A N/A self server min max N/A 10 -1 N/A N/A N/A self server server N/A N/A self min min N/A N/A self max max N/A N/A self _threads N/A N/A N/A self _queue N/A N/A Queue Queue N/A N/A self get N/A N/A self _queue get N/A start N/A N/A self N/A N/A N/A Start the pool of threads. N/A i N/A range N/A self min N/A N/A N/A N/A N/A self _threads append N/A WorkerThread N/A self server N/A worker N/A self _threads N/A N/A N/A N/A worker setName N/A CP Server  N/A N/A worker getName N/A N/A N/A worker start N/A worker N/A self _threads N/A N/A N/A N/A worker ready N/A N/A N/A N/A time sleep 0.1 N/A _get_idle N/A N/A self N/A N/A N/A Number of worker threads which are idle. Read-only. N/A N/A len N/A t N/A t N/A self _threads N/A N/A t conn None N/A N/A idle N/A property _get_idle doc N/A _get_idle __doc__ put N/A N/A self obj N/A N/A N/A N/A N/A N/A self _queue put obj N/A N/A obj _SHUTDOWNREQUEST N/A N/A N/A grow N/A N/A self amount N/A N/A N/A Spawn new worker threads (not above self.max). N/A i N/A range amount N/A N/A N/A N/A N/A self max 0 N/A N/A len N/A self _threads N/A self max N/A N/A N/A worker N/A WorkerThread N/A self server N/A N/A N/A worker setName N/A CP Server  N/A N/A worker getName N/A N/A N/A N/A self _threads append worker N/A N/A N/A worker start N/A shrink N/A N/A self amount N/A N/A N/A Kill off worker threads (not below self.min). N/A t N/A self _threads N/A N/A N/A N/A N/A t isAlive N/A N/A N/A N/A N/A self _threads remove t N/A amount 1 N/A N/A amount 0 N/A N/A i N/A range N/A min amount N/A N/A len N/A self _threads N/A self min N/A N/A N/A N/A N/A self _queue put _SHUTDOWNREQUEST N/A stop N/A N/A self timeout N/A 5 N/A N/A worker N/A self _threads N/A N/A N/A N/A N/A self _queue put _SHUTDOWNREQUEST N/A current N/A N/A threading currentThread N/A N/A timeout N/A timeout 0 N/A N/A endtime N/A N/A N/A time time timeout N/A N/A self _threads N/A N/A worker N/A N/A N/A self _threads pop N/A N/A N/A worker current N/A N/A worker isAlive N/A N/A N/A N/A N/A N/A timeout None N/A timeout 0 N/A N/A N/A N/A worker join N/A N/A remaining_time N/A endtime N/A N/A time time N/A N/A remaining_time 0 N/A N/A N/A N/A worker join remaining_time N/A N/A N/A worker isAlive N/A N/A c N/A worker conn N/A N/A c N/A N/A N/A c rfile closed N/A N/A N/A N/A N/A N/A N/A c socket shutdown N/A socket SHUT_RD N/A N/A N/A TypeError N/A N/A N/A N/A N/A c socket shutdown N/A N/A N/A worker join N/A N/A N/A N/A AssertionError KeyboardInterrupt N/A exc1 N/A N/A N/A N/A N/A N/A N/A fcntl N/A N/A N/A ImportError N/A N/A N/A ctypes windll WinError N/A N/A N/A ImportError N/A prevent_socket_inheritance N/A N/A sock N/A N/A N/A Dummy function, since neither fcntl nor ctypes are available. N/A N/A N/A prevent_socket_inheritance N/A N/A sock N/A N/A N/A Mark the given socket fd as non-inheritable (Windows). N/A N/A N/A N/A N/A windll kernel32 SetHandleInformation N/A N/A sock fileno 1 0 N/A N/A N/A WinError N/A N/A prevent_socket_inheritance N/A N/A sock N/A N/A N/A Mark the given socket fd as non-inheritable (POSIX). N/A fd N/A N/A sock fileno N/A old_flags N/A N/A fcntl fcntl fd N/A fcntl F_GETFD N/A N/A N/A fcntl fcntl fd N/A fcntl F_SETFD N/A old_flags N/A fcntl FD_CLOEXEC N/A SSLAdapter N/A object N/A __init__ N/A N/A self certificate private_key certificate_chain N/A None N/A N/A N/A self certificate certificate N/A N/A self private_key private_key N/A N/A self certificate_chain certificate_chain N/A wrap N/A N/A self sock N/A N/A N/A NotImplemented N/A makefile N/A N/A self sock mode bufsize N/A r -1 N/A N/A NotImplemented N/A N/A HTTPServer N/A object N/A N/A An HTTP server.
    
    bind_addr: The interface on which to listen for connections.
        For TCP sockets, a (host, port) tuple. Host values may be any IPv4
        or IPv6 address, or any valid hostname. The string 'localhost' is a
        synonym for '127.0.0.1' (or '::1', if your hosts file prefers IPv6).
        The string '0.0.0.0' is a special IPv4 entry meaning "any active
        interface" (INADDR_ANY), and '::' is the similar IN6ADDR_ANY for
        IPv6. The empty string or None are not allowed.
        
        For UNIX sockets, supply the filename as a string.
    gateway: a Gateway instance.
    minthreads: the minimum number of worker threads to create (default 10).
    maxthreads: the maximum number of worker threads to create (default -1 = no limit).
    server_name: defaults to socket.gethostname().
    
    request_queue_size: the 'backlog' argument to socket.listen();
        specifies the maximum number of queued connections (default 5).
    timeout: the timeout in seconds for accepted connections (default 10).
    nodelay: if True (the default since 3.1), sets the TCP_NODELAY socket
        option.
    protocol: the version string to write in the Status-Line of all
        HTTP responses. For example, "HTTP/1.1" (the default). This
        also limits the supported features used in the response.
    
    
    SSL/HTTPS
    ---------
    You must have an ssl library installed and set self.ssl_adapter to an
    instance of SSLAdapter (or a subclass) which provides the methods:
        wrap(sock) -> wrapped socket, ssl environ dict
        makefile(sock, mode='r', bufsize=-1) -> socket file object
     N/A protocol HTTP/1.1 N/A _bind_addr 127.0.0.1 N/A version CherryPy/3.2.0rc1 N/A response_header None N/A ready False N/A _interrupt None N/A max_request_header_size 0 N/A max_request_body_size 0 N/A nodelay True N/A ConnectionClass HTTPConnection N/A ssl_adapter None __init__ N/A N/A self bind_addr gateway minthreads maxthreads server_name N/A 10 -1 None N/A N/A N/A self bind_addr bind_addr N/A N/A self gateway gateway N/A N/A self requests N/A ThreadPool self min N/A minthreads 1 max maxthreads N/A N/A server_name N/A N/A server_name N/A N/A socket gethostname N/A N/A self server_name server_name N/A __str__ N/A N/A self N/A N/A N/A N/A %s.%s(%r) N/A N/A self __module__ N/A N/A self __class__ __name__ N/A self bind_addr N/A _get_bind_addr N/A N/A self N/A N/A N/A N/A self _bind_addr N/A _set_bind_addr N/A N/A self value N/A N/A N/A N/A N/A isinstance value tuple N/A N/A value N/A 0 N/A None N/A N/A N/A ValueError Host values of '' or None are not allowed. Use '0.0.0.0' (IPv4) or '::' (IPv6) instead to listen on all active interfaces. N/A N/A self _bind_addr value N/A N/A bind_addr N/A property _get_bind_addr _set_bind_addr doc The interface on which to listen for connections.
        
        For TCP sockets, a (host, port) tuple. Host values may be any IPv4
        or IPv6 address, or any valid hostname. The string 'localhost' is a
        synonym for '127.0.0.1' (or '::1', if your hosts file prefers IPv6).
        The string '0.0.0.0' is a special IPv4 entry meaning "any active
        interface" (INADDR_ANY), and '::' is the similar IN6ADDR_ANY for
        IPv6. The empty string or None are not allowed.
        
        For UNIX sockets, supply the filename as a string. start N/A N/A self N/A N/A N/A Run the server forever. N/A N/A self _interrupt None N/A N/A N/A N/A self ssl_adapter None N/A getattr self ssl_certificate None N/A getattr self ssl_private_key None N/A N/A N/A N/A warnings warn SSL attributes are deprecated in CherryPy 3.2, and will be removed in CherryPy 3.3. Use an ssl_adapter attribute instead. DeprecationWarning N/A N/A django_wsgiserver.wsgiserver.ssl_pyopenssl pyOpenSSLAdapter N/A N/A N/A ImportError N/A N/A N/A N/A N/A self ssl_adapter N/A pyOpenSSLAdapter N/A self ssl_certificate N/A self ssl_private_key N/A getattr self ssl_certificate_chain None N/A N/A isinstance N/A self bind_addr basestring N/A N/A N/A N/A N/A N/A os unlink N/A self bind_addr N/A N/A N/A N/A N/A N/A N/A N/A N/A os chmod N/A self bind_addr 511 N/A N/A N/A N/A N/A info N/A N/A N/A socket AF_UNIX N/A socket SOCK_STREAM 0 N/A self bind_addr N/A N/A N/A host port N/A self bind_addr N/A N/A N/A info N/A N/A socket getaddrinfo host port N/A socket AF_UNSPEC N/A socket SOCK_STREAM 0 N/A socket AI_PASSIVE N/A N/A N/A N/A socket gaierror N/A N/A N/A : N/A N/A self bind_addr N/A 0 N/A N/A info N/A N/A N/A socket AF_INET6 N/A socket SOCK_STREAM 0 N/A N/A self bind_addr N/A 0 0 N/A N/A info N/A N/A N/A socket AF_INET N/A socket SOCK_STREAM 0 N/A self bind_addr N/A N/A self socket None N/A msg No socket could be created N/A res info N/A N/A N/A af socktype proto canonname sa res N/A N/A N/A N/A N/A self bind af socktype proto N/A N/A N/A N/A socket error N/A msg N/A N/A N/A self socket N/A N/A N/A N/A N/A self socket close N/A N/A self socket None N/A N/A N/A N/A N/A self socket N/A N/A N/A N/A socket error msg N/A N/A N/A N/A self socket settimeout 1 N/A N/A N/A N/A self socket listen N/A self request_queue_size N/A N/A N/A N/A self requests start N/A N/A self ready True N/A N/A self ready N/A N/A N/A N/A self tick N/A N/A self interrupt N/A N/A N/A N/A self interrupt True N/A N/A N/A N/A time sleep 0.1 N/A N/A self interrupt N/A N/A N/A self interrupt N/A bind N/A N/A self family type proto N/A 0 N/A N/A Create (or recreate) the actual socket object. N/A N/A self socket N/A N/A socket socket family type proto N/A N/A prevent_socket_inheritance N/A self socket N/A N/A N/A N/A self socket setsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR 1 N/A N/A N/A self nodelay N/A N/A isinstance N/A self bind_addr str N/A N/A N/A N/A N/A self socket setsockopt N/A socket IPPROTO_TCP N/A socket TCP_NODELAY 1 N/A N/A N/A self ssl_adapter None N/A N/A N/A self socket N/A N/A N/A self ssl_adapter bind N/A self socket N/A N/A N/A family N/A socket AF_INET6 N/A N/A N/A self bind_addr N/A 0 N/A :: ::0 ::0.0.0.0 N/A N/A N/A N/A N/A N/A N/A self socket setsockopt N/A socket IPPROTO_IPV6 N/A socket IPV6_V6ONLY 0 N/A N/A N/A N/A AttributeError N/A socket error N/A N/A N/A N/A N/A N/A self socket bind N/A self bind_addr N/A tick N/A N/A self N/A N/A N/A Accept a new connection and put it on the Queue. N/A N/A N/A N/A s addr N/A N/A N/A self socket accept N/A N/A N/A self ready N/A N/A N/A N/A prevent_socket_inheritance s N/A N/A hasattr s settimeout N/A N/A N/A N/A s settimeout N/A self timeout N/A N/A N/A self response_header None N/A N/A N/A self response_header N/A %s Server N/A self version N/A makefile CP_fileobject N/A ssl_env N/A N/A N/A N/A self ssl_adapter None N/A N/A N/A N/A N/A s ssl_env N/A N/A N/A self ssl_adapter wrap s N/A N/A N/A NoSSLError N/A N/A msg The client sent a plain HTTP request, but this server only speaks HTTPS on this port. N/A buf N/A N/A %s 400 Bad Request
 N/A self protocol N/A Content-Length: %s
 N/A len msg Content-Type: text/plain

 msg N/A wfile N/A CP_fileobject s wb -1 N/A N/A N/A N/A N/A wfile sendall N/A N/A join buf N/A N/A N/A N/A socket error N/A x N/A N/A N/A N/A N/A x args N/A 0 socket_errors_to_ignore N/A N/A N/A N/A N/A s N/A N/A N/A makefile N/A N/A self ssl_adapter makefile N/A conn N/A N/A self ConnectionClass self s makefile N/A N/A N/A isinstance N/A self bind_addr basestring N/A N/A N/A addr None N/A N/A N/A N/A len N/A N/A s getsockname 2 N/A N/A addr N/A 0.0.0.0 0 N/A N/A addr N/A :: 0 N/A N/A conn remote_addr N/A addr N/A 0 N/A N/A conn remote_port N/A addr N/A 1 N/A N/A conn ssl_env ssl_env N/A N/A N/A N/A self requests put conn N/A N/A N/A N/A socket timeout N/A N/A N/A N/A N/A socket error N/A x N/A N/A N/A N/A N/A x args N/A 0 socket_error_eintr N/A N/A N/A N/A N/A N/A x args N/A 0 socket_errors_nonblocking N/A N/A N/A N/A N/A N/A x args N/A 0 socket_errors_to_ignore N/A N/A N/A N/A _get_interrupt N/A N/A self N/A N/A N/A N/A self _interrupt N/A _set_interrupt N/A N/A self interrupt N/A N/A N/A N/A self _interrupt True N/A N/A N/A self stop N/A N/A self _interrupt interrupt N/A N/A interrupt N/A property _get_interrupt _set_interrupt doc Set this to an Exception instance to interrupt the server. stop N/A N/A self N/A N/A N/A Gracefully shutdown a server that is serving forever. N/A N/A self ready False N/A sock N/A getattr self socket None N/A sock N/A N/A N/A N/A isinstance N/A self bind_addr basestring N/A N/A N/A N/A N/A host port N/A N/A N/A sock getsockname N/A 2 N/A N/A N/A N/A socket error N/A x N/A N/A N/A N/A N/A x args N/A 0 socket_errors_to_ignore N/A N/A N/A N/A res N/A N/A socket getaddrinfo host port N/A socket AF_UNSPEC N/A socket SOCK_STREAM N/A N/A N/A af socktype proto canonname sa res N/A s None N/A N/A N/A s N/A N/A socket socket af socktype proto N/A N/A N/A s settimeout 1.0 N/A N/A N/A s connect N/A host port N/A N/A N/A s close N/A N/A N/A N/A socket error N/A N/A s N/A N/A N/A N/A s close N/A N/A hasattr sock close N/A N/A N/A N/A sock close N/A N/A self socket None N/A N/A N/A N/A self requests stop N/A self shutdown_timeout N/A N/A Gateway N/A object N/A __init__ N/A N/A self req N/A N/A N/A N/A self req req N/A respond N/A N/A self N/A N/A N/A NotImplemented N/A N/A N/A ssl_adapters N/A builtin pyopenssl django_wsgiserver.wsgiserver.ssl_builtin.BuiltinSSLAdapter django_wsgiserver.wsgiserver.ssl_pyopenssl.pyOpenSSLAdapter get_ssl_adapter_class N/A N/A name N/A pyopenssl N/A N/A adapter N/A ssl_adapters N/A N/A N/A name lower N/A N/A isinstance adapter basestring N/A N/A last_dot N/A N/A adapter rfind . N/A attr_name N/A adapter N/A N/A last_dot 1 N/A mod_path N/A adapter N/A last_dot N/A N/A N/A mod N/A N/A sys modules N/A mod_path N/A N/A mod None N/A N/A N/A KeyError N/A N/A N/A KeyError N/A N/A mod N/A __import__ mod_path N/A globals N/A locals N/A N/A N/A N/A adapter N/A getattr mod attr_name N/A N/A N/A AttributeError N/A N/A N/A AttributeError N/A '%s' object has no attribute '%s' N/A mod_path attr_name N/A adapter N/A CherryPyWSGIServer N/A HTTPServer N/A N/A wsgi_version N/A 1 1 __init__ N/A N/A self bind_addr wsgi_app numthreads server_name max request_queue_size timeout shutdown_timeout N/A 10 None -1 5 10 5 N/A N/A N/A self requests N/A ThreadPool self min N/A numthreads 1 max max N/A N/A self wsgi_app wsgi_app N/A N/A self gateway N/A wsgi_gateways N/A N/A self wsgi_version N/A N/A self bind_addr bind_addr N/A N/A server_name N/A N/A server_name N/A N/A socket gethostname N/A N/A self server_name server_name N/A N/A self request_queue_size request_queue_size N/A N/A self timeout timeout N/A N/A self shutdown_timeout shutdown_timeout N/A _get_numthreads N/A N/A self N/A N/A N/A N/A N/A self requests min N/A _set_numthreads N/A N/A self value N/A N/A N/A N/A N/A self requests min value N/A N/A numthreads N/A property _get_numthreads _set_numthreads N/A WSGIGateway N/A Gateway N/A __init__ N/A N/A self req N/A N/A N/A N/A self req req N/A N/A self started_response False N/A N/A self env N/A N/A self get_environ N/A get_environ N/A N/A self N/A N/A N/A Return a new environ dict targeting the given wsgi.version N/A NotImplemented N/A respond N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self req server wsgi_app N/A self env N/A self start_response N/A N/A N/A chunk response N/A N/A chunk N/A N/A N/A isinstance chunk unicode N/A N/A chunk N/A N/A chunk encode ISO-8859-1 N/A N/A N/A self write chunk N/A N/A N/A hasattr response close N/A N/A N/A N/A response close N/A start_response N/A N/A self status headers exc_info N/A None N/A N/A WSGI callable to begin the HTTP response. N/A N/A N/A self started_response N/A exc_info N/A N/A N/A AssertionError WSGI start_response called a second time with no exc_info. N/A N/A self started_response True N/A N/A N/A self req sent_headers N/A N/A N/A N/A N/A exc_info N/A 0 N/A exc_info N/A 1 N/A exc_info N/A 2 N/A N/A exc_info None N/A N/A N/A self req status status N/A N/A k v headers N/A N/A N/A N/A isinstance k str N/A N/A N/A TypeError N/A WSGI response header key %r is not a byte string. k N/A N/A N/A isinstance v str N/A N/A N/A TypeError N/A WSGI response header value %r is not a byte string. v N/A N/A N/A N/A N/A self req outheaders extend headers N/A N/A self write N/A write N/A N/A self chunk N/A N/A N/A WSGI callable to write unbuffered data to the client.
        
        This method is also used internally by start_response (to write
        data from the iterable returned by the WSGI application).
         N/A N/A N/A self started_response N/A N/A N/A AssertionError WSGI write called before start_response. N/A N/A N/A N/A self req sent_headers N/A N/A N/A N/A self req sent_headers True N/A N/A N/A N/A self req send_headers N/A N/A N/A N/A self req write chunk N/A N/A WSGIGateway_10 N/A WSGIGateway N/A get_environ N/A N/A self N/A N/A N/A Return a new environ dict targeting the given wsgi.version N/A req N/A self req N/A env N/A ACTUAL_SERVER_PROTOCOL PATH_INFO QUERY_STRING REMOTE_ADDR REMOTE_PORT REQUEST_METHOD REQUEST_URI SCRIPT_NAME SERVER_NAME SERVER_PROTOCOL SERVER_SOFTWARE wsgi.errors wsgi.input wsgi.multiprocess wsgi.multithread wsgi.run_once wsgi.url_scheme wsgi.version N/A N/A req server protocol N/A req path N/A req qs N/A N/A N/A req conn remote_addr N/A str N/A N/A N/A req conn remote_port N/A req method N/A req uri N/A N/A req server server_name N/A req request_protocol N/A %s WSGI Server N/A N/A req server version N/A sys stderr N/A req rfile False True False N/A req scheme N/A 1 0 N/A N/A isinstance N/A N/A req server bind_addr basestring N/A N/A N/A env N/A SERVER_PORT N/A N/A N/A env N/A SERVER_PORT N/A str N/A N/A N/A req server bind_addr N/A 1 N/A N/A k v N/A N/A N/A req inheaders iteritems N/A N/A N/A env N/A N/A HTTP_ N/A N/A N/A N/A k upper replace - _ v N/A ct N/A N/A env pop HTTP_CONTENT_TYPE None N/A N/A ct None N/A N/A N/A env N/A CONTENT_TYPE ct N/A cl N/A N/A env pop HTTP_CONTENT_LENGTH None N/A N/A cl None N/A N/A N/A env N/A CONTENT_LENGTH cl N/A N/A N/A req conn ssl_env N/A N/A N/A N/A env update N/A N/A req conn ssl_env N/A env N/A N/A WSGIGateway_11 N/A WSGIGateway_10 N/A get_environ N/A N/A self N/A N/A N/A env N/A N/A WSGIGateway_10 get_environ self N/A N/A env N/A wsgi.version N/A 1 1 N/A env N/A N/A WSGIGateway_u0 N/A WSGIGateway_10 N/A get_environ N/A N/A self N/A N/A N/A Return a new environ dict targeting the given wsgi.version N/A req N/A self req N/A env_10 N/A N/A WSGIGateway_10 get_environ self N/A env N/A dict N/A N/A N/A N/A k decode ISO-8859-1 v N/A N/A k v N/A N/A env_10 iteritems N/A N/A env N/A wsgi.version N/A u 0 N/A N/A N/A env setdefault wsgi.url_encoding utf-8 N/A N/A N/A key N/A PATH_INFO SCRIPT_NAME QUERY_STRING N/A N/A N/A env N/A key N/A N/A N/A env_10 N/A N/A str key decode N/A env N/A wsgi.url_encoding N/A N/A N/A UnicodeDecodeError N/A N/A N/A env N/A wsgi.url_encoding ISO-8859-1 N/A key N/A PATH_INFO SCRIPT_NAME QUERY_STRING N/A N/A N/A env N/A key N/A N/A N/A env_10 N/A N/A str key decode N/A env N/A wsgi.url_encoding N/A N/A k v N/A sorted N/A N/A env items N/A N/A N/A N/A isinstance v str N/A k N/A REQUEST_URI wsgi.input N/A N/A N/A env N/A k N/A N/A v decode ISO-8859-1 N/A env N/A N/A N/A wsgi_gateways N/A N/A 1 0 N/A 1 1 N/A u 0 WSGIGateway_10 WSGIGateway_11 WSGIGateway_u0 WSGIPathInfoDispatcher N/A object N/A N/A A WSGI dispatcher for dispatch based on the PATH_INFO.
    
    apps: a dict or list of (path_prefix, app) pairs.
     __init__ N/A N/A self apps N/A N/A N/A N/A N/A apps N/A N/A apps items N/A N/A N/A AttributeError N/A N/A N/A N/A N/A apps sort cmp N/A N/A N/A x y N/A N/A cmp N/A len N/A x N/A 0 N/A len N/A y N/A 0 N/A N/A N/A apps reverse N/A N/A self apps N/A N/A N/A N/A p rstrip / a N/A N/A p a apps N/A __call__ N/A N/A self environ start_response N/A N/A N/A path N/A N/A environ N/A PATH_INFO / N/A N/A p app N/A self apps N/A N/A N/A N/A N/A path startswith N/A p / N/A path p N/A N/A environ N/A N/A environ copy N/A N/A environ N/A SCRIPT_NAME N/A N/A environ N/A SCRIPT_NAME p N/A N/A environ N/A PATH_INFO N/A path N/A N/A len p N/A N/A app environ start_response N/A N/A start_response 404 Not Found N/A N/A Content-Type text/plain N/A Content-Length 0 N/A N/A N/A N/A