Module Expr Str ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias TryExcept body ImportFrom alias identifier Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Delete NameDel handlers ExceptHandler type NameLoad body Pass ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias ImportFrom alias handlers ExceptHandler body Assign NameStore NameLoad Assign NameStore NameLoad ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd Str NameLoad Assign NameStore BinOpLShift Num Num Assign NameStore BinOpMult BinOpMult Num Num Num Assign NameStore BinOpLShift Num Num Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq Call NameLoad NameLoad Str body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore NameLoad While CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Break Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad AugAssignSub NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return NameLoad If CompareIn Str NameLoad body Return NameLoad Return BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body If CompareNotEq Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad NameLoad Return BinOpMod Str Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore BinOpMod Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd BoolOpOr NameLoad NameLoad UnaryOpNot NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad UnaryOpNot NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Assign NameStore Num FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr Slice Num attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad TryExcept body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str If BoolOpAnd NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Str If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareEq Call NameLoad NameLoad Num SubscriptLoad NameLoad Index Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str NameLoad Global identifier Assign SubscriptStore NameLoad Index Str Call NameLoad AugAssignAdd NameStore Num For NameStore NameLoad body If CompareIn NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign SubscriptStore NameLoad Index BinOpAdd Str NameLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str Raise Call NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareIn NameLoad TupleLoad Str Str Call AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If CompareIn NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad ListLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareEq NameLoad NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Continue If Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Continue Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Str CompareIs Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Return NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str body Return If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str body Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice UnaryOpUSub Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore ListLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore Num For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Raise Call NameLoad NameLoad ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If NameLoad body AugAssignAdd NameStore BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad TryFinally body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr Str Str Str body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Str NameLoad Return NameLoad orelse Assign NameStore Num If CompareLtE NameLoad NameLoad body Return NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad TryFinally body Import alias Expr Call NameLoad NameLoad If NameLoad body Exec NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num TryFinally body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad If NameLoad body TryExcept body Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore CompareGtE NameLoad Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad Str Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Slice UnaryOpUSub Call NameLoad NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr Str CompareNotEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore Str TryFinally body Import alias Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Num orelse Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str TupleLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body For TupleStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad Num Num Str Call AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad TupleLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad TupleLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareEq NameLoad Str body ImportFrom alias Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign NameStore NameLoad Assign NameStore NameLoad TryFinally body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad NameLoad attr UnaryOpNot BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad TryExcept body If BoolOpAnd NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad ExceptHandler body Assign NameStore NameLoad Raise finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore Dict If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr finalbody Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults vararg kwarg body Expr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Slice BinOpAdd Call NameLoad NameLoad Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad If NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str orelse Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Num orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Return BoolOpOr AttributeLoad NameLoad attr Num decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str TryExcept body Assign NameStore Call NameLoad NameLoad Str TryFinally body Assign NameStore Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Str AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd Call AttributeLoad Str attr NameLoad Str decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Str orelse If NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr orelse Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr SubscriptLoad BinOpAdd NameLoad ListLoad Str Slice Num TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If UnaryOpNot CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str If UnaryOpNot CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num If Call NameLoad NameLoad body Return NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad If CompareNotEq NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Continue TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad Assign NameStore Call NameLoad NameLoad Str TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Str body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str TryFinally body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num finalbody Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str TryFinally body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr finalbody TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore Dict Str Str Str Str Str Str AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr TryExcept body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If BoolOpOr UnaryOpNot NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpAdd AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str Global identifier Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad If CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ExceptHandler body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad orelse TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareNotEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body If CompareNotIn AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Num If CompareEq NameLoad Str body Assign NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str NameLoad TryFinally body Return Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Str If BoolOpAnd NameLoad AttributeLoad NameLoad attr UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Str attr TupleLoad Call AttributeLoad NameLoad attr NameLoad Str If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad Call NameLoad NameLoad attr Str Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str For NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad If NameLoad body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Raise NameLoad decorator_list ClassDef bases body Expr Str Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr NameLoad body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr body Return TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad TryFinally body Return Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str If BoolOpAnd NameLoad NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr keyword NameLoad keyword UnaryOpNot NameLoad keyword NameLoad keyword BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad keyword NameLoad If NameLoad body ImportFrom alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr TryExcept body ImportFrom alias Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str While NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign NameStore BinOpSub NameLoad NameLoad orelse Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr ListLoad ListLoad Call NameLoad NameLoad Num If NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareGtE NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad If NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num NameLoad CompareEq SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore TupleLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Break decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list
N/A N/A Pure-Python application server for testing applications locally.

Given a port and the paths to a valid application directory (with an 'app.yaml'
file), the external library directory, and a relative URL to use for logins,
creates an HTTP server that can be used to test an application locally. Uses
stubs instead of actual APIs when SetupStubs() is called first.

Example:
  root_path = '/path/to/application/directory'
  login_url = '/login'
  port = 8080
  server = dev_appserver.CreateServer(root_path, login_url, port)
  server.serve_forever()
 __future__ with_statement google.appengine.tools os_compat N/A __builtin__ N/A BaseHTTPServer N/A Cookie N/A base64 N/A cStringIO N/A cgi N/A cgitb N/A email.Utils N/A errno N/A hashlib N/A heapq N/A httplib N/A imp N/A inspect N/A logging N/A mimetools N/A mimetypes N/A os N/A pdb N/A select N/A shutil N/A simplejson N/A tempfile N/A yaml N/A re N/A sre_compile N/A sre_constants N/A sre_parse N/A socket N/A sys N/A time N/A types N/A urlparse N/A urllib N/A zlib N/A google google.pyglib gexcept N/A N/A google.third_party.apphosting.python.webapp2 v2_3 tmp N/A N/A N/A N/A sys path append N/A N/A N/A os path dirname N/A tmp __file__ N/A tmp N/A N/A N/A ImportError N/A N/A google.appengine.api apiproxy_stub_map google.appengine.api appinfo google.appengine.api appinfo_includes google.appengine.api app_logging google.appengine.api blobstore google.appengine.api croninfo google.appengine.api datastore_admin google.appengine.api lib_config google.appengine.api mail google.appengine.api urlfetch_stub google.appengine.api user_service_stub google.appengine.api yaml_errors google.appengine.api.app_identity app_identity_stub google.appengine.api.capabilities capability_stub google.appengine.api.conversion conversion_stub google.appengine.api.channel channel_service_stub google.appengine.api.files file_service_stub google.appengine.api.logservice logservice google.appengine.api.logservice logservice_stub google.appengine.api.search simple_search_stub google.appengine.api.prospective_search prospective_search_stub google.appengine.api rdbms_mysqldb google.appengine.api.system system_stub google.appengine.datastore datastore_stub_util google.appengine dist google.appengine.api.taskqueue taskqueue_rabbitmq google.appengine.api mail_stub google.appengine.api.blobstore blobstore_stub google.appengine.api datastore_distributed google.appengine.api.blobstore datastore_blob_storage google.appengine.api.memcache memcache_distributed google.appengine.api.xmpp xmpp_service_real google.appengine.api.appscale babel google.appengine.api.appscale ec2 google.appengine.api.appscale mapreduce google.appengine.api.appscale neptune N/A N/A google.appengine.runtime request_environment google.appengine.runtime runtime N/A N/A N/A N/A request_environment None N/A runtime None google.appengine.tools dev_appserver_blobstore google.appengine.tools dev_appserver_channel google.appengine.tools dev_appserver_blobimage google.appengine.tools dev_appserver_import_hook google.appengine.tools dev_appserver_index google.appengine.tools dev_appserver_login google.appengine.tools dev_appserver_oauth google.appengine.tools dev_appserver_multiprocess multiprocess google.appengine.tools dev_appserver_upload google.storage.speckle.python.api rdbms N/A CouldNotFindModuleError N/A dev_appserver_import_hook CouldNotFindModuleError N/A FakeAccess N/A dev_appserver_import_hook FakeAccess N/A FakeFile N/A dev_appserver_import_hook FakeFile N/A FakeReadlink N/A dev_appserver_import_hook FakeReadlink N/A FakeSetLocale N/A dev_appserver_import_hook FakeSetLocale N/A FakeUnlink N/A dev_appserver_import_hook FakeUnlink N/A GetSubmoduleName N/A dev_appserver_import_hook GetSubmoduleName N/A HardenedModulesHook N/A dev_appserver_import_hook HardenedModulesHook N/A SDK_ROOT N/A dev_appserver_import_hook SDK_ROOT N/A PYTHON_LIB_VAR $PYTHON_LIB N/A DEVEL_CONSOLE_PATH N/A PYTHON_LIB_VAR /google/appengine/ext/admin N/A REMOTE_API_PATH N/A PYTHON_LIB_VAR /google/appengine/ext/remote_api/handler.py N/A FILE_MISSING_EXCEPTIONS N/A frozenset N/A N/A errno ENOENT N/A errno ENOTDIR N/A MAX_URL_LENGTH 2047 N/A DEFAULT_ENV N/A GATEWAY_INTERFACE AUTH_DOMAIN USER_ORGANIZATION TZ COOKIE_SERCRET LOGIN_SERVER CGI/1.1 gmail.com UTC secret 0.0.0.0 N/A DEFAULT_SELECT_DELAY 30.0 N/A N/A ext mime_type N/A N/A N/A mail EXTENSION_MIME_MAP iteritems N/A N/A N/A N/A mimetypes add_type mime_type N/A . ext N/A MAX_RUNTIME_RESPONSE_SIZE N/A 32 20 N/A MAX_REQUEST_SIZE N/A N/A 32 1024 1024 N/A COPY_BLOCK_SIZE N/A 1 20 N/A API_VERSION 1 N/A VERSION_FILE ../../VERSION N/A DEVEL_PAYLOAD_HEADER HTTP_X_APPENGINE_DEVELOPMENT_PAYLOAD N/A DEVEL_PAYLOAD_RAW_HEADER X-AppEngine-Development-Payload N/A DEVEL_FAKE_IS_ADMIN_HEADER HTTP_X_APPENGINE_FAKE_IS_ADMIN N/A DEVEL_FAKE_IS_ADMIN_RAW_HEADER X-AppEngine-Fake-Is-Admin Error N/A Exception N/A N/A Base-class for exceptions in this module. N/A InvalidAppConfigError N/A Error N/A N/A The supplied application configuration file is invalid. N/A AppConfigNotFoundError N/A Error N/A N/A Application configuration file not found. N/A CompileError N/A Error N/A N/A Application could not be compiled. __init__ N/A N/A self text N/A N/A N/A N/A self text text N/A N/A MonkeyPatchPdb N/A N/A pdb N/A N/A N/A Given a reference to the pdb module, fix its set_trace function.

  This will allow the standard trick of setting a breakpoint in your
  code by inserting a call to pdb.set_trace() to work properly, as
  long as the original stdin and stdout of dev_appserver.py are
  connected to a console or shell window.
   NewSetTrace N/A N/A N/A N/A N/A Replacement for set_trace() that uses the original i/o streams.

    This is necessary because by the time the user code that might
    invoke pdb.set_trace() runs, the default sys.stdin and sys.stdout
    are redirected to the HTTP request and response streams instead,
    so that pdb will encounter garbage (or EOF) in its input, and its
    output will garble the HTTP response.  Fortunately, sys.__stdin__
    and sys.__stderr__ retain references to the original streams --
    this is a standard Python feature.  Also, fortunately, as of
    Python 2.5, the Pdb class lets you easily override stdin and
    stdout.  The original set_trace() function does essentially the
    same thing as the code here except it instantiates Pdb() without
    arguments.
     N/A p N/A N/A pdb Pdb stdin N/A sys __stdin__ stdout N/A sys __stdout__ N/A N/A N/A p set_trace N/A N/A N/A sys _getframe f_back N/A N/A N/A pdb set_trace NewSetTrace N/A SplitURL N/A N/A relative_url N/A N/A N/A Splits a relative URL into its path and query-string components.

  Args:
    relative_url: String containing the relative URL (often starting with '/')
      to split. Should be properly escaped as www-form-urlencoded data.

  Returns:
    Tuple (script_name, query_string) where:
      script_name: Relative URL of the script that was accessed.
      query_string: String containing everything after the '?' character.
   N/A N/A unused_scheme unused_netloc path query unused_fragment N/A N/A urlparse urlsplit relative_url N/A N/A path query N/A GetFullURL N/A N/A server_name server_port relative_url N/A N/A N/A Returns the full, original URL used to access the relative URL.

  Args:
    server_name: Name of the local host, or the value of the 'host' header
      from the request.
    server_port: Port on which the request was served (string or int).
    relative_url: Relative URL that was accessed, including query string.

  Returns:
    String containing the original URL.
   N/A N/A N/A str server_port 80 N/A N/A netloc N/A %s:%s N/A server_name server_port N/A N/A netloc server_name N/A N/A http://%s%s N/A netloc relative_url N/A CopyStreamPart N/A N/A source destination content_size N/A N/A N/A Copy a portion of a stream from one file-like object to another.

  Args:
    source: Source stream to copy from.
    destination: Destination stream to copy to.
    content_size: Maximum bytes to copy.

  Returns:
    Number of bytes actually copied.
   N/A bytes_copied 0 N/A bytes_left content_size N/A N/A bytes_left 0 N/A N/A bytes N/A N/A source read N/A min bytes_left COPY_BLOCK_SIZE N/A bytes_read N/A len bytes N/A N/A bytes_read 0 N/A N/A N/A N/A N/A destination write bytes N/A bytes_copied bytes_read N/A bytes_left bytes_read N/A bytes_copied N/A AppIdWithDefaultPartition N/A N/A app_id default_partition N/A N/A N/A Add a partition to an application id if necessary. N/A N/A default_partition N/A N/A app_id N/A N/A ~ app_id N/A N/A app_id N/A N/A N/A default_partition ~ app_id N/A AppServerRequest N/A object N/A N/A Encapsulates app-server request.

  Object used to hold a full appserver request.  Used as a container that is
  passed through the request forward chain and ultimately sent to the
  URLDispatcher instances.

  Attributes:
    relative_url: String containing the URL accessed.
    path: Local path of the resource that was matched; back-references will be
      replaced by values matched in the relative_url. Path may be relative
      or absolute, depending on the resource being served (e.g., static files
      will have an absolute path; scripts will be relative).
    headers: Instance of mimetools.Message with headers from the request.
    infile: File-like object with input data from the request.
    force_admin: Allow request admin-only URLs to proceed regardless of whether
      user is logged in or is an admin.
   N/A ATTRIBUTES N/A relative_url path headers infile force_admin __init__ N/A N/A self relative_url path headers infile secret_hash force_admin N/A False N/A N/A Constructor.

    Args:
      relative_url: Mapped directly to attribute.
      path: Mapped directly to attribute.
      headers: Mapped directly to attribute.
      infile: Mapped directly to attribute.
      force_admin: Mapped directly to attribute.
     N/A N/A self relative_url relative_url N/A N/A self path path N/A N/A self headers headers N/A N/A self infile infile N/A N/A self force_admin force_admin N/A N/A DEVEL_PAYLOAD_RAW_HEADER N/A self headers N/A N/A N/A N/A N/A self headers N/A DEVEL_PAYLOAD_RAW_HEADER secret_hash N/A N/A N/A self force_admin True N/A N/A DEVEL_FAKE_IS_ADMIN_RAW_HEADER N/A self headers N/A N/A N/A N/A N/A self headers N/A DEVEL_FAKE_IS_ADMIN_RAW_HEADER secret_hash N/A N/A N/A self force_admin True N/A __eq__ N/A N/A self other N/A N/A N/A Used mainly for testing.

    Returns:
      True if all fields of both requests are equal, else False.
     N/A N/A N/A type self N/A type other N/A N/A attribute N/A self ATTRIBUTES N/A N/A N/A N/A getattr self attribute N/A getattr other attribute N/A N/A False N/A True N/A __repr__ N/A N/A self N/A N/A N/A String representation of request.

    Used mainly for testing.

    Returns:
      String representation of AppServerRequest.  Strings of different
      request objects that have the same values for all fields compare
      as equal.
     N/A results N/A N/A attribute N/A self ATTRIBUTES N/A N/A N/A N/A results append N/A %s: %s N/A attribute N/A getattr self attribute N/A N/A <AppServerRequest %s> N/A N/A join results N/A N/A URLDispatcher N/A object N/A N/A Base-class for handling HTTP requests. Dispatch N/A N/A self request outfile base_env_dict N/A None N/A N/A Dispatch and handle an HTTP request.

    base_env_dict should contain at least these CGI variables:
      REQUEST_METHOD, REMOTE_ADDR, SERVER_SOFTWARE, SERVER_NAME,
      SERVER_PROTOCOL, SERVER_PORT

    Args:
      request: AppServerRequest instance.
      outfile: File-like object where output data should be written.
      base_env_dict: Dictionary of CGI environment parameters if available.
        Defaults to None.

    Returns:
      None if request handling is complete.
      A new AppServerRequest instance if internal redirect is required.
     N/A NotImplementedError N/A EndRedirect N/A N/A self dispatched_output original_output N/A N/A N/A Process the end of an internal redirect.

    This method is called after all subsequent dispatch requests have finished.
    By default the output from the dispatched process is copied to the original.

    This will not be called on dispatchers that do not return an internal
    redirect.

    Args:
      dispatched_output: StringIO buffer containing the results from the
       dispatched
      original_output: The original output file.
     N/A N/A N/A original_output write N/A N/A dispatched_output read N/A N/A URLMatcher N/A object N/A N/A Matches an arbitrary URL using a list of URL patterns from an application.

  Each URL pattern has an associated URLDispatcher instance and path to the
  resource's location on disk. See AddURL for more details. The first pattern
  that matches an inputted URL will have its associated values returned by
  Match().
   __init__ N/A N/A self N/A N/A N/A Initializer. N/A N/A self _url_patterns N/A N/A AddURL N/A N/A self regex dispatcher path requires_login admin_only auth_fail_action N/A N/A N/A Adds a URL pattern to the list of patterns.

    If the supplied regex starts with a '^' or ends with a '$' an
    InvalidAppConfigError exception will be raised. Start and end symbols
    and implicitly added to all regexes, meaning we assume that all regexes
    consume all input from a URL.

    Args:
      regex: String containing the regular expression pattern.
      dispatcher: Instance of URLDispatcher that should handle requests that
        match this regex.
      path: Path on disk for the resource. May contain back-references like
        r'', r'', etc, which will be replaced by the corresponding groups
        matched by the regex if present.
      requires_login: True if the user must be logged-in before accessing this
        URL; False if anyone can access this URL.
      admin_only: True if the user must be a logged-in administrator to
        access the URL; False if anyone can access the URL.
      auth_fail_action: either appinfo.AUTH_FAIL_ACTION_REDIRECT (default)
        which indicates that the server should redirect to the login page when
        an authentication is needed, or appinfo.AUTH_FAIL_ACTION_UNAUTHORIZED
        which indicates that the server should just return a 401 Unauthorized
        message immediately.

    Raises:
      TypeError: if dispatcher is not a URLDispatcher sub-class instance.
      InvalidAppConfigError: if regex isn't valid.
     N/A N/A N/A isinstance dispatcher URLDispatcher N/A N/A N/A TypeError dispatcher must be a URLDispatcher sub-class N/A N/A N/A N/A regex startswith ^ N/A N/A regex endswith $ N/A N/A N/A InvalidAppConfigError regex starts with "^" or ends with "$" N/A adjusted_regex N/A ^%s$ regex N/A N/A N/A url_re N/A N/A re compile adjusted_regex N/A N/A N/A N/A re error N/A e N/A N/A N/A InvalidAppConfigError N/A regex invalid: %s e N/A match_tuple N/A url_re dispatcher path requires_login admin_only auth_fail_action N/A N/A N/A N/A self _url_patterns append match_tuple N/A Match N/A N/A self relative_url split_url N/A SplitURL N/A N/A Matches a URL from a request against the list of URL patterns.

    The supplied relative_url may include the query string (i.e., the '?'
    character and everything following).

    Args:
      relative_url: Relative URL being accessed in a request.
      split_url: Used for dependency injection.

    Returns:
      Tuple (dispatcher, matched_path, requires_login, admin_only,
      auth_fail_action), which are the corresponding values passed to
      AddURL when the matching URL pattern was added to this matcher.
      The matched_path will have back-references replaced using values
      matched by the URL pattern.  If no match was found, dispatcher will
      be None.
     N/A N/A adjusted_url unused_query_string N/A split_url relative_url N/A url_tuple N/A self _url_patterns N/A N/A N/A url_re dispatcher path requires_login admin_only auth_fail_action url_tuple N/A the_match N/A N/A url_re match adjusted_url N/A the_match N/A N/A adjusted_path N/A N/A the_match expand path N/A N/A dispatcher adjusted_path requires_login admin_only auth_fail_action N/A N/A None None None None None N/A GetDispatchers N/A N/A self N/A N/A N/A Retrieves the URLDispatcher objects that could be matched.

    Should only be used in tests.

    Returns:
      A set of URLDispatcher objects.
     N/A N/A set N/A N/A url_tuple N/A 1 N/A url_tuple N/A self _url_patterns N/A N/A MatcherDispatcher N/A URLDispatcher N/A N/A Dispatcher across multiple URLMatcher instances. __init__ N/A N/A self config login_url url_matchers get_user_info login_redirect N/A N/A dev_appserver_login GetUserInfo N/A dev_appserver_login LoginRedirect N/A N/A Initializer.

    Args:
      config: AppInfoExternal instance representing the parsed app.yaml file.
      login_url: Relative URL which should be used for handling user logins.
      url_matchers: Sequence of URLMatcher objects.
      get_user_info: Used for dependency injection.
      login_redirect: Used for dependency injection.
     N/A N/A self _config config N/A N/A self _login_url login_url N/A N/A self _url_matchers N/A tuple url_matchers N/A N/A self _get_user_info get_user_info N/A N/A self _login_redirect login_redirect N/A Dispatch N/A N/A self request outfile base_env_dict N/A None N/A N/A Dispatches a request to the first matching dispatcher.

    Matchers are checked in the order they were supplied to the constructor.
    If no matcher matches, a 404 error will be written to the outfile. The
    path variable supplied to this method is ignored.

    The value of request.path is ignored.
     N/A cookies N/A N/A ,  join N/A N/A N/A request headers getheaders cookie N/A N/A email_addr user_id admin valid_cookie N/A N/A self _get_user_info cookies N/A matcher N/A self _url_matchers N/A N/A N/A dispatcher matched_path requires_login admin_only auth_fail_action N/A N/A matcher Match N/A request relative_url N/A N/A dispatcher None N/A N/A N/A N/A N/A logging debug Matched "%s" to %s with path %s N/A request relative_url dispatcher matched_path N/A N/A N/A requires_login admin_only N/A email_addr N/A N/A request force_admin N/A N/A N/A N/A logging debug Login required, redirecting user N/A N/A auth_fail_action N/A appinfo AUTH_FAIL_ACTION_REDIRECT N/A N/A N/A N/A self _login_redirect N/A self _login_url N/A base_env_dict N/A SERVER_NAME N/A base_env_dict N/A SERVER_PORT N/A request relative_url outfile N/A N/A N/A auth_fail_action N/A appinfo AUTH_FAIL_ACTION_UNAUTHORIZED N/A N/A N/A N/A outfile write N/A Status: %d Not authorized

Login required to view page. N/A httplib UNAUTHORIZED N/A N/A N/A admin_only N/A admin N/A N/A request force_admin N/A N/A N/A N/A outfile write N/A Status: %d Not authorized

Current logged in user %s is not authorized to view this page. N/A N/A httplib FORBIDDEN email_addr N/A N/A N/A request path matched_path N/A forward_request N/A N/A dispatcher Dispatch request outfile base_env_dict base_env_dict N/A forward_request N/A N/A N/A N/A logging info Internal redirection to %s N/A forward_request relative_url N/A new_outfile N/A N/A cStringIO StringIO N/A N/A N/A self Dispatch forward_request new_outfile N/A dict base_env_dict N/A N/A N/A new_outfile seek 0 N/A N/A N/A dispatcher EndRedirect new_outfile outfile N/A N/A N/A N/A outfile write N/A Status: %d URL did not match

Not found error: %s did not match any patterns in application configuration. N/A N/A httplib NOT_FOUND N/A request relative_url N/A N/A N/A _IGNORE_REQUEST_HEADERS N/A frozenset N/A content-type content-length accept-encoding transfer-encoding N/A _request_id 0 _generate_request_id_hash N/A N/A N/A N/A N/A Generates a hash of the current request id. N/A N/A N/A N/A N/A N/A N/A N/A hashlib sha1 N/A str _request_id hexdigest N/A 8 upper N/A GetGoogleSqlOAuth2RefreshToken N/A N/A oauth_file_path N/A N/A N/A Reads the user's Google Cloud SQL OAuth2.0 token from disk. N/A N/A N/A N/A N/A os path exists oauth_file_path N/A N/A None N/A N/A N/A N/A open oauth_file_path oauth_file N/A N/A token N/A N/A simplejson load oauth_file N/A N/A token N/A refresh_token N/A N/A N/A N/A IOError KeyError N/A N/A simplejson decoder JSONDecodeError N/A N/A N/A N/A logging exception Could not read OAuth2.0 token from %s oauth_file_path N/A None N/A SetupEnvironment N/A N/A cgi_path relative_url headers infile split_url get_user_info N/A SplitURL N/A dev_appserver_login GetUserInfo N/A N/A Sets up environment variables for a CGI.

  Args:
    cgi_path: Full file-system path to the CGI being executed.
    relative_url: Relative URL used to access the CGI.
    headers: Instance of mimetools.Message containing request headers.
    infile: File-like object with input data from the request.
    split_url, get_user_info: Used for dependency injection.

  Returns:
    Dictionary containing CGI environment variables.
   N/A env N/A N/A DEFAULT_ENV copy N/A N/A script_name query_string N/A split_url relative_url N/A N/A env N/A _AH_ENCODED_SCRIPT_NAME script_name N/A N/A env N/A SCRIPT_NAME N/A N/A env N/A QUERY_STRING query_string N/A N/A env N/A PATH_INFO N/A N/A urllib unquote script_name N/A N/A env N/A PATH_TRANSLATED cgi_path N/A N/A env N/A CONTENT_TYPE N/A N/A headers getheader content-type application/x-www-form-urlencoded N/A N/A env N/A CONTENT_LENGTH N/A N/A headers getheader content-length N/A cookies N/A N/A ,  join N/A N/A headers getheaders cookie N/A N/A email_addr user_id admin valid_cookie N/A get_user_info cookies N/A valid_cookie N/A N/A N/A env N/A USER_EMAIL email_addr N/A N/A env N/A USER_ID user_id N/A N/A env N/A USER_NICKNAME user_id N/A N/A N/A env N/A USER_EMAIL N/A N/A env N/A USER_ID N/A N/A env N/A USER_NICKNAME N/A N/A env N/A USER_IS_ADMIN 0 N/A N/A admin valid_cookie N/A N/A N/A env N/A USER_IS_ADMIN 1 N/A N/A N/A env N/A AUTH_DOMAIN * N/A N/A auth_domain gmail.com N/A parts N/A N/A email_addr split @ N/A N/A N/A N/A len parts 2 N/A parts N/A 1 N/A N/A auth_domain N/A parts N/A 1 N/A N/A env N/A AUTH_DOMAIN auth_domain N/A _request_id N/A N/A env N/A REQUEST_ID_HASH N/A _generate_request_id_hash N/A _request_id 1 N/A key headers N/A N/A N/A key _IGNORE_REQUEST_HEADERS N/A N/A N/A adjusted_name N/A N/A N/A N/A key replace - _ upper N/A N/A env N/A N/A HTTP_ adjusted_name N/A N/A ,  join N/A N/A headers getheaders key N/A N/A DEVEL_PAYLOAD_HEADER env N/A N/A N/A env N/A DEVEL_PAYLOAD_HEADER N/A new_data N/A N/A base64 standard_b64decode N/A N/A infile getvalue N/A N/A N/A infile seek 0 N/A N/A N/A infile truncate N/A N/A N/A infile write new_data N/A N/A N/A infile seek 0 N/A N/A env N/A CONTENT_LENGTH N/A str N/A len new_data N/A N/A DEVEL_FAKE_IS_ADMIN_HEADER env N/A N/A N/A env N/A DEVEL_FAKE_IS_ADMIN_HEADER N/A token N/A GetGoogleSqlOAuth2RefreshToken N/A rdbms OAUTH_CREDENTIALS_PATH N/A token N/A N/A N/A env N/A GOOGLE_SQL_OAUTH2_REFRESH_TOKEN token N/A env N/A NotImplementedFake N/A N/A N/A args kwargs N/A N/A Fake for methods/functions that are not implemented in the production
  environment.
   N/A N/A NotImplementedError This class/method is not available. N/A NotImplementedFakeClass N/A object N/A N/A Fake class for classes that are not implemented in the production env.
   N/A __init__ NotImplementedFake N/A IsEncodingsModule N/A N/A module_name N/A N/A N/A Determines if the supplied module is related to encodings in any way.

  Encodings-related modules cannot be reloaded, so they need to be treated
  specially when sys.modules is modified in any way.

  Args:
    module_name: Absolute name of the module regardless of how it is imported
      into the local namespace (e.g., foo.bar.baz).

  Returns:
    True if it's an encodings-related module; False otherwise.
   N/A N/A N/A module_name N/A codecs encodings N/A N/A module_name startswith encodings. N/A N/A True N/A False N/A ClearAllButEncodingsModules N/A N/A module_dict N/A N/A N/A Clear all modules in a module dictionary except for those modules that
  are in any way related to encodings.

  Args:
    module_dict: Dictionary in the form used by sys.modules.
   N/A module_name N/A N/A module_dict keys N/A N/A N/A N/A IsEncodingsModule module_name N/A N/A N/A module_dict N/A module_name N/A UpdateNotSharedModulesInParents N/A N/A module_dict N/A N/A N/A Replace modules not shared between the hardened and unhardened parts of the
  process in their parent packages.

  If foo.bar is not shared then this replaces the reference to bar contained in
  foo with the foo.bar in module_dict if it is present and deletes it otherwise.

  Args:
    module_dict: A dict containing the modules to be added to sys.modules.

   N/A prefix NOT_SHARED_MODULE_PREFIXES N/A N/A N/A parent_name _ submodule_name N/A N/A prefix rpartition . N/A parent N/A N/A module_dict get parent_name N/A parent N/A N/A N/A prefix module_dict N/A N/A N/A setattr parent submodule_name N/A module_dict N/A prefix N/A N/A N/A hasattr parent submodule_name N/A N/A N/A delattr parent submodule_name N/A N/A SHARED_MODULE_PREFIXES N/A set N/A google logging sys warnings re sre_compile sre_constants sre_parse email wsgiref MySQLdb N/A NOT_SHARED_MODULE_PREFIXES N/A set N/A google.appengine.ext ModuleNameHasPrefix N/A N/A module_name prefix_set N/A N/A N/A Determines if a module's name belongs to a set of prefix strings.

  Args:
    module_name: String containing the fully qualified module name.
    prefix_set: Iterable set of module name prefixes to check against.

  Returns:
    True if the module_name belongs to the prefix set or is a submodule of
    any of the modules specified in the prefix_set. Otherwise False.
   N/A prefix prefix_set N/A N/A N/A prefix module_name N/A N/A True N/A N/A N/A module_name startswith N/A prefix . N/A N/A True N/A False N/A SetupSharedModules N/A N/A module_dict N/A N/A N/A Creates a module dictionary for the hardened part of the process.

  Module dictionary will contain modules that should be shared between the
  hardened and unhardened parts of the process.

  Args:
    module_dict: Module dictionary from which existing modules should be
      pulled (usually sys.modules).

  Returns:
    A new module dictionary.
   N/A output_dict N/A N/A N/A module_name module N/A N/A module_dict iteritems N/A N/A N/A module None N/A N/A N/A N/A IsEncodingsModule module_name N/A N/A N/A output_dict N/A module_name module N/A N/A shared_prefix N/A ModuleNameHasPrefix module_name SHARED_MODULE_PREFIXES N/A banned_prefix N/A ModuleNameHasPrefix module_name NOT_SHARED_MODULE_PREFIXES N/A N/A shared_prefix N/A banned_prefix N/A N/A N/A output_dict N/A module_name module N/A output_dict N/A ModuleHasValidMainFunction N/A N/A module N/A N/A N/A Determines if a module has a main function that takes no arguments.

  This includes functions that have arguments with defaults that are all
  assigned, thus requiring no additional arguments in order to be called.

  Args:
    module: A types.ModuleType instance.

  Returns:
    True if the module has a valid, reusable main function; False otherwise.
   N/A N/A N/A hasattr module main N/A N/A type N/A module main N/A types FunctionType N/A N/A N/A arg_names var_args var_kwargs default_values N/A N/A inspect getargspec N/A module main N/A N/A N/A len arg_names 0 N/A N/A True N/A N/A N/A default_values None N/A N/A len arg_names N/A len default_values N/A N/A True N/A False N/A CheckScriptExists N/A N/A cgi_path handler_path N/A N/A N/A Check that the given handler_path is a file that exists on disk.

  Args:
    cgi_path: Absolute path to the CGI script file on disk.
    handler_path: CGI path stored in the application configuration (as a path
      like 'foo/bar/baz.py'). May contain $PYTHON_LIB references.

  Raises:
    CouldNotFindModuleError if the given handler_path is a file and doesn't have
    the expected extension.
   N/A N/A N/A handler_path startswith N/A PYTHON_LIB_VAR / N/A N/A N/A N/A N/A N/A N/A N/A os path isdir cgi_path N/A N/A N/A N/A os path isfile cgi_path N/A N/A N/A os path isfile N/A cgi_path .py N/A N/A N/A CouldNotFindModuleError N/A Perhaps you meant to have the line "script: %s.py" in your app.yaml handler_path N/A GetScriptModuleName N/A N/A handler_path N/A N/A N/A Determines the fully-qualified Python module name of a script on disk.

  Args:
    handler_path: CGI path stored in the application configuration (as a path
      like 'foo/bar/baz.py'). May contain $PYTHON_LIB references.

  Returns:
    String containing the corresponding module name (e.g., 'foo.bar.baz').
   N/A N/A N/A handler_path startswith N/A PYTHON_LIB_VAR / N/A N/A handler_path N/A handler_path N/A N/A len PYTHON_LIB_VAR N/A handler_path N/A N/A N/A os path normpath handler_path N/A extension_index N/A N/A handler_path rfind .py N/A N/A extension_index -1 N/A N/A handler_path N/A handler_path N/A extension_index N/A module_fullname N/A N/A handler_path replace N/A os sep . N/A module_fullname N/A N/A module_fullname strip . N/A module_fullname N/A N/A re sub \.+ . module_fullname N/A N/A N/A module_fullname endswith .__init__ N/A N/A module_fullname N/A module_fullname N/A N/A N/A len .__init__ N/A module_fullname N/A FindMissingInitFiles N/A N/A cgi_path module_fullname isfile N/A N/A N/A os path isfile N/A N/A Determines which __init__.py files are missing from a module's parent
  packages.

  Args:
    cgi_path: Absolute path of the CGI module file on disk.
    module_fullname: Fully qualified Python module name used to import the
      cgi_path module.
    isfile: Used for testing.

  Returns:
    List containing the paths to the missing __init__.py files.
   N/A missing_init_files N/A N/A N/A N/A cgi_path endswith .py N/A N/A module_base N/A N/A N/A os path dirname cgi_path N/A N/A module_base cgi_path N/A depth_count N/A N/A module_fullname count . N/A N/A N/A N/A cgi_path endswith __init__.py N/A N/A N/A cgi_path endswith .py N/A N/A depth_count 1 N/A index N/A xrange depth_count N/A N/A current_init_file N/A N/A N/A os path abspath N/A N/A N/A os path join module_base __init__.py N/A N/A N/A isfile current_init_file N/A N/A N/A N/A missing_init_files append current_init_file N/A module_base N/A N/A N/A os path abspath N/A N/A N/A os path join module_base N/A os pardir N/A missing_init_files N/A LoadTargetModule N/A N/A handler_path cgi_path import_hook module_dict N/A N/A sys modules N/A N/A Loads a target CGI script by importing it as a Python module.

  If the module for the target CGI script has already been loaded before,
  the new module will be loaded in its place using the same module object,
  possibly overwriting existing module attributes.

  Args:
    handler_path: CGI path stored in the application configuration (as a path
      like 'foo/bar/baz.py'). Should not have $PYTHON_LIB references.
    cgi_path: Absolute path to the CGI script file on disk.
    import_hook: Instance of HardenedModulesHook to use for module loading.
    module_dict: Used for dependency injection.

  Returns:
    Tuple (module_fullname, script_module, module_code) where:
      module_fullname: Fully qualified module name used to import the script.
      script_module: The ModuleType object corresponding to the module_fullname.
        If the module has not already been loaded, this will be an empty
        shell of a module.
      module_code: Code object (returned by compile built-in) corresponding
        to the cgi_path to run. If the script_module was previously loaded
        and has a main() function that can be reused, this will be None.

  Raises:
    CouldNotFindModuleError if the given handler_path is a file and doesn't have
    the expected extension.
   N/A N/A CheckScriptExists cgi_path handler_path N/A module_fullname N/A GetScriptModuleName handler_path N/A script_module N/A N/A module_dict get module_fullname N/A module_code None N/A N/A N/A script_module None N/A ModuleHasValidMainFunction script_module N/A N/A N/A N/A logging debug Reusing main() function of module "%s" module_fullname N/A N/A N/A script_module None N/A N/A script_module N/A N/A imp new_module module_fullname N/A N/A script_module __loader__ import_hook N/A N/A N/A module_code N/A N/A import_hook get_code module_fullname N/A N/A full_path search_path submodule N/A N/A import_hook GetModuleInfo module_fullname N/A N/A script_module __file__ full_path N/A N/A search_path None N/A N/A N/A script_module __path__ search_path N/A N/A N/A UnicodeDecodeError N/A e N/A N/A error N/A %s please see http://www.python.org/peps/pep-0263.html for details (%s) N/A e handler_path N/A N/A SyntaxError error N/A N/A N/A N/A exc_type exc_value exc_tb N/A N/A sys exc_info N/A import_error_message N/A str exc_type N/A exc_value N/A N/A import_error_message N/A :  N/A str exc_value N/A N/A N/A logging exception Encountered error loading module "%s": %s module_fullname import_error_message N/A missing_inits N/A FindMissingInitFiles cgi_path module_fullname N/A missing_inits N/A N/A N/A N/A logging warning Missing package initialization files: %s N/A N/A ,  join missing_inits N/A N/A N/A N/A logging error Parent package initialization files are present, but must be broken N/A independent_load_successful True N/A N/A N/A N/A N/A os path isfile cgi_path N/A N/A independent_load_successful False N/A N/A N/A N/A source_file N/A open cgi_path N/A N/A N/A module_code N/A compile N/A N/A source_file read cgi_path exec N/A N/A script_module __file__ cgi_path N/A N/A N/A N/A source_file close N/A N/A N/A OSError N/A N/A independent_load_successful False N/A N/A independent_load_successful N/A N/A exc_type exc_value exc_tb N/A N/A module_dict N/A module_fullname script_module N/A N/A module_fullname script_module module_code N/A _WriteErrorToOutput N/A N/A status message outfile N/A N/A N/A Writes an error status response to the response outfile.

  Args:
    status: The status to return, e.g. '411 Length Required'.
    message: A human-readable error message.
    outfile: Response outfile.
   N/A N/A N/A logging error message N/A N/A N/A outfile write N/A Status: %s

%s N/A status message N/A GetRequestSize N/A N/A request env_dict outfile N/A N/A N/A Gets the size (content length) of the given request.

  On error, this method writes an error message to the response outfile and
  returns None.  Errors include the request missing a required header and the
  request being too large.

  Args:
    request: AppServerRequest instance.
    env_dict: Environment dictionary.  May be None.
    outfile: Response outfile.

  Returns:
    The calculated request size, or None on error.
   N/A N/A content-length N/A request headers N/A N/A request_size N/A int N/A N/A request headers N/A content-length N/A N/A N/A env_dict N/A N/A N/A env_dict get REQUEST_METHOD POST N/A N/A N/A _WriteErrorToOutput N/A %d Length required N/A httplib LENGTH_REQUIRED POST requests require a Content-length header. outfile N/A None N/A N/A request_size 0 N/A N/A request_size MAX_REQUEST_SIZE N/A N/A request_size N/A N/A msg N/A HTTP request was too large: %d.  The limit is: %d. N/A request_size MAX_REQUEST_SIZE N/A N/A _WriteErrorToOutput N/A %d Request entity too large N/A httplib REQUEST_ENTITY_TOO_LARGE msg outfile N/A None N/A ExecuteOrImportScript N/A N/A config handler_path cgi_path import_hook N/A N/A N/A Executes a CGI script by importing it as a new module.

  This possibly reuses the module's main() function if it is defined and
  takes no arguments.

  Basic technique lifted from PEP 338 and Python2.5's runpy module. See:
    http://www.python.org/dev/peps/pep-0338/

  See the section entitled "Import Statements and the Main Module" to understand
  why a module named '__main__' cannot do relative imports. To get around this,
  the requested module's path could be added to sys.path on each request.

  Args:
    config: AppInfoExternal instance representing the parsed app.yaml file.
    handler_path: CGI path stored in the application configuration (as a path
      like 'foo/bar/baz.py'). Should not have $PYTHON_LIB references.
    cgi_path: Absolute path to the CGI script file on disk.
    import_hook: Instance of HardenedModulesHook to use for module loading.

  Returns:
    True if the response code had an error status (e.g., 404), or False if it
    did not.

  Raises:
    Any kind of exception that could have been raised when loading the target
    module, running a target script, or executing the application code itself.
   N/A N/A module_fullname script_module module_code N/A LoadTargetModule handler_path cgi_path import_hook N/A N/A script_module __name__ __main__ N/A N/A N/A sys modules N/A __main__ script_module N/A N/A N/A pdb N/A N/A MonkeyPatchPdb pdb N/A module_code N/A N/A module_code N/A script_module __dict__ N/A N/A N/A N/A script_module main N/A N/A N/A N/A sys stdout flush N/A N/A N/A N/A sys stdout seek 0 N/A N/A N/A headers N/A N/A mimetools Message N/A sys stdout N/A N/A N/A N/A N/A sys stdout seek 0 2 N/A status_header N/A N/A headers get status N/A error_response False N/A status_header N/A N/A N/A N/A status_code N/A int N/A N/A N/A status_header split 1 N/A 0 N/A error_response N/A status_code 400 N/A N/A N/A ValueError N/A N/A error_response True N/A N/A error_response N/A N/A N/A N/A parent_package N/A N/A import_hook GetParentPackage module_fullname N/A N/A N/A Exception N/A N/A parent_package None N/A N/A parent_package None N/A N/A submodule N/A GetSubmoduleName module_fullname N/A N/A setattr parent_package submodule script_module N/A error_response N/A N/A N/A script_module __name__ module_fullname N/A ExecutePy27Handler N/A N/A config handler_path cgi_path import_hook N/A N/A N/A Equivalent to ExecuteOrImportScript for Python 2.7 runtime.

  This dispatches to google.appengine.runtime.runtime,
  which in turn will dispatch to either the cgi or the wsgi module in
  the same package, depending on the form of handler_path.

  Args:
    config: AppInfoExternal instance representing the parsed app.yaml file.
    handler_path: handler ("script") from the application configuration;
      either a script reference like foo/bar.py, or an object reference
      like foo.bar.app.
    cgi_path: Absolute path to the CGI script file on disk;
      typically the app dir joined with handler_path.
    import_hook: Instance of HardenedModulesHook to use for module loading.

  Returns:
    True if the response code had an error status (e.g., 404), or False if it
    did not.

  Raises:
    Any kind of exception that could have been raised when loading the target
    module, running a target script, or executing the application code itself.
   N/A N/A N/A request_environment None N/A runtime None N/A N/A N/A RuntimeError Python 2.5 is too old to emulate the Python 2.7 runtime. Please use Python 2.6 or Python 2.7. N/A os N/A save_environ N/A os environ N/A save_getenv N/A os getenv N/A env N/A dict save_environ N/A N/A N/A env get _AH_THREADSAFE N/A N/A N/A env N/A wsgi.multithread True N/A url N/A http://%s%s N/A N/A N/A env get HTTP_HOST localhost:8080 N/A N/A env get _AH_ENCODED_SCRIPT_NAME / N/A qs N/A N/A env get QUERY_STRING N/A qs N/A N/A url N/A ? qs N/A post_data N/A N/A N/A sys stdin read N/A N/A post_data N/A CONTENT_TYPE env N/A N/A N/A env N/A HTTP_CONTENT_TYPE N/A env N/A CONTENT_TYPE N/A N/A N/A cgi_path endswith handler_path N/A N/A application_root N/A cgi_path N/A N/A N/A len handler_path N/A N/A N/A N/A application_root endswith / N/A application_root / N/A N/A application_root N/A application_root N/A -1 N/A N/A application_root N/A N/A N/A pdb N/A N/A MonkeyPatchPdb pdb N/A N/A os environ N/A N/A request_environment RequestLocalEnviron N/A request_environment current_request N/A N/A os getenv N/A N/A os environ get N/A response N/A N/A runtime HandleRequest env handler_path url post_data application_root SDK_ROOT import_hook N/A N/A N/A os environ save_environ N/A N/A os getenv save_getenv N/A error N/A N/A response get error N/A error N/A N/A status 500 N/A N/A status 200 N/A status N/A N/A response get response_code status N/A N/A N/A N/A sys stdout write N/A Status: %s
 status N/A N/A key value N/A N/A response get headers N/A N/A N/A key N/A N/A - join N/A N/A key split N/A value N/A N/A N/A N/A value replace replace N/A N/A N/A N/A sys stdout write N/A %s: %s
 N/A key value N/A N/A N/A N/A sys stdout write N/A body N/A N/A response get body N/A body N/A N/A N/A N/A N/A sys stdout write body N/A logs N/A N/A response get logs N/A logs N/A N/A N/A timestamp_usec severity message logs N/A N/A N/A N/A logging log N/A N/A severity 10 10 @%s: %s N/A N/A time ctime N/A timestamp_usec 1e-06 message N/A error N/A LoggingStream N/A object N/A N/A A stream that writes logs at level error. write N/A N/A self message N/A N/A N/A N/A N/A N/A N/A logging getLogger _log N/A logging ERROR message N/A N/A writelines N/A N/A self lines N/A N/A N/A line lines N/A N/A N/A N/A N/A N/A logging getLogger _log N/A logging ERROR line N/A N/A __getattr__ N/A N/A self key N/A N/A N/A N/A getattr N/A sys __stderr__ key N/A N/A ExecuteCGI N/A N/A config root_path handler_path cgi_path env infile outfile module_dict exec_script exec_py27_handler N/A ExecuteOrImportScript ExecutePy27Handler N/A N/A Executes Python file in this process as if it were a CGI.

  Does not return an HTTP response line. CGIs should output headers followed by
  the body content.

  The modules in sys.modules should be the same before and after the CGI is
  executed, with the specific exception of encodings-related modules, which
  cannot be reloaded and thus must always stay in sys.modules.

  Args:
    config: AppInfoExternal instance representing the parsed app.yaml file.
    root_path: Path to the root of the application.
    handler_path: CGI path stored in the application configuration (as a path
      like 'foo/bar/baz.py'). May contain $PYTHON_LIB references.
    cgi_path: Absolute path to the CGI script file on disk.
    env: Dictionary of environment variables to use for the execution.
    infile: File-like object to read HTTP request input data from.
    outfile: FIle-like object to write HTTP response data to.
    module_dict: Dictionary in which application-loaded modules should be
      preserved between requests. This removes the need to reload modules that
      are reused between requests, significantly increasing load performance.
      This dictionary must be separate from the sys.modules dictionary.
    exec_script: Used for dependency injection.
    exec_py27_handler: Used for dependency injection.
   N/A N/A handler_path _go_app N/A google.appengine.ext.go execute_go_cgi N/A N/A execute_go_cgi root_path handler_path cgi_path env infile outfile N/A old_module_dict N/A N/A N/A sys modules copy N/A old_builtin N/A N/A N/A __builtin__ __dict__ copy N/A old_argv N/A sys argv N/A old_stdin N/A sys stdin N/A old_stdout N/A sys stdout N/A old_stderr N/A sys stderr N/A old_env N/A N/A N/A os environ copy N/A old_cwd N/A N/A os getcwd N/A old_file_type N/A types FileType N/A old_path N/A N/A sys path N/A N/A reset_modules False N/A app_log_handler None N/A N/A N/A N/A ClearAllButEncodingsModules N/A sys modules N/A N/A N/A N/A sys modules update module_dict N/A N/A UpdateNotSharedModulesInParents module_dict N/A N/A sys argv N/A cgi_path N/A N/A sys stdin N/A N/A cStringIO StringIO N/A N/A infile getvalue N/A N/A sys stdout outfile N/A N/A sys stderr N/A LoggingStream N/A N/A logservice _global_buffer N/A N/A logservice LogsBuffer N/A app_log_handler N/A N/A app_logging AppLogsHandler N/A N/A N/A N/A logservice logs_buffer stream N/A N/A N/A N/A N/A logging getLogger addHandler app_log_handler N/A N/A N/A os environ N/A COOKIE_SECRET N/A N/A N/A os environ N/A MASTER_IP N/A N/A N/A os environ N/A LOCAL_DB_IP N/A N/A N/A N/A os environ update env N/A cgi_dir N/A N/A N/A os path normpath N/A N/A N/A os path dirname cgi_path N/A root_path N/A N/A N/A os path normpath N/A N/A N/A os path abspath root_path N/A N/A N/A N/A cgi_dir startswith N/A root_path N/A os sep N/A N/A config N/A N/A config runtime python27 N/A N/A N/A N/A os chdir cgi_dir N/A N/A N/A N/A os chdir root_path N/A N/A N/A dist fix_paths root_path SDK_ROOT N/A hook N/A HardenedModulesHook config N/A sys modules root_path N/A N/A sys meta_path N/A finder N/A finder N/A sys meta_path N/A N/A isinstance finder HardenedModulesHook N/A N/A N/A N/A sys meta_path insert 0 hook N/A N/A hasattr sys path_importer_cache N/A N/A N/A N/A N/A sys path_importer_cache clear N/A N/A __builtin__ file FakeFile N/A N/A __builtin__ open FakeFile N/A N/A types FileType FakeFile N/A N/A N/A config N/A N/A config runtime python27 N/A N/A N/A __builtin__ buffer NotImplementedFakeClass N/A N/A N/A sys modules N/A __builtin__ __builtin__ N/A N/A N/A logging debug Executing CGI with env:
%s N/A repr env N/A N/A N/A N/A handler_path config N/A N/A config runtime python27 N/A N/A reset_modules N/A exec_py27_handler config handler_path cgi_path hook N/A N/A reset_modules N/A exec_script config handler_path cgi_path hook N/A N/A N/A SystemExit N/A e N/A N/A N/A N/A logging debug CGI exited with status: %s e N/A N/A N/A reset_modules True N/A N/A N/A N/A N/A N/A sys path_importer_cache clear N/A N/A _ClearTemplateCache N/A sys modules N/A N/A N/A module_dict update N/A sys modules N/A N/A ClearAllButEncodingsModules N/A sys modules N/A N/A N/A N/A sys modules update old_module_dict N/A N/A UpdateNotSharedModulesInParents old_module_dict N/A N/A N/A N/A __builtin__ __dict__ update old_builtin N/A N/A sys argv old_argv N/A N/A sys stdin old_stdin N/A N/A sys stdout old_stdout N/A N/A N/A logservice_stub _flush_logs_buffer N/A N/A sys stderr old_stderr N/A N/A N/A N/A N/A logging getLogger removeHandler app_log_handler N/A N/A N/A sys path N/A old_path N/A N/A N/A N/A os environ clear N/A N/A N/A N/A os environ update old_env N/A N/A N/A os chdir old_cwd N/A N/A types FileType old_file_type N/A CGIDispatcher N/A URLDispatcher N/A N/A Dispatcher that executes Python CGI scripts. __init__ N/A N/A self config module_dict root_path path_adjuster setup_env exec_cgi N/A SetupEnvironment ExecuteCGI N/A N/A Initializer.

    Args:
      config: AppInfoExternal instance representing the parsed app.yaml file.
      module_dict: Dictionary in which application-loaded modules should be
        preserved between requests. This dictionary must be separate from the
        sys.modules dictionary.
      path_adjuster: Instance of PathAdjuster to use for finding absolute
        paths of CGI files on disk.
      setup_env, exec_cgi: Used for dependency injection.
     N/A N/A self _config config N/A N/A self _module_dict module_dict N/A N/A self _root_path root_path N/A N/A self _path_adjuster path_adjuster N/A N/A self _setup_env setup_env N/A N/A self _exec_cgi exec_cgi N/A Dispatch N/A N/A self request outfile base_env_dict N/A None N/A N/A Dispatches the Python CGI. N/A request_size N/A GetRequestSize request base_env_dict outfile N/A N/A request_size None N/A N/A N/A memory_file N/A N/A cStringIO StringIO N/A N/A CopyStreamPart N/A request infile memory_file request_size N/A N/A N/A memory_file seek 0 N/A before_level N/A N/A logging root level N/A N/A N/A env N/A N/A base_env_dict N/A N/A N/A N/A env update base_env_dict N/A cgi_path N/A N/A N/A self _path_adjuster AdjustPath N/A request path N/A N/A N/A env update N/A N/A self _setup_env cgi_path N/A request relative_url N/A request headers memory_file N/A N/A N/A self _exec_cgi N/A self _config N/A self _root_path N/A request path cgi_path env memory_file outfile N/A self _module_dict N/A N/A N/A N/A logging root level before_level N/A __str__ N/A N/A self N/A N/A N/A Returns a string representation of this dispatcher. N/A CGI dispatcher N/A N/A LocalCGIDispatcher N/A CGIDispatcher N/A N/A Dispatcher that executes local functions like they're CGIs.

  The contents of sys.modules will be preserved for local CGIs running this
  dispatcher, but module hardening will still occur for any new imports. Thus,
  be sure that any local CGIs have loaded all of their dependent modules
  _before_ they are executed.
   __init__ N/A N/A self config module_dict path_adjuster cgi_func N/A N/A N/A Initializer.

    Args:
      config: AppInfoExternal instance representing the parsed app.yaml file.
      module_dict: Passed to CGIDispatcher.
      path_adjuster: Passed to CGIDispatcher.
      cgi_func: Callable function taking no parameters that should be
        executed in a CGI environment in the current process.
     N/A N/A self _cgi_func cgi_func curried_exec_script N/A N/A N/A args kwargs N/A N/A N/A cgi_func N/A False N/A curried_exec_cgi N/A N/A N/A args kwargs N/A N/A N/A kwargs N/A exec_script curried_exec_script N/A N/A ExecuteCGI args kwargs N/A N/A N/A N/A CGIDispatcher __init__ self config module_dict path_adjuster exec_cgi curried_exec_cgi N/A Dispatch N/A N/A self N/A args kwargs N/A N/A Preserves sys.modules for CGIDispatcher.Dispatch. N/A N/A N/A N/A self _module_dict update N/A sys modules N/A N/A N/A CGIDispatcher Dispatch self args kwargs N/A __str__ N/A N/A self N/A N/A N/A Returns a string representation of this dispatcher. N/A N/A Local CGI dispatcher for %s N/A self _cgi_func N/A N/A PathAdjuster N/A object N/A N/A Adjusts application file paths to paths relative to the application or
  external library directories. __init__ N/A N/A self root_path N/A N/A N/A Initializer.

    Args:
      root_path: Path to the root of the application running on the server.
     N/A N/A self _root_path N/A N/A N/A os path abspath root_path N/A AdjustPath N/A N/A self path N/A N/A N/A Adjusts application file paths to relative to the application.

    More precisely this method adjusts application file path to paths
    relative to the application or external library directories.

    Handler paths that start with $PYTHON_LIB will be converted to paths
    relative to the google directory.

    Args:
      path: File path that should be adjusted.

    Returns:
      The adjusted path.
     N/A N/A N/A path startswith PYTHON_LIB_VAR N/A N/A path N/A N/A N/A os path join SDK_ROOT N/A path N/A N/A N/A len PYTHON_LIB_VAR 1 N/A N/A path N/A N/A N/A os path join N/A self _root_path path N/A path N/A N/A StaticFileConfigMatcher N/A object N/A N/A Keeps track of file/directory specific application configuration.

  Specifically:
  - Computes mime type based on URLMap and file extension.
  - Decides on cache expiration time based on URLMap and default expiration.

  To determine the mime type, we first see if there is any mime-type property
  on each URLMap entry. If non is specified, we use the mimetypes module to
  guess the mime type from the file path extension, and use
  application/octet-stream if we can't find the mimetype.
   __init__ N/A N/A self url_map_list path_adjuster default_expiration N/A N/A N/A Initializer.

    Args:
      url_map_list: List of appinfo.URLMap objects.
        If empty or None, then we always use the mime type chosen by the
        mimetypes module.
      path_adjuster: PathAdjuster object used to adjust application file paths.
      default_expiration: String describing default expiration time for browser
        based caching of static files.  If set to None this disallows any
        browser caching of static content.
     N/A N/A default_expiration None N/A N/A N/A self _default_expiration N/A N/A appinfo ParseExpiration default_expiration N/A N/A N/A self _default_expiration None N/A N/A self _patterns N/A N/A url_map_list N/A N/A entry url_map_list N/A N/A handler_type N/A N/A entry GetHandlerType N/A N/A handler_type N/A N/A appinfo STATIC_FILES N/A appinfo STATIC_DIR N/A N/A N/A N/A handler_type N/A appinfo STATIC_FILES N/A N/A regex N/A N/A entry upload $ N/A N/A path N/A entry static_dir N/A N/A N/A path N/A -1 / N/A N/A path N/A path N/A -1 N/A regex N/A N/A N/A re escape N/A path N/A N/A os path sep (.*) N/A N/A N/A path_re N/A N/A re compile regex N/A N/A N/A N/A re error N/A e N/A N/A N/A InvalidAppConfigError N/A regex %s does not compile: %s N/A regex e N/A N/A N/A self _default_expiration None N/A N/A expiration 0 N/A N/A N/A N/A entry expiration None N/A N/A expiration N/A self _default_expiration N/A N/A expiration N/A N/A appinfo ParseExpiration N/A entry expiration N/A N/A N/A N/A self _patterns append N/A path_re N/A entry mime_type expiration N/A IsStaticFile N/A N/A self path N/A N/A N/A Tests if the given path points to a "static" file.

    Args:
      path: String containing the file's path relative to the app.

    Returns:
      Boolean, True if the file was configured to be static.
     N/A N/A path_re _ _ N/A self _patterns N/A N/A N/A N/A path_re match path N/A N/A True N/A False N/A GetMimeType N/A N/A self path N/A N/A N/A Returns the mime type that we should use when serving the specified file.

    Args:
      path: String containing the file's path relative to the app.

    Returns:
      String containing the mime type to use. Will be 'application/octet-stream'
      if we have no idea what it should be.
     N/A N/A path_re mimetype unused_expiration N/A self _patterns N/A N/A N/A mimetype None N/A N/A the_match N/A N/A path_re match path N/A the_match N/A N/A mimetype N/A N/A unused_filename extension N/A N/A N/A os path splitext path N/A N/A N/A N/A mimetypes types_map get extension application/octet-stream N/A GetExpiration N/A N/A self path N/A N/A N/A Returns the cache expiration duration to be users for the given file.

    Args:
      path: String containing the file's path relative to the app.

    Returns:
      Integer number of seconds to be used for browser cache expiration time.
     N/A N/A path_re unused_mimetype expiration N/A self _patterns N/A N/A the_match N/A N/A path_re match path N/A the_match N/A N/A expiration N/A N/A N/A self _default_expiration 0 N/A N/A ReadDataFile N/A N/A data_path openfile N/A file N/A N/A Reads a file on disk, returning a corresponding HTTP status and data.

  Args:
    data_path: Path to the file on disk to read.
    openfile: Used for dependency injection.

  Returns:
    Tuple (status, data) where status is an HTTP response code, and data is
      the data read; will be an empty string if an error occurred or the
      file was empty.
   N/A status N/A httplib INTERNAL_SERVER_ERROR N/A data N/A N/A N/A data_file N/A openfile data_path rb N/A N/A N/A data N/A N/A data_file read N/A N/A N/A N/A data_file close N/A status N/A httplib OK N/A N/A N/A N/A OSError IOError N/A e N/A N/A N/A N/A logging error Error encountered reading file "%s":
%s data_path e N/A N/A N/A e errno FILE_MISSING_EXCEPTIONS N/A N/A status N/A httplib NOT_FOUND N/A N/A status N/A httplib FORBIDDEN N/A N/A status data N/A FileDispatcher N/A URLDispatcher N/A N/A Dispatcher that reads data files from disk. __init__ N/A N/A self config path_adjuster static_file_config_matcher read_data_file N/A ReadDataFile N/A N/A Initializer.

    Args:
      config: AppInfoExternal instance representing the parsed app.yaml file.
      path_adjuster: Instance of PathAdjuster to use for finding absolute
        paths of data files on disk.
      static_file_config_matcher: StaticFileConfigMatcher object.
      read_data_file: Used for dependency injection.
     N/A N/A self _config config N/A N/A self _path_adjuster path_adjuster N/A N/A self _static_file_config_matcher static_file_config_matcher N/A N/A self _read_data_file read_data_file N/A Dispatch N/A N/A self request outfile base_env_dict N/A None N/A N/A Reads the file and returns the response status and data. N/A full_path N/A N/A N/A self _path_adjuster AdjustPath N/A request path N/A N/A status data N/A N/A self _read_data_file full_path N/A content_type N/A N/A N/A self _static_file_config_matcher GetMimeType N/A request path N/A static_file N/A N/A N/A self _static_file_config_matcher IsStaticFile N/A request path N/A expiration N/A N/A N/A self _static_file_config_matcher GetExpiration N/A request path N/A current_etag N/A N/A self CreateEtag data N/A if_match_etag N/A N/A N/A request headers get if-match None N/A if_none_match_etag N/A N/A N/A N/A N/A request headers get if-none-match split , N/A N/A if_match_etag N/A N/A N/A self _CheckETagMatches N/A N/A if_match_etag split , current_etag False N/A N/A N/A N/A outfile write N/A Status: %s
 N/A httplib PRECONDITION_FAILED N/A N/A N/A outfile write N/A ETag: "%s"
 current_etag N/A N/A N/A outfile write N/A N/A N/A N/A self _CheckETagMatches if_none_match_etag current_etag True N/A N/A N/A N/A outfile write N/A Status: %s
 N/A httplib NOT_MODIFIED N/A N/A N/A outfile write N/A ETag: "%s"
 current_etag N/A N/A N/A outfile write N/A N/A N/A N/A outfile write N/A Status: %d
 status N/A N/A N/A outfile write N/A Content-type: %s
 content_type N/A expiration N/A N/A N/A N/A outfile write N/A Expires: %s
 N/A N/A N/A email Utils formatdate N/A N/A N/A time time expiration usegmt True N/A N/A N/A outfile write N/A Cache-Control: public, max-age=%i
 expiration N/A static_file N/A N/A N/A N/A outfile write N/A ETag: "%s"
 current_etag N/A N/A N/A outfile write N/A N/A N/A outfile write data N/A __str__ N/A N/A self N/A N/A N/A Returns a string representation of this dispatcher. N/A File dispatcher N/A CreateEtag N/A N/A data N/A N/A N/A Returns string of hash of file content, unique per URL. N/A data_crc N/A N/A zlib crc32 data N/A N/A N/A base64 b64encode N/A str data_crc N/A staticmethod _CheckETagMatches N/A N/A supplied_etags current_etag allow_weak_match N/A N/A N/A Checks if there is an entity tag match.

    Args:
      supplied_etags: list of input etags
      current_etag: the calculated etag for the entity
      allow_weak_match: Allow for weak tag comparison.

    Returns:
      True if there is a match, False otherwise.
     N/A tag supplied_etags N/A N/A N/A allow_weak_match N/A N/A tag startswith W/ N/A N/A tag N/A tag N/A 2 N/A tag_data N/A N/A tag strip " N/A N/A N/A tag_data * N/A tag_data current_etag N/A N/A True N/A False N/A staticmethod N/A N/A _IGNORE_RESPONSE_HEADERS N/A frozenset N/A content-encoding accept-encoding transfer-encoding server date N/A blobstore BLOB_KEY_HEADER AppServerResponse N/A object N/A N/A Development appserver response object.

  Object used to hold the full appserver response.  Used as a container
  that is passed through the request rewrite chain and ultimately sent
  to the web client.

  Attributes:
    status_code: Integer HTTP response status (e.g., 200, 302, 404, 500)
    status_message: String containing an informational message about the
      response code, possibly derived from the 'status' header, if supplied.
    headers: mimetools.Message containing the HTTP headers of the response.
    body: File-like object containing the body of the response.
    large_response: Indicates that response is permitted to be larger than
      MAX_RUNTIME_RESPONSE_SIZE.
   N/A __slots__ N/A status_code status_message headers body large_response __init__ N/A N/A self response_file N/A None kwds N/A N/A Initializer.

    Args:
      response_file: A file-like object that contains the full response
        generated by the user application request handler.  If present
        the headers and body are set from this value, although the values
        may be further overridden by the keyword parameters.
      kwds: All keywords are mapped to attributes of AppServerResponse.
     N/A N/A self status_code 200 N/A N/A self status_message Good to go N/A N/A self large_response False N/A response_file N/A N/A N/A N/A self SetResponse response_file N/A N/A N/A self headers N/A N/A mimetools Message N/A N/A cStringIO StringIO N/A N/A self body None N/A N/A name value N/A N/A kwds iteritems N/A N/A N/A setattr self name value N/A SetResponse N/A N/A self response_file N/A N/A N/A Sets headers and body from the response file.

    Args:
      response_file: File like object to set body and headers from.
     N/A N/A self headers N/A N/A mimetools Message response_file N/A N/A self body response_file N/A header_data N/A N/A self N/A N/A N/A Get header data as a string.

    Returns:
      String representation of header with line breaks cleaned up.
     N/A header_list N/A N/A header N/A N/A self headers headers N/A N/A header N/A N/A header rstrip N/A N/A N/A header_list append header N/A N/A N/A N/A join header_list N/A property N/A IgnoreHeadersRewriter N/A N/A response N/A N/A N/A Ignore specific response headers.

  Certain response headers cannot be modified by an Application.  For a
  complete list of these headers please see:

    http://code.google.com/appengine/docs/webapp/responseclass.html#Disallowed_HTTP_Response_Headers

  This rewriter simply removes those headers.
   N/A h _IGNORE_RESPONSE_HEADERS N/A N/A N/A h N/A response headers N/A N/A N/A N/A response headers N/A h N/A ParseStatusRewriter N/A N/A response N/A N/A N/A Parse status header, if it exists.

  Handles the server-side 'status' header, which instructs the server to change
  the HTTP response code accordingly. Handles the 'location' header, which
  issues an HTTP 302 redirect to the client. Also corrects the 'content-length'
  header to reflect actual content length in case extra information has been
  appended to the response body.

  If the 'status' header supplied by the client is invalid, this method will
  set the response to a 500 with an error message as content.
   N/A location_value N/A N/A N/A response headers getheader location N/A status_value N/A N/A N/A response headers getheader status N/A status_value N/A N/A response_status status_value N/A N/A N/A response headers N/A status N/A N/A location_value N/A N/A response_status N/A %d Redirecting N/A httplib FOUND N/A N/A response N/A status_parts N/A N/A response_status split 1 N/A N/A N/A response status_code N/A response status_message N/A N/A status_parts N/A N/A 2 N/A N/A N/A N/A response status_code N/A int N/A response status_code N/A N/A N/A ValueError N/A N/A N/A response status_code 500 N/A N/A response body N/A N/A cStringIO StringIO Error: Invalid "status" header value returned. N/A CacheRewriter N/A N/A response N/A N/A N/A Update the cache header. N/A N/A N/A response status_code N/A httplib NOT_MODIFIED N/A N/A N/A N/A Cache-Control N/A response headers N/A N/A N/A N/A response headers N/A Cache-Control no-cache N/A N/A N/A Expires N/A response headers N/A N/A N/A N/A response headers N/A Expires Fri, 01 Jan 1990 00:00:00 GMT N/A ContentLengthRewriter N/A N/A response N/A N/A N/A Rewrite the Content-Length header.

  Even though Content-Length is not a user modifiable header, App Engine
  sends a correct Content-Length to the user based on the actual response.
   N/A N/A N/A response status_code N/A httplib NOT_MODIFIED N/A N/A current_position N/A N/A N/A response body tell N/A N/A N/A N/A response body seek 0 2 N/A N/A N/A response headers N/A Content-Length N/A str N/A N/A N/A N/A response body tell current_position N/A N/A N/A N/A response body seek current_position N/A N/A N/A Content-Length N/A response headers N/A N/A N/A N/A response headers N/A Content-Length N/A CreateResponseRewritersChain N/A N/A N/A N/A N/A Create the default response rewriter chain.

  A response rewriter is the a function that gets a final chance to change part
  of the dev_appservers response.  A rewriter is not like a dispatcher in that
  it is called after every request has been handled by the dispatchers
  regardless of which dispatcher was used.

  The order in which rewriters are registered will be the order in which they
  are used to rewrite the response.  Modifications from earlier rewriters
  are used as input to later rewriters.

  A response rewriter is a function that can rewrite the request in any way.
  Thefunction can returned modified values or the original values it was
  passed.

  A rewriter function has the following parameters and return values:

    Args:
      status_code: Status code of response from dev_appserver or previous
        rewriter.
      status_message: Text corresponding to status code.
      headers: mimetools.Message instance with parsed headers.  NOTE: These
        headers can contain its own 'status' field, but the default
        dev_appserver implementation will remove this.  Future rewriters
        should avoid re-introducing the status field and return new codes
        instead.
      body: File object containing the body of the response.  This position of
        this file may not be at the start of the file.  Any content before the
        files position is considered not to be part of the final body.

     Returns:
       An AppServerResponse instance.

  Returns:
    List of response rewriters.
   N/A rewriters N/A N/A dev_appserver_blobstore DownloadRewriter IgnoreHeadersRewriter ParseStatusRewriter CacheRewriter ContentLengthRewriter N/A rewriters N/A RewriteResponse N/A N/A response_file response_rewriters request_headers N/A None None N/A N/A Allows final rewrite of dev_appserver response.

  This function receives the unparsed HTTP response from the application
  or internal handler, parses out the basic structure and feeds that structure
  in to a chain of response rewriters.

  It also makes sure the final HTTP headers are properly terminated.

  For more about response rewriters, please see documentation for
  CreateResponeRewritersChain.

  Args:
    response_file: File-like object containing the full HTTP response including
      the response code, all headers, and the request body.
    response_rewriters: A list of response rewriters.  If none is provided it
      will create a new chain using CreateResponseRewritersChain.
    request_headers: Original request headers.

  Returns:
    An AppServerResponse instance configured with the rewritten response.
   N/A N/A response_rewriters None N/A N/A response_rewriters N/A CreateResponseRewritersChain N/A response N/A AppServerResponse response_file N/A response_rewriter response_rewriters N/A N/A N/A N/A N/A response_rewriter func_code co_argcount 1 N/A N/A N/A response_rewriter response N/A N/A N/A response_rewriter response request_headers N/A response N/A ModuleManager N/A object N/A N/A Manages loaded modules in the runtime.

  Responsible for monitoring and reporting about file modification times.
  Modules can be loaded from source or precompiled byte-code files.  When a
  file has source code, the ModuleManager monitors the modification time of
  the source file even if the module itself is loaded from byte-code.
   __init__ N/A N/A self modules N/A N/A N/A Initializer.

    Args:
      modules: Dictionary containing monitored modules.
     N/A N/A self _modules modules N/A N/A self _default_modules N/A N/A N/A self _modules copy N/A N/A self _save_path_hooks N/A N/A sys path_hooks N/A N/A N/A self _modification_times N/A N/A GetModuleFile N/A N/A module is_file N/A N/A N/A os path isfile N/A N/A Helper method to try to determine modules source file.

    Args:
      module: Module object to get file for.
      is_file: Function used to determine if a given path is a file.

    Returns:
      Path of the module's corresponding Python source file if it exists, or
      just the module's compiled Python file. If the module has an invalid
      __file__ attribute, None will be returned.
     N/A module_file N/A getattr module __file__ None N/A N/A module_file None N/A N/A None N/A source_file N/A module_file N/A N/A N/A N/A module_file rfind py 2 N/A N/A is_file source_file N/A N/A source_file N/A N/A module __file__ N/A staticmethod AreModuleFilesModified N/A N/A self N/A N/A N/A Determines if any monitored files have been modified.

    Returns:
      True if one or more files have been modified, False otherwise.
     N/A N/A name N/A mtime fname N/A N/A N/A self _modification_times iteritems N/A N/A N/A name N/A self _modules N/A N/A N/A module N/A N/A self _modules N/A name N/A N/A N/A N/A N/A os path isfile fname N/A N/A True N/A N/A mtime N/A N/A N/A os path getmtime fname N/A N/A True N/A False N/A UpdateModuleFileModificationTimes N/A N/A self N/A N/A N/A Records the current modification times of all monitored modules. N/A N/A N/A N/A self _modification_times clear N/A N/A name module N/A N/A N/A self _modules items N/A N/A N/A N/A isinstance module N/A types ModuleType N/A N/A N/A module_file N/A N/A self GetModuleFile module N/A N/A module_file N/A N/A N/A N/A N/A N/A N/A self _modification_times N/A name N/A N/A N/A N/A os path getmtime module_file module_file N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno FILE_MISSING_EXCEPTIONS N/A N/A e N/A ResetModules N/A N/A self N/A N/A N/A Clear modules so that when request is run they are reloaded. N/A N/A N/A N/A lib_config _default_registry reset N/A N/A N/A N/A self _modules clear N/A N/A N/A N/A self _modules update N/A self _default_modules N/A N/A N/A sys path_hooks N/A N/A self _save_path_hooks N/A N/A sys meta_path N/A N/A N/A N/A N/A N/A N/A apiproxy_stub_map apiproxy GetPreCallHooks Clear N/A N/A N/A N/A N/A N/A apiproxy_stub_map apiproxy GetPostCallHooks Clear N/A N/A GetVersionObject N/A N/A isfile open_fn N/A N/A N/A os path isfile open N/A N/A Gets the version of the SDK by parsing the VERSION file.

  Args:
    isfile: used for testing.
    open_fn: Used for testing.

  Returns:
    A Yaml object or None if the VERSION file does not exist.
   N/A version_filename N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A google appengine __file__ VERSION_FILE N/A N/A N/A isfile version_filename N/A N/A N/A N/A logging error Could not find version file at %s version_filename N/A None N/A version_fh N/A open_fn version_filename r N/A N/A N/A version N/A N/A yaml safe_load version_fh N/A N/A N/A N/A version_fh close N/A version N/A _ClearTemplateCache N/A N/A module_dict N/A N/A sys modules N/A N/A Clear template cache in webapp.template module.

  Attempts to load template module.  Ignores failure.  If module loads, the
  template cache is cleared.

  Args:
    module_dict: Used for dependency injection.
   N/A template_module N/A N/A module_dict get google.appengine.ext.webapp.template N/A N/A template_module None N/A N/A N/A N/A N/A template_module template_cache clear N/A CreateRequestHandler N/A N/A root_path login_url require_indexes static_caching default_partition persist_logs secret_hash N/A False True None False xxx N/A N/A Creates a new BaseHTTPRequestHandler sub-class.

  This class will be used with the Python BaseHTTPServer module's HTTP server.

  Python's built-in HTTP server does not support passing context information
  along to instances of its request handlers. This function gets around that
  by creating a sub-class of the handler in a closure that has access to
  this context information.

  Args:
    root_path: Path to the root of the application running on the server.
    login_url: Relative URL which should be used for handling user logins.
    require_indexes: True if index.yaml is read-only gospel; default False.
    static_caching: True if browser caching of static files should be allowed.
    default_partition: Default partition to use in the application id.

  Returns:
    Sub-class of BaseHTTPRequestHandler.
   N/A application_module_dict N/A SetupSharedModules N/A sys modules N/A require_indexes N/A N/A index_yaml_updater None N/A N/A index_yaml_updater N/A N/A dev_appserver_index IndexYamlUpdater root_path N/A application_config_cache N/A AppConfigCache DevAppServerRequestHandler N/A N/A BaseHTTPServer BaseHTTPRequestHandler N/A N/A Dispatches URLs using patterns from a URLMatcher.

    The URLMatcher is created by loading an application's configuration file.
    Executes CGI scripts in the local process so the scripts can use mock
    versions of APIs.

    HTTP requests that correctly specify a user info cookie
    (dev_appserver_login.COOKIE_NAME) will have the 'USER_EMAIL' environment
    variable set accordingly. If the user is also an admin, the
    'USER_IS_ADMIN' variable will exist and be set to '1'. If the user is not
    logged in, 'USER_EMAIL' will be set to the empty string.

    On each request, raises an InvalidAppConfigError exception if the
    application configuration file in the directory specified by the root_path
    argument is invalid.
     N/A server_version AppScaleServer/1.6 N/A module_dict application_module_dict N/A module_manager N/A ModuleManager application_module_dict N/A config_cache application_config_cache N/A rewriter_chain N/A CreateResponseRewritersChain __init__ N/A N/A self N/A args kwargs N/A N/A Initializer.

      Args:
        args: Positional arguments passed to the superclass constructor.
        kwargs: Keyword arguments passed to the superclass constructor.
       N/A N/A self _log_record_writer N/A N/A logservice_stub RequestLogWriter persist_logs N/A N/A N/A N/A BaseHTTPServer BaseHTTPRequestHandler __init__ self args kwargs N/A version_string N/A N/A self N/A N/A N/A Returns server's version string used for Server HTTP header. N/A N/A self server_version N/A do_GET N/A N/A self N/A N/A N/A Handle GET requests. N/A N/A N/A self _HasNoBody GET N/A N/A N/A N/A self _HandleRequest N/A do_POST N/A N/A self N/A N/A N/A Handles POST requests. N/A N/A N/A self _HandleRequest N/A do_PUT N/A N/A self N/A N/A N/A Handle PUT requests. N/A N/A N/A self _HandleRequest N/A do_HEAD N/A N/A self N/A N/A N/A Handle HEAD requests. N/A N/A N/A self _HasNoBody HEAD N/A N/A N/A N/A self _HandleRequest N/A do_OPTIONS N/A N/A self N/A N/A N/A Handles OPTIONS requests. N/A N/A N/A self _HandleRequest N/A do_DELETE N/A N/A self N/A N/A N/A Handle DELETE requests. N/A N/A N/A self _HandleRequest N/A do_TRACE N/A N/A self N/A N/A N/A Handles TRACE requests. N/A N/A N/A self _HasNoBody TRACE N/A N/A N/A N/A self _HandleRequest N/A _HasNoBody N/A N/A self method N/A N/A N/A Check for request body in HTTP methods where no body is permitted.

      If a request body is present a 400 (Invalid request) response is sent.

      Args:
        method: The request method.

      Returns:
        True if no request body is present, False otherwise.
       N/A content_length N/A int N/A N/A N/A self headers get content-length 0 N/A content_length N/A N/A body N/A N/A N/A self rfile read content_length N/A N/A N/A logging warning Request body in %s is not permitted: %s method body N/A N/A N/A self send_response N/A httplib BAD_REQUEST N/A False N/A True N/A _Dispatch N/A N/A self dispatcher socket_infile outfile env_dict N/A N/A N/A Copy request data from socket and dispatch.

      Args:
        dispatcher: Dispatcher to handle request (MatcherDispatcher).
        socket_infile: Original request file stream.
        outfile: Output file to write response to.
        env_dict: Environment dictionary.
       N/A N/A request_descriptor request_file_name N/A N/A tempfile mkstemp .tmp request. N/A N/A N/A request_file N/A N/A os fdopen request_descriptor wb N/A N/A N/A N/A CopyStreamPart N/A self rfile request_file N/A int N/A N/A N/A self headers get content-length 0 N/A N/A N/A N/A request_file close N/A request_file N/A open request_file_name rb N/A N/A N/A app_server_request N/A AppServerRequest N/A self path None N/A self headers request_file secret_hash N/A N/A N/A dispatcher Dispatch app_server_request outfile base_env_dict env_dict N/A N/A N/A N/A request_file close N/A N/A N/A N/A N/A N/A os remove request_file_name N/A N/A N/A OSError N/A err N/A N/A N/A N/A err errno N/A errno ENOENT N/A N/A N/A _HandleRequest N/A N/A self N/A N/A N/A Handles any type of request and prints exceptions if they occur. N/A host_name N/A N/A N/A N/A self headers get host N/A N/A self server server_name N/A server_name N/A N/A N/A host_name split : 1 N/A 0 N/A env_dict N/A REQUEST_METHOD REMOTE_ADDR SERVER_SOFTWARE SERVER_NAME SERVER_PROTOCOL SERVER_PORT N/A self command N/A N/A N/A self headers get X-Real-IP N/A N/A self client_address N/A 0 N/A self server_version server_name N/A self protocol_version N/A str N/A N/A self server server_port N/A full_url N/A GetFullURL server_name N/A N/A self server server_port N/A self path N/A N/A N/A len full_url MAX_URL_LENGTH N/A N/A msg N/A Requested URI too long: %s full_url N/A N/A N/A logging error msg N/A N/A N/A self send_response N/A httplib REQUEST_URI_TOO_LONG msg N/A N/A tbhandler N/A N/A N/A cgitb Hook file N/A self wfile handle N/A N/A N/A N/A config explicit_matcher from_cache N/A LoadAppConfig root_path N/A self module_dict cache N/A self config_cache static_caching static_caching default_partition default_partition N/A N/A N/A from_cache N/A N/A N/A self module_manager AreModuleFilesModified N/A N/A N/A N/A N/A self module_manager ResetModules N/A implicit_matcher N/A CreateImplicitMatcher config N/A self module_dict root_path login_url N/A N/A N/A config api_version API_VERSION N/A N/A N/A N/A logging error API versions cannot be switched dynamically: %r != %r N/A config api_version API_VERSION N/A N/A N/A sys exit 1 N/A N/A exclude service_match N/A N/A N/A ReservedPathFilter N/A config inbound_services ExcludePath N/A self path N/A exclude N/A N/A N/A N/A logging warning N/A Request to %s excluded because %s is not enabled in inbound_services in app.yaml N/A N/A self path service_match N/A N/A N/A self send_response N/A httplib NOT_FOUND N/A N/A N/A N/A config runtime go N/A google.appengine.ext go N/A N/A go APP_CONFIG config N/A version N/A GetVersionObject N/A N/A env_dict N/A SDK_VERSION N/A version N/A release N/A N/A env_dict N/A CURRENT_VERSION_ID N/A N/A config version .1 N/A N/A env_dict N/A APPLICATION_ID N/A config application N/A N/A env_dict N/A APPENGINE_RUNTIME N/A config runtime N/A N/A N/A N/A config runtime python27 N/A config threadsafe N/A N/A N/A env_dict N/A _AH_THREADSAFE 1 N/A _request_id N/A request_id_hash N/A _generate_request_id_hash N/A N/A env_dict N/A REQUEST_ID_HASH request_id_hash N/A N/A N/A os environ N/A REQUEST_ID_HASH request_id_hash N/A N/A N/A N/A N/A multiprocess GlobalProcess UpdateEnv env_dict N/A cookies N/A N/A ,  join N/A N/A N/A self headers getheaders cookie N/A N/A email_addr user_id admin valid_cookie N/A N/A dev_appserver_login GetUserInfo cookies N/A N/A N/A N/A self _log_record_writer write_request_info ip N/A env_dict N/A REMOTE_ADDR app_id N/A env_dict N/A APPLICATION_ID version_id N/A env_dict N/A CURRENT_VERSION_ID nickname N/A N/A N/A email_addr split @ N/A 0 user_agent N/A N/A N/A self headers get user-agent host host_name N/A dispatcher N/A MatcherDispatcher config login_url N/A implicit_matcher explicit_matcher N/A N/A N/A dev_appserver_index SetupIndexes N/A config application root_path N/A N/A N/A N/A N/A multiprocess GlobalProcess HandleRequest self N/A N/A N/A outfile N/A N/A cStringIO StringIO N/A N/A N/A N/A N/A self _Dispatch dispatcher N/A self rfile outfile env_dict N/A N/A N/A N/A N/A self module_manager UpdateModuleFileModificationTimes N/A N/A N/A outfile flush N/A N/A N/A outfile seek 0 N/A response N/A RewriteResponse outfile N/A self rewriter_chain N/A self headers N/A N/A N/A response large_response N/A N/A position N/A N/A N/A response body tell N/A N/A N/A N/A response body seek 0 2 N/A end N/A N/A N/A response body tell N/A N/A N/A N/A response body seek position N/A runtime_response_size N/A end position N/A N/A runtime_response_size MAX_RUNTIME_RESPONSE_SIZE N/A N/A N/A N/A logging error Response too large: %d, max is %d runtime_response_size MAX_RUNTIME_RESPONSE_SIZE N/A N/A response status_code 500 N/A N/A response status_message Forbidden N/A N/A content-length N/A response headers N/A N/A N/A N/A response headers N/A content-length N/A new_response N/A HTTP response was too large: %d.  The limit is: %d. N/A runtime_response_size MAX_RUNTIME_RESPONSE_SIZE N/A N/A N/A response headers N/A content-length N/A str N/A len new_response N/A N/A response body N/A N/A cStringIO StringIO new_response N/A N/A N/A N/A N/A multiprocess GlobalProcess RequestComplete self response N/A N/A N/A N/A yaml_errors EventListenerError N/A e N/A N/A title Fatal error when loading application configuration N/A msg N/A %s:
%s N/A title N/A str e N/A N/A N/A logging error msg N/A N/A N/A self send_response N/A httplib INTERNAL_SERVER_ERROR title N/A N/A N/A N/A self wfile write Content-Type: text/html

 N/A N/A N/A N/A self wfile write N/A <pre>%s</pre> N/A N/A cgi escape msg N/A N/A KeyboardInterrupt N/A e N/A N/A N/A N/A logging info Server interrupted by user, terminating N/A N/A N/A N/A self server stop_serving_forever N/A N/A CompileError N/A e N/A N/A msg N/A N/A Compile error:
 N/A e text N/A N/A N/A logging error msg N/A N/A N/A self send_response N/A httplib INTERNAL_SERVER_ERROR Compile error N/A N/A N/A N/A self wfile write Content-Type: text/plain; charset=utf-8

 N/A N/A N/A N/A self wfile write msg N/A N/A N/A msg Exception encountered handling request N/A N/A N/A logging exception msg N/A N/A N/A self send_response N/A httplib INTERNAL_SERVER_ERROR msg N/A N/A tbhandler N/A N/A N/A N/A N/A N/A self send_response N/A response status_code N/A response status_message N/A N/A N/A N/A self wfile write N/A response header_data N/A N/A N/A N/A self wfile write N/A N/A N/A self command HEAD N/A N/A N/A N/A shutil copyfileobj N/A response body N/A self wfile COPY_BLOCK_SIZE N/A N/A N/A response body N/A N/A N/A N/A logging warning Dropping unexpected body in response to HEAD request N/A N/A N/A N/A IOError OSError N/A e N/A N/A N/A N/A e errno N/A N/A errno EPIPE N/A os_compat WSAECONNABORTED N/A N/A e N/A N/A N/A socket error N/A e N/A N/A N/A N/A logging error N/A Socket exception: %s N/A str e N/A N/A N/A N/A self server stop_serving_forever N/A log_error N/A N/A self format N/A args N/A N/A Redirect error messages through the logging module. N/A N/A N/A logging error format args N/A log_message N/A N/A self format N/A args N/A N/A Redirect log messages through the logging module. N/A N/A N/A logging info format args N/A log_request N/A N/A self code size N/A - - N/A N/A Indicate that this request has completed. N/A N/A N/A N/A BaseHTTPServer BaseHTTPRequestHandler log_request self code size N/A N/A code - N/A N/A code 0 N/A N/A size - N/A N/A size 0 N/A N/A N/A N/A self _log_record_writer write N/A self command N/A self path code size N/A self request_version N/A N/A N/A DevAppServerRequestHandler N/A ReadAppConfig N/A N/A appinfo_path parse_app_config N/A N/A appinfo_includes Parse N/A N/A Reads app.yaml file and returns its app id and list of URLMap instances.

  Args:
    appinfo_path: String containing the path to the app.yaml file.
    parse_app_config: Used for dependency injection.

  Returns:
    AppInfoExternal instance.

  Raises:
    If the config file could not be read or the config does not contain any
    URLMap instances, this function will raise an InvalidAppConfigError
    exception.
   N/A N/A N/A appinfo_file N/A file appinfo_path r N/A N/A N/A IOError N/A unused_e N/A N/A N/A InvalidAppConfigError N/A Application configuration could not be read from "%s" appinfo_path N/A N/A N/A N/A parse_app_config appinfo_file N/A N/A N/A N/A appinfo_file close N/A CreateURLMatcherFromMaps N/A N/A config root_path url_map_list module_dict default_expiration create_url_matcher create_cgi_dispatcher create_file_dispatcher create_path_adjuster normpath N/A URLMatcher CGIDispatcher FileDispatcher PathAdjuster N/A N/A os path normpath N/A N/A Creates a URLMatcher instance from URLMap.

  Creates all of the correct URLDispatcher instances to handle the various
  content types in the application configuration.

  Args:
    config: AppInfoExternal instance representing the parsed app.yaml file.
    root_path: Path to the root of the application running on the server.
    url_map_list: List of appinfo.URLMap objects to initialize this
      matcher with. Can be an empty list if you would like to add patterns
      manually or use config.handlers as a default.
    module_dict: Dictionary in which application-loaded modules should be
      preserved between requests. This dictionary must be separate from the
      sys.modules dictionary.
    default_expiration: String describing default expiration time for browser
      based caching of static files.  If set to None this disallows any
      browser caching of static content.
    create_url_matcher: Used for dependency injection.
    create_cgi_dispatcher: Used for dependency injection.
    create_file_dispatcher: Used for dependency injection.
    create_path_adjuster: Used for dependency injection.
    normpath: Used for dependency injection.

  Returns:
    Instance of URLMatcher with the supplied URLMap objects properly loaded.

  Raises:
    InvalidAppConfigError: if a handler is an unknown type.
   N/A N/A config N/A config handlers N/A url_map_list N/A N/A url_map_list N/A config handlers N/A url_matcher N/A create_url_matcher N/A path_adjuster N/A create_path_adjuster root_path N/A cgi_dispatcher N/A create_cgi_dispatcher config module_dict root_path path_adjuster N/A static_file_config_matcher N/A StaticFileConfigMatcher url_map_list path_adjuster default_expiration N/A file_dispatcher N/A create_file_dispatcher config path_adjuster static_file_config_matcher N/A N/A N/A FakeFile SetStaticFileConfigMatcher static_file_config_matcher N/A url_map url_map_list N/A N/A admin_only N/A N/A url_map login N/A appinfo LOGIN_ADMIN N/A requires_login N/A N/A N/A url_map login N/A appinfo LOGIN_REQUIRED admin_only N/A auth_fail_action N/A url_map auth_fail_action N/A handler_type N/A N/A url_map GetHandlerType N/A N/A handler_type N/A appinfo HANDLER_SCRIPT N/A N/A dispatcher cgi_dispatcher N/A N/A N/A handler_type N/A N/A appinfo STATIC_FILES N/A appinfo STATIC_DIR N/A N/A dispatcher file_dispatcher N/A N/A N/A InvalidAppConfigError N/A Unknown handler type "%s" handler_type N/A regex N/A url_map url N/A path N/A N/A url_map GetHandler N/A N/A handler_type N/A appinfo STATIC_DIR N/A N/A N/A N/A regex N/A -1 / N/A N/A regex N/A regex N/A -1 N/A N/A N/A path N/A -1 N/A N/A os path sep N/A N/A path N/A path N/A -1 N/A regex N/A N/A / join N/A N/A N/A re escape regex (.*) N/A N/A N/A N/A os path sep \ N/A N/A backref \\1 N/A N/A backref \1 N/A path N/A N/A N/A N/A N/A normpath path replace \ \\ N/A N/A os path sep backref N/A N/A N/A url_matcher AddURL regex dispatcher path requires_login admin_only auth_fail_action N/A url_matcher N/A AppConfigCache N/A object N/A N/A Cache used by LoadAppConfig.

  If given to LoadAppConfig instances of this class are used to cache contents
  of the app config (app.yaml or app.yml) and the Matcher created from it.

  Code outside LoadAppConfig should treat instances of this class as opaque
  objects and not access its members.
   N/A path None N/A mtime None N/A config None N/A matcher None N/A LoadAppConfig N/A N/A root_path module_dict cache static_caching read_app_config create_matcher default_partition N/A None True ReadAppConfig CreateURLMatcherFromMaps None N/A N/A Creates a Matcher instance for an application configuration file.

  Raises an InvalidAppConfigError exception if there is anything wrong with
  the application configuration file.

  Args:
    root_path: Path to the root of the application to load.
    module_dict: Dictionary in which application-loaded modules should be
      preserved between requests. This dictionary must be separate from the
      sys.modules dictionary.
    cache: Instance of AppConfigCache or None.
    static_caching: True if browser caching of static files should be allowed.
    read_app_config: Used for dependency injection.
    create_matcher: Used for dependency injection.
    default_partition: Default partition to use for the appid.

  Returns:
     tuple: (AppInfoExternal, URLMatcher, from_cache)

  Raises:
    AppConfigNotFound: if an app.yaml file cannot be found.
   N/A appinfo_path N/A N/A N/A N/A os path join root_path app.yaml N/A N/A N/A os path join root_path app.yml N/A N/A N/A N/A N/A os path isfile appinfo_path N/A N/A N/A cache None N/A N/A mtime N/A N/A N/A os path getmtime appinfo_path N/A N/A N/A N/A cache path appinfo_path N/A N/A cache mtime mtime N/A N/A N/A N/A cache config N/A cache matcher True N/A N/A cache config N/A cache matcher N/A cache path None N/A N/A cache mtime mtime N/A N/A N/A config N/A read_app_config appinfo_path N/A appinfo_includes Parse N/A N/A N/A N/A N/A multiprocess GlobalProcess NewAppInfo config N/A static_caching N/A N/A N/A config default_expiration N/A N/A default_expiration N/A config default_expiration N/A N/A default_expiration 0 N/A N/A default_expiration None N/A matcher N/A create_matcher config root_path N/A config handlers module_dict default_expiration N/A N/A N/A FakeFile SetSkippedFiles N/A config skip_files N/A N/A cache None N/A N/A N/A cache path appinfo_path N/A N/A cache config config N/A N/A cache matcher matcher N/A N/A config matcher False N/A N/A N/A N/A gexcept AbstractMethod N/A N/A N/A AppConfigNotFoundError N/A ReservedPathFilter N/A N/A N/A Checks a path against a set of inbound_services. N/A reserved_paths N/A /_ah/channel/connect /_ah/channel/disconnect channel_presence channel_presence __init__ N/A N/A self inbound_services N/A N/A N/A N/A self inbound_services inbound_services N/A ExcludePath N/A N/A self path N/A N/A N/A Check to see if this is a service url and matches inbound_services. N/A skip False N/A reserved_path N/A N/A N/A self reserved_paths keys N/A N/A N/A N/A path startswith reserved_path N/A N/A N/A N/A N/A self inbound_services N/A N/A N/A self reserved_paths N/A reserved_path N/A self inbound_services N/A N/A N/A True N/A N/A self reserved_paths N/A reserved_path N/A N/A False None N/A N/A CreateInboundServiceFilter N/A N/A inbound_services N/A N/A N/A N/A ReservedPathFilter inbound_services N/A ReadCronConfig N/A N/A croninfo_path parse_cron_config N/A N/A croninfo LoadSingleCron N/A N/A Reads cron.yaml file and returns a list of CronEntry instances.

  Args:
    croninfo_path: String containing the path to the cron.yaml file.
    parse_cron_config: Used for dependency injection.

  Returns:
    A CronInfoExternal object.

  Raises:
    If the config file is unreadable, empty or invalid, this function will
    raise an InvalidAppConfigError or a MalformedCronConfiguration exception.
   N/A N/A N/A croninfo_file N/A file croninfo_path r N/A N/A N/A IOError N/A e N/A N/A N/A InvalidAppConfigError N/A Cron configuration could not be read from "%s": %s N/A croninfo_path e N/A N/A N/A N/A parse_cron_config croninfo_file N/A N/A N/A N/A croninfo_file close N/A SetupStubs N/A N/A app_id N/A config N/A N/A Sets up testing stubs of APIs.

  Args:
    app_id: Application ID being served.
    config: keyword arguments.

  Keywords:
    root_path: Root path to the directory of the application which should
        contain the app.yaml, index.yaml, and queue.yaml files.
    login_url: Relative URL which should be used for handling user login/logout.
    blobstore_path: Path to the directory to store Blobstore blobs in.
    datastore_path: Path to the file to store Datastore file stub data in.
    prospective_search_path: Path to the file to store Prospective Search stub
        data in.
    use_sqlite: Use the SQLite stub for the datastore.
    high_replication: Use the high replication consistency model
    history_path: DEPRECATED, No-op.
    clear_datastore: If the datastore should be cleared on startup.
    smtp_host: SMTP host used for sending test mail.
    smtp_port: SMTP port.
    smtp_user: SMTP user.
    smtp_password: SMTP password.
    mysql_host: MySQL host.
    mysql_port: MySQL port.
    mysql_user: MySQL user.
    mysql_password: MySQL password.
    mysql_socket: MySQL socket.
    enable_sendmail: Whether to use sendmail as an alternative to SMTP.
    show_mail_body: Whether to log the body of emails.
    remove: Used for dependency injection.
    disable_task_running: True if tasks should not automatically run after
      they are enqueued.
    task_retry_seconds: How long to wait after an auto-running task before it
      is tried again.
    persist_logs: True if request and application logs should be persisted for
      later access.
    trusted: True if this app can access data belonging to other apps.  This
      behavior is different from the real app server and should be left False
      except for advanced uses of dev_appserver.
    port: The port that this dev_appserver is bound to. Defaults to 8080
    address: The host that this dev_appsever is running on. Defaults to
      localhost.
   N/A root_path N/A N/A config get root_path None N/A login_url N/A config N/A login_url N/A blobstore_path N/A config N/A blobstore_path N/A datastore_path N/A config N/A datastore_path N/A clear_datastore N/A config N/A clear_datastore N/A prospective_search_path N/A N/A config get prospective_search_path N/A clear_prospective_search N/A N/A config get clear_prospective_search False N/A use_sqlite N/A N/A config get use_sqlite False N/A high_replication N/A N/A config get high_replication False N/A require_indexes N/A N/A config get require_indexes False N/A mysql_host N/A N/A config get mysql_host None N/A mysql_port N/A N/A config get mysql_port 3306 N/A mysql_user N/A N/A config get mysql_user None N/A mysql_password N/A N/A config get mysql_password None N/A mysql_socket N/A N/A config get mysql_socket None N/A smtp_host N/A N/A config get smtp_host None N/A smtp_port N/A N/A config get smtp_port 25 N/A smtp_user N/A N/A config get smtp_user N/A smtp_password N/A N/A config get smtp_password N/A enable_sendmail N/A N/A config get enable_sendmail False N/A show_mail_body N/A N/A config get show_mail_body False N/A remove N/A N/A config get remove N/A os remove N/A disable_task_running N/A N/A config get disable_task_running False N/A task_retry_seconds N/A N/A config get task_retry_seconds 30 N/A persist_logs N/A N/A config get persist_logs False N/A trusted N/A N/A config get trusted False N/A serve_port N/A int N/A N/A config get NGINX_PORT 8080 N/A serve_address N/A N/A config get NGINX_HOST localhost N/A xmpp_path N/A config N/A xmpp_path N/A uaserver_path N/A config N/A uaserver_path N/A login_server N/A config N/A login_server N/A cookie_secret N/A config N/A COOKIE_SECRET N/A N/A N/A os environ N/A APPLICATION_ID app_id N/A N/A N/A os environ N/A REQUEST_ID_HASH N/A N/A clear_prospective_search prospective_search_path N/A N/A N/A N/A N/A os path lexists prospective_search_path N/A N/A N/A N/A logging info Attempting to remove file at %s prospective_search_path N/A N/A N/A N/A remove prospective_search_path N/A N/A N/A OSError N/A e N/A N/A N/A N/A logging warning Removing file failed: %s e N/A clear_datastore N/A N/A path datastore_path N/A N/A N/A N/A os path lexists path N/A N/A N/A N/A logging info Attempting to remove file at %s path N/A N/A N/A N/A remove path N/A N/A N/A OSError N/A e N/A N/A N/A N/A logging warning Removing file failed: %s e N/A N/A N/A N/A N/A N/A multiprocess GlobalProcess MaybeConfigureRemoteDataApis N/A N/A Configures local versions of datastore, memcache, and taskqueue. N/A N/A apiproxy_stub_map apiproxy N/A N/A apiproxy_stub_map APIProxyStubMap N/A datastore N/A N/A datastore_distributed DatastoreDistributed app_id datastore_path require_indexes require_indexes trusted trusted N/A high_replication N/A N/A N/A N/A datastore SetConsistencyPolicy N/A N/A datastore_stub_util TimeBasedHRConsistencyPolicy N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub datastore_v3 datastore N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub memcache N/A N/A memcache_distributed MemcacheService N/A hash_secret N/A N/A N/A N/A hashlib sha1 N/A N/A app_id / cookie_secret hexdigest N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub taskqueue N/A N/A taskqueue_rabbitmq TaskQueueServiceStub root_path root_path auto_task_running N/A disable_task_running task_retry_seconds task_retry_seconds default_http_server N/A %s:%s N/A serve_address serve_port app_id app_id hash_secret hash_secret N/A mysql_user N/A google.appengine api N/A N/A N/A sys modules N/A google.appengine.api.rdbms rdbms_mysqldb N/A N/A api rdbms rdbms_mysqldb N/A N/A N/A rdbms_mysqldb SetConnectKwargs host mysql_host port mysql_port user mysql_user passwd mysql_password unix_socket mysql_socket N/A N/A N/A rdbms_mysqldb connect database N/A fixed_login_url N/A %s?%s=%%s N/A login_url N/A dev_appserver_login CONTINUE_PARAM N/A fixed_logout_url N/A http://%s/logout login_server N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub user N/A N/A user_service_stub UserServiceStub login_url fixed_login_url logout_url fixed_logout_url N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub urlfetch N/A N/A urlfetch_stub URLFetchServiceStub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub mail N/A N/A mail_stub MailServiceStub smtp_host smtp_port smtp_user smtp_password enable_sendmail enable_sendmail show_mail_body show_mail_body N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub capability_service N/A N/A capability_stub CapabilityServiceStub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub xmpp N/A N/A xmpp_service_real XmppService domain xmpp_path uaserver uaserver_path N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub channel N/A N/A channel_service_stub ChannelServiceStub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub matcher N/A N/A prospective_search_stub ProspectiveSearchStub prospective_search_path N/A N/A N/A apiproxy_stub_map apiproxy GetStub taskqueue N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub app_identity_service N/A N/A app_identity_stub AppIdentityServiceStub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub search N/A N/A simple_search_stub SearchServiceStub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub conversion N/A N/A conversion_stub ConversionServiceStub N/A N/A google.appengine.api.images images_stub N/A host_prefix N/A http://%s:%d N/A serve_address serve_port N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub images N/A N/A images_stub ImagesServiceStub host_prefix host_prefix N/A N/A N/A ImportError N/A e N/A N/A N/A N/A logging warning Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: %s e google.appengine.api.images images_not_implemented_stub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub images N/A N/A images_not_implemented_stub ImagesNotImplementedServiceStub N/A blob_storage N/A N/A datastore_blob_storage DatastoreBlobStorage blobstore_path app_id N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub blobstore N/A N/A blobstore_stub BlobstoreServiceStub blob_storage N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub file N/A N/A file_service_stub FileServiceStub blob_storage N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub logservice N/A N/A logservice_stub LogServiceStub persist_logs N/A system_service_stub N/A N/A system_stub SystemServiceStub N/A N/A N/A N/A N/A multiprocess GlobalProcess UpdateSystemStub system_service_stub N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub system system_service_stub N/A CreateImplicitMatcher N/A N/A config module_dict root_path login_url create_path_adjuster create_local_dispatcher create_cgi_dispatcher get_blob_storage N/A PathAdjuster LocalCGIDispatcher CGIDispatcher N/A dev_appserver_blobstore GetBlobStorage N/A N/A Creates a URLMatcher instance that handles internal URLs.

  Used to facilitate handling user login/logout, debugging, info about the
  currently running app, etc.

  Args:
    config: AppInfoExternal instance representing the parsed app.yaml file.
    module_dict: Dictionary in the form used by sys.modules.
    root_path: Path to the root of the application.
    login_url: Relative URL which should be used for handling user login/logout.
    create_path_adjuster: Used for dependedency injection.
    create_local_dispatcher: Used for dependency injection.
    create_cgi_dispatcher: Used for dependedency injection.
    get_blob_storage: Used for dependency injection.

  Returns:
    Instance of URLMatcher with appropriate dispatchers.
   N/A url_matcher N/A URLMatcher N/A path_adjuster N/A create_path_adjuster root_path N/A N/A N/A N/A N/A multiprocess GlobalProcess IsApiServer N/A N/A remote_api_dispatcher N/A create_cgi_dispatcher config module_dict root_path path_adjuster N/A N/A N/A url_matcher AddURL N/A multiprocess PATH_DEV_API_SERVER remote_api_dispatcher REMOTE_API_PATH False False N/A appinfo AUTH_FAIL_ACTION_REDIRECT N/A login_dispatcher N/A create_local_dispatcher config N/A sys modules path_adjuster N/A dev_appserver_login main N/A N/A N/A url_matcher AddURL login_url login_dispatcher False False N/A appinfo AUTH_FAIL_ACTION_REDIRECT N/A admin_dispatcher N/A create_cgi_dispatcher config module_dict root_path path_adjuster N/A N/A N/A url_matcher AddURL /_ah/admin(?:/.*)? admin_dispatcher DEVEL_CONSOLE_PATH True True N/A appinfo AUTH_FAIL_ACTION_REDIRECT N/A upload_dispatcher N/A N/A dev_appserver_blobstore CreateUploadDispatcher get_blob_storage N/A N/A N/A url_matcher AddURL N/A dev_appserver_blobstore UPLOAD_URL_PATTERN upload_dispatcher True True N/A appinfo AUTH_FAIL_ACTION_UNAUTHORIZED N/A blobimage_dispatcher N/A N/A dev_appserver_blobimage CreateBlobImageDispatcher N/A N/A N/A apiproxy_stub_map apiproxy GetStub images N/A N/A N/A url_matcher AddURL N/A dev_appserver_blobimage BLOBIMAGE_URL_PATTERN blobimage_dispatcher False False N/A appinfo AUTH_FAIL_ACTION_UNAUTHORIZED N/A oauth_dispatcher N/A N/A dev_appserver_oauth CreateOAuthDispatcher N/A N/A N/A url_matcher AddURL N/A dev_appserver_oauth OAUTH_URL_PATTERN oauth_dispatcher False False N/A appinfo AUTH_FAIL_ACTION_UNAUTHORIZED N/A channel_dispatcher N/A N/A dev_appserver_channel CreateChannelDispatcher N/A N/A N/A apiproxy_stub_map apiproxy GetStub channel N/A N/A N/A url_matcher AddURL N/A dev_appserver_channel CHANNEL_JSAPI_PATTERN channel_dispatcher False False N/A appinfo AUTH_FAIL_ACTION_UNAUTHORIZED N/A url_matcher N/A CreateServer N/A N/A root_path login_url port template_dir serve_address require_indexes allow_skipped_files static_caching python_path_list sdk_dir default_partition persist_logs secret_hash N/A None False False True N/A sys path SDK_ROOT None False xxx N/A N/A Creates an new HTTPServer for an application.

  The sdk_dir argument must be specified for the directory storing all code for
  the SDK so as to allow for the sandboxing of module access to work for any
  and all SDK code. While typically this is where the 'google' package lives,
  it can be in another location because of API version support.

  Args:
    root_path: String containing the path to the root directory of the
      application where the app.yaml file is.
    login_url: Relative URL which should be used for handling user login/logout.
    port: Port to start the application server on.
    template_dir: Unused.
    serve_address: Address on which the server should serve.
    require_indexes: True if index.yaml is read-only gospel; default False.
    allow_skipped_files: True if skipped files should be accessible.
    static_caching: True if browser caching of static files should be allowed.
    python_path_list: Used for dependency injection.
    sdk_dir: Directory where the SDK is stored.
    default_partition: Default partition to use for the appid.
    secret_hash: For TaskQueue admin rights
  Returns:
    Instance of BaseHTTPServer.HTTPServer that's ready to start accepting.
   N/A absolute_root_path N/A N/A N/A os path realpath root_path N/A N/A N/A FakeFile SetAllowedPaths absolute_root_path N/A sdk_dir N/A N/A N/A FakeFile SetAllowSkippedFiles allow_skipped_files N/A handler_class N/A CreateRequestHandler absolute_root_path login_url require_indexes static_caching default_partition persist_logs secret_hash N/A N/A absolute_root_path python_path_list N/A N/A N/A N/A python_path_list insert 0 absolute_root_path N/A N/A N/A multiprocess Enabled N/A N/A server N/A HttpServerWithMultiProcess N/A serve_address port handler_class N/A N/A server N/A HTTPServerWithScheduler N/A serve_address port handler_class N/A queue_stub N/A N/A N/A apiproxy_stub_map apiproxy GetStub taskqueue N/A N/A queue_stub N/A hasattr queue_stub StartBackgroundExecution N/A N/A N/A N/A queue_stub StartBackgroundExecution N/A channel_stub N/A N/A N/A apiproxy_stub_map apiproxy GetStub channel N/A channel_stub N/A N/A N/A channel_stub _add_event N/A server AddEvent N/A N/A channel_stub _update_event N/A server UpdateEvent N/A server N/A HTTPServerWithScheduler N/A N/A BaseHTTPServer HTTPServer N/A N/A A BaseHTTPServer subclass that calls a method at a regular interval. __init__ N/A N/A self server_address request_handler_class N/A N/A N/A Constructor.

    Args:
      server_address: the bind address of the server.
      request_handler_class: class used to handle requests.
     N/A N/A N/A N/A BaseHTTPServer HTTPServer __init__ self server_address request_handler_class N/A N/A self _events N/A N/A N/A self _stopped False N/A handle_request N/A N/A self N/A N/A N/A Override the base handle_request call.

    Python 2.6 changed the semantics of handle_request() with r61289.
    This patches it back to the Python 2.5 version, which has
    helpfully been renamed to _handle_request_noblock.
     N/A N/A hasattr self _handle_request_noblock N/A N/A N/A N/A self _handle_request_noblock N/A N/A N/A N/A N/A BaseHTTPServer HTTPServer handle_request self N/A get_request N/A N/A self time_func select_func N/A N/A time time N/A select select N/A N/A Overrides the base get_request call.

    Args:
      time_func: used for testing.
      select_func: used for testing.

    Returns:
      a (socket_object, address info) tuple.
     N/A True N/A N/A N/A self _events N/A N/A current_time N/A time_func N/A next_eta N/A N/A N/A self _events N/A 0 N/A 0 N/A delay N/A next_eta current_time N/A N/A delay DEFAULT_SELECT_DELAY N/A N/A readable _ _ N/A select_func N/A N/A self socket N/A N/A N/A max delay 0 N/A readable N/A N/A N/A N/A N/A self socket accept N/A current_time N/A time_func N/A N/A N/A self _events N/A current_time N/A N/A N/A self _events N/A 0 N/A 0 N/A N/A runnable N/A N/A N/A heapq heappop N/A self _events N/A 1 N/A request_tuple N/A runnable N/A request_tuple N/A N/A request_tuple N/A serve_forever N/A N/A self N/A N/A N/A Handle one request at a time until told to stop. N/A N/A N/A self _stopped N/A N/A N/A N/A self handle_request N/A N/A N/A self server_close N/A stop_serving_forever N/A N/A self N/A N/A N/A Stop the serve_forever() loop.

    Stop happens on the next handle_request() loop; it will not stop
    immediately.  Since dev_appserver.py must run on py2.5 we can't
    use newer features of SocketServer (e.g. shutdown(), added in py2.6).
     N/A N/A self _stopped True N/A AddEvent N/A N/A self eta runnable service event_id N/A None None N/A N/A Add a runnable event to be run at the specified time.

    Args:
      eta: when to run the event, in seconds since epoch.
      runnable: a callable object.
      service: the service that owns this event. Should be set if id is set.
      event_id: optional id of the event. Used for UpdateEvent below.
     N/A N/A N/A heapq heappush N/A self _events N/A eta runnable service event_id N/A UpdateEvent N/A N/A self service event_id eta N/A N/A N/A Update a runnable event in the heap with a new eta.
    TODO(moishel): come up with something better than a linear scan to
    update items. For the case this is used for now -- updating events to
    "time out" channels -- this works fine because those events are always
    soon (within seconds) and thus found quickly towards the front of the heap.
    One could easily imagine a scenario where this is always called for events
    that tend to be at the back of the heap, of course...

    Args:
      service: the service that owns this event.
      event_id: the id of the event.
      eta: the new eta of the event.
     N/A id N/A xrange N/A len N/A self _events N/A N/A item N/A N/A self _events N/A id N/A N/A N/A N/A item N/A 2 service N/A N/A item N/A 3 event_id N/A N/A item N/A eta N/A item N/A 1 N/A item N/A 2 N/A item N/A 3 N/A N/A N/A self _events N/A id N/A N/A N/A heapq heappush N/A self _events item N/A N/A N/A HttpServerWithMultiProcess N/A HTTPServerWithScheduler N/A N/A Class extending HTTPServerWithScheduler with multi-process handling. __init__ N/A N/A self server_address request_handler_class N/A N/A N/A Constructor.

    Args:
      server_address: the bind address of the server.
      request_handler_class: class used to handle requests.
     N/A N/A N/A HTTPServerWithScheduler __init__ self server_address request_handler_class N/A N/A N/A N/A N/A multiprocess GlobalProcess SetHttpServer self N/A process_request N/A N/A self request client_address N/A N/A N/A Overrides the SocketServer process_request call. N/A N/A N/A N/A N/A multiprocess GlobalProcess ProcessRequest request client_address N/A N/A