Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str NameLoad body If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore IfExp CompareGtE NameLoad Num Str Str Return BinOpMod NameLoad NameLoad orelse Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Return CompareLtLtE Num Call NameLoad NameLoad BinOpLShift Num Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr CompareNotIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad ListLoad ListLoad ListLoad For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Pass orelse If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str BinOpAdd Str SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad CompareNotIn NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad SubscriptLoad NameLoad Index Str If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr Str Str body TryExcept body Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad If Call AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad Str attr AttributeLoad NameLoad attr TupleLoad NameLoad body Break If UnaryOpNot NameLoad body Raise Call NameLoad Call NameLoad Str keyword NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd Call AttributeLoad NameLoad attr Str CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call NameLoad Str If CompareNotEq Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict attr Str Str body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Return If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return IfExp CompareIsNot NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr For NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr BoolOpAnd CompareIn SubscriptLoad NameLoad Slice Num NameLoad Call AttributeLoad NameLoad attr Str body If CompareNotIn SubscriptLoad NameLoad Slice Num NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Slice Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr BinOpMult ListLoad Str Call NameLoad NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str ListComp TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad For TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad AttributeLoad NameLoad attr NameLoad body TryExcept body Return Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num handlers ExceptHandler type NameLoad body Break decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str NameLoad body Expr Str Assert AttributeLoad NameLoad attr Str If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad GeneratorExp CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call NameLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body AugAssignAdd NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Break handlers ExceptHandler type NameLoad body AugAssignAdd NameStore Num Assign NameStore Call NameLoad BinOpAdd NameLoad Num If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad AttributeLoad NameLoad attr body For NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str TupleLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Break orelse Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad BinOpMod Str NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore CompareIn NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad IfExp NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Str Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Str Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad NameLoad BoolOpOr NameLoad Str BoolOpOr NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore Dict Assign NameStore Dict Str Str NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore ListComp TupleLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareNotEq NameLoad Str UnaryOpNot Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore NameLoad body For TupleStore NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call NameLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Break orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr orelse Expr Call NameLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore NameLoad For TupleStore NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad body Break If CompareEq NameLoad BoolOpOr NameLoad Str body Return Assign NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore IfExp NameLoad BinOpAdd Call NameLoad GeneratorExp Call NameLoad SubscriptLoad NameLoad Slice Num comprehension TupleStore NameStore NameLoad Num Num Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad BinOpMod Str NameLoad BoolOpOr NameLoad Str Call NameLoad NameLoad If CompareIs NameLoad NameLoad body For TupleStore NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call NameLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore BoolOpOr NameLoad Str For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Assign TupleStore NameStore NameStore NameStore NameLoad orelse Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad NameLoad With AttributeLoad AttributeLoad NameLoad attr attr NameStore body If CompareIs NameLoad NameLoad body Assign NameStore Str For TupleStore NameStore NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad body Break If CompareIs NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str body Break orelse Return Assign NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad GeneratorExp TupleLoad Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad With AttributeLoad AttributeLoad NameLoad attr attr NameStore body For NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad BinOpAdd Str Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad body Return NameLoad Assign NameStore Num For TupleStore NameStore NameStore NameStore NameStore Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num handlers ExceptHandler type NameLoad body AugAssignAdd NameStore Num If CompareEq NameLoad NameLoad body Break orelse Return If CompareIs NameLoad NameLoad body For TupleStore NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str body Break Return TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If NameLoad body For TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Break orelse Raise Call NameLoad Call NameLoad Str keyword AttributeLoad NameLoad attr keyword NameLoad orelse Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body If CompareGt Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str keyword AttributeLoad NameLoad attr With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Str Str TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr IfExp NameLoad BinOpAdd Call NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Num Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str keyword AttributeLoad NameLoad attr With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body With AttributeLoad NameLoad attr NameStore body For TupleStore NameStore NameStore Call NameLoad BinOpAdd Str Call AttributeLoad NameLoad attr Str Str TupleLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad Call NameLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad NameLoad body Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Break orelse Raise Call NameLoad Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Expr Yield NameLoad decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad IfExp NameLoad Call NameLoad NameLoad NameLoad IfExp NameLoad Call NameLoad NameLoad NameLoad BoolOpOr NameLoad Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameStore NameStore NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Raise Call NameLoad Call NameLoad Str keyword NameLoad Call NameLoad Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BoolOpAnd AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Delete AttributeDel AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Delete AttributeDel AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr With AttributeLoad AttributeLoad NameLoad attr attr NameStore body If CompareNotEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareNotEq Call NameLoad NameLoad NameLoad NameLoad For NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpAnd NameLoad CompareNotEq NameLoad AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Call NameLoad Str keyword NameLoad Call NameLoad Str Assign NameStore Call NameLoad NameLoad With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Str If NameLoad body AugAssignAdd NameStore Str Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore Call NameLoad NameLoad TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Str If NameLoad body AugAssignAdd NameStore Str Return SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad AttributeLoad NameLoad attr Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIs AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return TupleLoad BoolOpOr AttributeLoad NameLoad attr NameLoad BoolOpOr AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list Return Call NameLoad NameLoad keyword NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Return CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body For TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Return Raise Call NameLoad Call NameLoad Str keyword NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad IfExp CompareEq NameLoad Str Str Str IfExp NameLoad Str Str body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad NameLoad body Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Break orelse Raise Call NameLoad Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str With AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return TupleLoad BoolOpOr AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad decorator_list
N/A N/A re trac core trac.attachment Attachment trac.cache cached trac.core TracError trac.resource Resource ResourceNotFound trac.ticket.api TicketSystem trac.util as_int embedded_numbers trac.util.datefmt datetime_now from_utimestamp parse_date to_utimestamp utc utcmax trac.util.text empty trac.util.translation _ N/A __all__ N/A Ticket Type Status Resolution Priority Severity Component Milestone Version group_milestones _fixup_cc_list N/A N/A cc_value N/A N/A N/A Fix up cc list separators and remove duplicates. N/A cclist N/A N/A cc N/A N/A re split [;,\s]+ cc_value N/A N/A N/A cc N/A cc cclist N/A N/A N/A N/A cclist append cc N/A N/A N/A ,  join cclist N/A _db_str_to_datetime N/A N/A value N/A N/A N/A N/A value None N/A N/A None N/A N/A N/A N/A from_utimestamp N/A long value N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A parse_date N/A N/A value strip utc datetime N/A N/A N/A Exception N/A N/A None N/A _datetime_to_db_str N/A N/A dt is_custom_field N/A N/A N/A N/A dt N/A N/A N/A ts N/A to_utimestamp dt N/A is_custom_field N/A N/A fmt N/A N/A ts 0 %018d %+017d N/A N/A fmt ts N/A N/A ts N/A Ticket N/A object N/A N/A realm ticket N/A protected_fields N/A resolution status time changetime id_is_valid N/A N/A num N/A N/A N/A N/A 0 N/A int num N/A 1 31 N/A staticmethod resource N/A N/A self N/A N/A N/A N/A Resource N/A self realm N/A self id N/A self version N/A property N/A time_created N/A property N/A N/A N/A self N/A N/A N/A N/A self values get time N/A time_changed N/A property N/A N/A N/A self N/A N/A N/A N/A self values get changetime __init__ N/A N/A self env tkt_id version N/A None None N/A N/A N/A self env env N/A N/A self fields N/A N/A N/A TicketSystem N/A self env get_ticket_fields N/A N/A self editable_fields N/A set N/A N/A f N/A name N/A f N/A self fields N/A N/A f N/A name N/A self protected_fields N/A N/A N/A self std_fields N/A self custom_fields N/A self time_fields N/A N/A N/A N/A N/A f N/A self fields N/A N/A N/A N/A f get custom N/A N/A N/A N/A N/A self custom_fields append N/A f N/A name N/A N/A N/A N/A N/A self std_fields append N/A f N/A name N/A N/A N/A f N/A type time N/A N/A N/A N/A N/A self time_fields append N/A f N/A name N/A N/A self values N/A N/A N/A self _old N/A N/A N/A tkt_id None N/A N/A tkt_id N/A int tkt_id N/A N/A N/A self _fetch_ticket tkt_id N/A N/A N/A N/A self _init_defaults N/A N/A self id None N/A N/A self version version N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %r> N/A N/A N/A self __class__ __name__ N/A self id N/A N/A exists N/A property N/A N/A N/A self N/A N/A N/A self id None _init_defaults N/A N/A self N/A N/A N/A field N/A self fields N/A N/A default None N/A N/A N/A field N/A name N/A self protected_fields N/A N/A N/A N/A N/A N/A N/A field get custom N/A N/A default N/A N/A N/A N/A self env config get ticket N/A default_ N/A field N/A name N/A N/A default N/A N/A self _custom_field_default field N/A default N/A N/A N/A N/A N/A self values setdefault N/A field N/A name default N/A _custom_field_default N/A N/A self field N/A N/A N/A default N/A N/A field get value N/A options N/A N/A field get options N/A N/A default options N/A default options N/A N/A N/A N/A default N/A options N/A N/A int default N/A N/A N/A N/A ValueError IndexError N/A N/A N/A N/A N/A N/A self env log warning Invalid default value "%s" for custom field "%s" default N/A field N/A name N/A N/A default N/A N/A N/A field get type time N/A N/A N/A N/A default N/A parse_date default hint N/A N/A field get format N/A N/A N/A TracError N/A e N/A N/A N/A N/A N/A N/A self env log warning Invalid default value "%s" for custom field "%s": %s default N/A field N/A name e N/A default None N/A default N/A _fetch_ticket N/A N/A self tkt_id N/A N/A N/A row None N/A N/A N/A self id_is_valid tkt_id N/A N/A row N/A N/A N/A self env db_query N/A SELECT %s FROM ticket WHERE id=%%s N/A N/A , join N/A self std_fields N/A tkt_id N/A N/A N/A N/A row N/A N/A N/A ResourceNotFound N/A _ Ticket %(id)s does not exist. id tkt_id N/A _ Invalid ticket number N/A N/A self id tkt_id N/A N/A i field N/A enumerate N/A self std_fields N/A N/A value N/A row N/A i N/A N/A field N/A self time_fields N/A N/A N/A N/A self values N/A field N/A from_utimestamp value N/A N/A N/A value None N/A N/A N/A N/A self values N/A field empty N/A N/A N/A N/A self values N/A field value N/A N/A name value N/A N/A N/A self env db_query 
                SELECT name, value FROM ticket_custom WHERE ticket=%s
                 N/A tkt_id N/A N/A N/A name N/A self custom_fields N/A N/A N/A name N/A self time_fields N/A N/A N/A N/A self values N/A name N/A _db_str_to_datetime value N/A N/A N/A value None N/A N/A N/A N/A self values N/A name empty N/A N/A N/A N/A self values N/A name value N/A field N/A self fields N/A N/A name N/A field N/A name N/A N/A N/A N/A field get custom N/A name N/A self values N/A N/A default N/A N/A self _custom_field_default field N/A default N/A N/A N/A self N/A name default N/A __getitem__ N/A N/A self name N/A N/A N/A N/A N/A N/A self values get name N/A __setitem__ N/A N/A self name value N/A N/A N/A Log ticket modifications so the table ticket_change can be updated
         N/A N/A value N/A name N/A self time_fields N/A N/A N/A isinstance value list N/A N/A N/A TracError N/A _ Multi-values fields not supported yet N/A N/A N/A N/A N/A N/A N/A self fields by_name name N/A get type textarea N/A N/A value N/A N/A value strip N/A N/A N/A name N/A self values N/A N/A N/A self values N/A name value N/A N/A N/A N/A name N/A self _old N/A N/A N/A N/A self _old N/A name N/A N/A N/A self values get name N/A N/A N/A N/A N/A self _old N/A name value N/A N/A N/A N/A self _old N/A name N/A N/A N/A self values N/A name value N/A __contains__ N/A N/A self item N/A N/A N/A N/A item N/A self values N/A get_value_or_default N/A N/A self name N/A N/A N/A Return the value of a field or the default value if it is undefined
         N/A N/A N/A value N/A N/A self values N/A name N/A N/A N/A value empty value N/A N/A self get_default name N/A N/A N/A KeyError N/A N/A N/A get_default N/A N/A self name N/A N/A N/A Return the default value of a field. N/A N/A N/A N/A N/A N/A self fields by_name name N/A get value N/A populate N/A N/A self values N/A N/A N/A Populate the ticket with 'suitable' values from a dictionary N/A field_names N/A N/A f N/A name N/A f N/A self fields N/A name N/A name N/A name N/A N/A values keys N/A name field_names N/A N/A N/A self N/A name N/A values N/A name N/A name N/A name N/A name N/A N/A values keys N/A N/A N/A name N/A 9 field_names N/A N/A name startswith checkbox_ N/A N/A N/A N/A name N/A 9 values N/A N/A N/A self N/A N/A name N/A 9 0 N/A insert N/A N/A self when N/A None N/A N/A Add ticket to database.
         N/A N/A N/A self exists Cannot insert an existing ticket N/A N/A cc N/A self values N/A N/A N/A self N/A cc N/A _fixup_cc_list N/A N/A self values N/A cc N/A N/A when None N/A N/A when N/A datetime_now utc N/A N/A N/A self values N/A time N/A N/A self values N/A changetime when N/A db_values N/A N/A self _to_db_types N/A self values N/A std_fields N/A N/A custom_fields N/A N/A f N/A self fields N/A N/A fname N/A f N/A name N/A N/A fname N/A self values N/A N/A N/A N/A f get custom N/A N/A N/A N/A custom_fields append fname N/A N/A N/A N/A std_fields append fname N/A N/A N/A self env db_transaction db N/A N/A cursor N/A N/A db cursor N/A N/A N/A cursor execute N/A INSERT INTO ticket (%s) VALUES (%s) N/A N/A N/A , join std_fields N/A N/A , join N/A N/A %s N/A len std_fields N/A N/A N/A db_values get name N/A name std_fields N/A tkt_id N/A N/A db get_last_id cursor ticket N/A custom_fields N/A N/A N/A N/A db executemany INSERT INTO ticket_custom (ticket, name, value)
                       VALUES (%s, %s, %s)
                     N/A N/A tkt_id c N/A N/A db_values get c N/A c custom_fields N/A N/A self id N/A int tkt_id N/A N/A self _old N/A N/A listener N/A N/A TicketSystem N/A self env change_listeners N/A N/A N/A N/A listener ticket_created self N/A N/A self id N/A get_comment_number N/A N/A self cdate N/A N/A N/A Return a comment number by its date. N/A ts N/A to_utimestamp cdate N/A N/A cnum N/A N/A N/A self env db_query                 SELECT oldvalue FROM ticket_change
                WHERE ticket=%s AND time=%s AND field='comment'
                 N/A N/A self id ts N/A N/A N/A N/A N/A int N/A N/A N/A cnum rsplit . 1 N/A -1 N/A N/A N/A ValueError N/A N/A N/A save_changes N/A N/A self author comment when cnum replyto N/A None None None None N/A N/A 
        Store ticket changes in the database. The ticket must already exist in
        the database.  Returns False if there were no changes to save, True
        otherwise.

        :since 1.0: the `cnum` parameter is deprecated, and threading should
        be controlled with the `replyto` argument
         N/A N/A self exists Cannot update a new ticket N/A N/A cc N/A self values N/A N/A N/A self N/A cc N/A _fixup_cc_list N/A N/A self values N/A cc N/A props_unchanged N/A all N/A N/A N/A N/A N/A self values get k v N/A N/A k v N/A N/A N/A self _old iteritems N/A N/A N/A N/A comment N/A N/A N/A comment strip props_unchanged N/A N/A False N/A N/A when None N/A N/A when N/A datetime_now utc N/A when_ts N/A to_utimestamp when N/A db_values N/A N/A self _to_db_types N/A self values N/A old_db_values N/A N/A self _to_db_types N/A self _old N/A N/A N/A self env db_transaction db N/A N/A N/A db UPDATE ticket SET changetime=%s WHERE id=%s N/A when_ts N/A self id N/A N/A cnum N/A N/A num 0 N/A N/A ts old N/A db 
                        SELECT DISTINCT tc1.time, COALESCE(tc2.oldvalue,'')
                        FROM ticket_change AS tc1
                        LEFT OUTER JOIN ticket_change AS tc2
                        ON tc2.ticket=%s AND tc2.time=tc1.time
                           AND tc2.field='comment'
                        WHERE tc1.ticket=%s ORDER BY tc1.time DESC
                         N/A N/A self id N/A self id N/A N/A N/A N/A num N/A int N/A N/A N/A old rsplit . 1 N/A -1 N/A N/A N/A N/A ValueError N/A N/A num 1 N/A cnum N/A str N/A num 1 N/A replyto N/A N/A cnum N/A %s.%s N/A replyto cnum N/A name N/A N/A N/A self _old keys N/A N/A N/A name N/A self custom_fields N/A N/A row N/A db SELECT * FROM ticket_custom
                                     WHERE ticket=%s and name=%s
                                      N/A N/A self id name N/A N/A N/A db UPDATE ticket_custom SET value=%s
                              WHERE ticket=%s AND name=%s
                               N/A N/A N/A db_values get name N/A self id name N/A N/A N/A N/A db INSERT INTO ticket_custom (ticket,name,value)
                              VALUES(%s,%s,%s)
                               N/A N/A self id name N/A N/A db_values get name N/A N/A N/A db N/A UPDATE ticket SET %s=%%s WHERE id=%%s name N/A N/A N/A db_values get name N/A self id N/A N/A db INSERT INTO ticket_change
                        (ticket,time,author,field,oldvalue,newvalue)
                      VALUES (%s, %s, %s, %s, %s, %s)
                       N/A N/A self id when_ts author name N/A N/A old_db_values get name N/A N/A db_values get name N/A N/A db INSERT INTO ticket_change
                    (ticket,time,author,field,oldvalue,newvalue)
                  VALUES (%s,%s,%s,'comment',%s,%s)
                   N/A N/A self id when_ts author cnum comment N/A old_values N/A self _old N/A N/A self _old N/A N/A N/A N/A self values N/A changetime when N/A listener N/A N/A TicketSystem N/A self env change_listeners N/A N/A N/A N/A listener ticket_changed self comment author old_values N/A N/A int N/A N/A N/A cnum rsplit . 1 N/A -1 N/A _to_db_types N/A N/A self values N/A N/A N/A values N/A N/A values copy N/A N/A field value N/A N/A values iteritems N/A N/A N/A field N/A self time_fields N/A N/A is_custom_field N/A field N/A self custom_fields N/A N/A values N/A field N/A _datetime_to_db_str value is_custom_field N/A N/A N/A values N/A field N/A value value None N/A values N/A get_changelog N/A N/A self when N/A None N/A N/A Return the changelog as a list of tuples of the form
        (time, author, field, oldvalue, newvalue, permanent).

        While the other tuple elements are quite self-explanatory,
        the `permanent` flag is used to distinguish collateral changes
        that are not yet immutable (like attachments, currently).
         N/A sid N/A str N/A self id N/A when_ts N/A to_utimestamp when N/A when_ts N/A N/A sql 
                SELECT time, author, field, oldvalue, newvalue, 1 AS permanent
                FROM ticket_change WHERE ticket=%s AND time=%s
                  UNION
                SELECT time, author, 'attachment', null, filename,
                  0 AS permanent
                FROM attachment WHERE type='ticket' AND id=%s AND time=%s
                  UNION
                SELECT time, author, 'comment', null, description,
                  0 AS permanent
                FROM attachment WHERE type='ticket' AND id=%s AND time=%s
                ORDER BY time,permanent,author
                 N/A args N/A N/A self id when_ts sid when_ts sid when_ts N/A N/A sql 
                SELECT time, author, field, oldvalue, newvalue, 1 AS permanent
                FROM ticket_change WHERE ticket=%s
                  UNION
                SELECT time, author, 'attachment', null, filename,
                  0 AS permanent
                FROM attachment WHERE type='ticket' AND id=%s
                  UNION
                SELECT time, author, 'comment', null, description,
                  0 AS permanent
                FROM attachment WHERE type='ticket' AND id=%s
                ORDER BY time,permanent,author
                 N/A args N/A N/A self id sid sid N/A log N/A N/A N/A t author field oldvalue newvalue permanent N/A N/A N/A self env db_query sql args N/A N/A N/A field N/A self time_fields N/A N/A oldvalue N/A _db_str_to_datetime oldvalue N/A newvalue N/A _db_str_to_datetime newvalue N/A N/A N/A log append N/A N/A from_utimestamp t author field N/A oldvalue N/A newvalue permanent N/A log N/A delete N/A N/A self N/A N/A N/A Delete the ticket.
         N/A N/A N/A self env db_transaction db N/A N/A N/A N/A Attachment delete_all N/A self env N/A self realm N/A self id N/A N/A db DELETE FROM ticket WHERE id=%s N/A N/A self id N/A N/A db DELETE FROM ticket_change WHERE ticket=%s N/A N/A self id N/A N/A db DELETE FROM ticket_custom WHERE ticket=%s N/A N/A self id N/A listener N/A N/A TicketSystem N/A self env change_listeners N/A N/A N/A N/A listener ticket_deleted self N/A get_change N/A N/A self cnum cdate N/A None None N/A N/A Return a ticket change by its number or date.
         N/A N/A cdate None N/A N/A row N/A N/A self _find_change cnum N/A N/A row N/A N/A N/A cdate N/A from_utimestamp N/A row N/A 0 N/A ts N/A to_utimestamp cdate N/A fields N/A N/A change N/A date fields cdate fields N/A N/A field author old new N/A N/A N/A self env db_query 
                SELECT field, author, oldvalue, newvalue
                FROM ticket_change WHERE ticket=%s AND time=%s
                 N/A N/A self id ts N/A N/A N/A fields N/A field N/A author old new author old new N/A N/A field comment N/A N/A N/A change N/A author author N/A N/A N/A N/A N/A field startswith _ N/A N/A N/A N/A change setdefault author author N/A fields N/A N/A change N/A delete_change N/A N/A self cnum cdate when N/A None None None N/A N/A Delete a ticket change identified by its number or date. N/A N/A cdate None N/A N/A row N/A N/A self _find_change cnum N/A N/A row N/A N/A N/A cdate N/A from_utimestamp N/A row N/A 0 N/A ts N/A to_utimestamp cdate N/A N/A when None N/A N/A when N/A datetime_now utc N/A when_ts N/A to_utimestamp when N/A N/A N/A self env db_transaction db N/A N/A fields N/A N/A field old new N/A N/A field old new N/A db 
                        SELECT field, oldvalue, newvalue FROM ticket_change
                        WHERE ticket=%s AND time=%s
                         N/A N/A self id ts N/A N/A field comment N/A N/A N/A field startswith _ N/A N/A field oldvalue newvalue fields N/A N/A N/A next_ts N/A db SELECT time FROM ticket_change
                                      WHERE ticket=%s AND time>%s AND field=%s
                                      LIMIT 1
                                       N/A N/A self id ts field N/A N/A N/A db UPDATE ticket_change SET oldvalue=%s
                          WHERE ticket=%s AND time=%s AND field=%s
                          AND oldvalue=%s
                           N/A oldvalue N/A self id next_ts field newvalue N/A N/A N/A N/A field N/A self std_fields N/A N/A N/A db N/A UPDATE ticket SET %s=%%s WHERE id=%%s field N/A oldvalue N/A self id N/A N/A N/A db UPDATE ticket_custom SET value=%s
                              WHERE ticket=%s AND name=%s
                               N/A oldvalue N/A self id field N/A N/A db DELETE FROM ticket_change WHERE ticket=%s AND time=%s N/A N/A self id ts N/A N/A db UPDATE ticket SET changetime=%s WHERE id=%s N/A when_ts N/A self id N/A N/A N/A self _fetch_ticket N/A self id N/A changes N/A dict N/A N/A field N/A oldvalue newvalue N/A N/A field oldvalue newvalue fields N/A listener N/A N/A TicketSystem N/A self env change_listeners N/A N/A N/A hasattr listener ticket_change_deleted N/A N/A N/A N/A listener ticket_change_deleted self cdate changes N/A modify_comment N/A N/A self cdate author comment when N/A None N/A N/A Modify a ticket comment specified by its date, while keeping a
        history of edits.
         N/A ts N/A to_utimestamp cdate N/A N/A when None N/A N/A when N/A datetime_now utc N/A when_ts N/A to_utimestamp when N/A N/A N/A self env db_transaction db N/A N/A old_comment False N/A N/A old_comment N/A db 
                    SELECT newvalue FROM ticket_change
                    WHERE ticket=%s AND time=%s AND field='comment'
                     N/A N/A self id ts N/A N/A N/A N/A comment N/A old_comment N/A N/A N/A fields N/A db N/A SELECT field FROM ticket_change
                           WHERE ticket=%%s AND time=%%s AND field %s
                            N/A N/A db prefix_match N/A N/A self id ts N/A N/A db prefix_match_value _comment N/A rev N/A fields N/A N/A max N/A N/A int N/A field N/A 8 N/A N/A field fields 1 0 N/A N/A db INSERT INTO ticket_change
                    (ticket,time,author,field,oldvalue,newvalue)
                  VALUES (%s,%s,%s,%s,%s,%s)
                   N/A N/A self id ts author N/A _comment%d rev N/A old_comment N/A str when_ts N/A N/A old_comment False N/A N/A N/A old_author N/A db N/A 
                        SELECT author FROM ticket_change
                        WHERE ticket=%%s AND time=%%s AND NOT field %s LIMIT 1
                         N/A N/A db prefix_match N/A N/A self id ts N/A N/A db prefix_match_value _ N/A N/A N/A db INSERT INTO ticket_change
                            (ticket,time,author,field,oldvalue,newvalue)
                          VALUES (%s,%s,%s,'comment','',%s)
                           N/A N/A self id ts old_author comment N/A N/A N/A db UPDATE ticket_change SET newvalue=%s
                      WHERE ticket=%s AND time=%s AND field='comment'
                       N/A comment N/A self id ts N/A N/A db UPDATE ticket SET changetime=%s WHERE id=%s N/A when_ts N/A self id N/A N/A N/A self values N/A changetime when N/A old_comment N/A old_comment N/A listener N/A N/A TicketSystem N/A self env change_listeners N/A N/A N/A hasattr listener ticket_comment_modified N/A N/A N/A N/A listener ticket_comment_modified self cdate author comment old_comment N/A get_comment_history N/A N/A self cnum cdate N/A None None N/A N/A Retrieve the edit history of a comment identified by its number or
        date.
         N/A N/A cdate None N/A N/A row N/A N/A self _find_change cnum N/A N/A row N/A N/A N/A N/A ts0 author0 last_comment row N/A N/A N/A ts0 author0 last_comment N/A N/A to_utimestamp cdate None None N/A N/A N/A self env db_query db N/A N/A N/A last_comment None N/A N/A last_comment N/A N/A author0 last_comment N/A db 
                        SELECT author, newvalue FROM ticket_change
                        WHERE ticket=%s AND time=%s AND field='comment'
                         N/A N/A self id ts0 N/A N/A N/A N/A author0 None N/A N/A N/A author0 last_comment N/A db N/A 
                        SELECT author, newvalue FROM ticket_change
                        WHERE ticket=%%s AND time=%%s AND NOT field %s LIMIT 1
                         N/A N/A db prefix_match N/A N/A self id ts0 N/A N/A db prefix_match_value _ N/A N/A N/A N/A N/A rows N/A db N/A SELECT field, author, oldvalue, newvalue
                         FROM ticket_change
                         WHERE ticket=%%s AND time=%%s AND field %s
                          N/A N/A db prefix_match N/A N/A self id ts0 N/A N/A db prefix_match_value _comment N/A rows N/A sorted N/A N/A N/A int N/A field N/A 8 author old new N/A N/A field author old new rows N/A history N/A N/A N/A rev author comment ts rows N/A N/A N/A N/A history append N/A rev N/A from_utimestamp N/A long ts0 author0 comment N/A N/A ts0 author0 N/A ts author N/A N/A N/A history sort N/A rev N/A history N/A N/A N/A history N/A -1 N/A 0 1 0 N/A N/A N/A history append N/A rev N/A from_utimestamp N/A long ts0 author0 last_comment N/A history N/A _find_change N/A N/A self cnum N/A N/A N/A Find a comment by its number. N/A scnum N/A str cnum N/A N/A N/A self env db_query db N/A N/A row N/A db N/A 
                    SELECT time, author, newvalue FROM ticket_change
                    WHERE ticket=%%s AND field='comment'
                    AND (oldvalue=%%s OR oldvalue %s)
                     N/A N/A db like N/A N/A self id scnum N/A % N/A N/A db like_escape N/A . scnum N/A N/A row N/A num 0 N/A N/A ts old author comment N/A db 
                    SELECT DISTINCT tc1.time, COALESCE(tc2.oldvalue,''),
                                    tc2.author, COALESCE(tc2.newvalue,'')
                    FROM ticket_change AS tc1
                    LEFT OUTER JOIN ticket_change AS tc2
                    ON tc2.ticket=%s AND tc2.time=tc1.time
                       AND tc2.field='comment'
                    WHERE tc1.ticket=%s ORDER BY tc1.time
                     N/A N/A self id N/A self id N/A N/A N/A N/A num N/A int N/A N/A N/A old rsplit . 1 N/A -1 N/A N/A N/A ValueError N/A N/A num 1 N/A N/A num cnum N/A N/A N/A N/A N/A N/A author None N/A N/A N/A author N/A db N/A 
                        SELECT author FROM ticket_change
                        WHERE ticket=%%s AND time=%%s AND NOT field %s LIMIT 1
                         N/A N/A db prefix_match N/A N/A self id ts N/A N/A db prefix_match_value _ N/A N/A N/A N/A ts author comment N/A N/A simplify_whitespace N/A N/A name N/A N/A N/A Strip spaces and remove duplicate spaces within names N/A name N/A N/A N/A N/A join N/A N/A name split N/A name N/A AbstractEnum N/A object N/A N/A type None N/A ticket_col None N/A exists N/A property N/A N/A N/A self N/A N/A N/A self _old_value None __init__ N/A N/A self env name N/A None N/A N/A N/A N/A self ticket_col N/A N/A N/A self ticket_col N/A self type N/A N/A self env env N/A name N/A N/A N/A value N/A N/A N/A self env db_query 
                    SELECT value FROM enum WHERE type=%s AND name=%s
                     N/A N/A self type name N/A N/A N/A self value N/A self _old_value value N/A N/A self name N/A self _old_name name N/A N/A N/A N/A ResourceNotFound N/A _ %(type)s %(name)s does not exist. type N/A self type name name N/A N/A N/A self value N/A self _old_value None N/A N/A self name N/A self _old_name None N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %r %r> N/A N/A N/A self __class__ __name__ N/A self name N/A self value N/A delete N/A N/A self N/A N/A N/A Delete the enum value.
         N/A N/A self exists N/A Cannot delete non-existent %s N/A self type N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Deleting %s %s N/A self type N/A self name N/A N/A db DELETE FROM enum WHERE type=%s AND value=%s N/A N/A self type N/A self _old_value N/A enum N/A N/A self select N/A self env N/A N/A N/A N/A N/A N/A int N/A enum value N/A int N/A self _old_value N/A N/A N/A enum value N/A unicode N/A N/A int N/A enum value 1 N/A N/A N/A enum update N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A N/A self value N/A self _old_value None N/A N/A self name N/A self _old_name None N/A insert N/A N/A self N/A N/A N/A Add a new enum value.
         N/A N/A N/A self exists N/A Cannot insert existing %s N/A self type N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid %(type)s name. type N/A self type N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log debug Creating new %s '%s' N/A self type N/A self name N/A N/A N/A self value N/A N/A row N/A db N/A SELECT COALESCE(MAX(%s), 0) FROM enum WHERE type=%%s N/A N/A db cast value int N/A N/A self type N/A N/A self value N/A row N/A N/A int N/A float N/A N/A row N/A 0 N/A 0 1 0 N/A N/A db INSERT INTO enum (type, name, value) VALUES (%s, %s, %s) N/A N/A self type N/A self name N/A self value N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A N/A self _old_name N/A self name N/A N/A self _old_value N/A self value N/A update N/A N/A self N/A N/A N/A Update the enum value.
         N/A N/A self exists N/A Cannot update non-existent %s N/A self type N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid %(type)s name. type N/A self type N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Updating %s '%s' N/A self type N/A self name N/A N/A db UPDATE enum SET name=%s,value=%s WHERE type=%s AND name=%s N/A N/A self name N/A self value N/A self type N/A self _old_name N/A N/A N/A self name N/A self _old_name N/A N/A N/A db N/A UPDATE ticket SET %s=%%s WHERE %s=%%s N/A N/A self ticket_col N/A self ticket_col N/A N/A self name N/A self _old_name N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A N/A self _old_name N/A self name N/A N/A self _old_value N/A self value N/A select N/A N/A cls env N/A N/A N/A N/A env db_query db N/A N/A N/A name value N/A db N/A 
                    SELECT name, value FROM enum WHERE type=%s ORDER BY
                     N/A N/A db cast value int N/A N/A cls type N/A N/A obj N/A cls env N/A N/A obj name N/A obj _old_name name N/A N/A obj value N/A obj _old_value value N/A N/A obj N/A classmethod N/A Type N/A AbstractEnum N/A N/A type ticket_type N/A ticket_col type N/A Status N/A object N/A __init__ N/A N/A self env N/A N/A N/A N/A self env env N/A select N/A N/A cls env N/A N/A N/A state N/A N/A N/A TicketSystem env get_all_status N/A N/A status N/A cls env N/A N/A status name state N/A N/A status N/A classmethod __repr__ N/A N/A self N/A N/A N/A N/A <%s %r> N/A N/A N/A self __class__ __name__ N/A self name N/A N/A Resolution N/A AbstractEnum N/A N/A type resolution N/A Priority N/A AbstractEnum N/A N/A type priority N/A Severity N/A AbstractEnum N/A N/A type severity N/A Component N/A object N/A N/A exists N/A property N/A N/A N/A self N/A N/A N/A self _old_name None __init__ N/A N/A self env name N/A None N/A N/A N/A self env env N/A N/A self name N/A self _old_name N/A self owner N/A self description None N/A name N/A N/A N/A owner description N/A N/A N/A self env db_query 
                    SELECT owner, description FROM component WHERE name=%s
                     N/A name N/A N/A N/A self name N/A self _old_name name N/A N/A self owner N/A owner None N/A N/A self description N/A description N/A N/A N/A N/A ResourceNotFound N/A _ Component %(name)s does not exist. name name N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %r> N/A N/A N/A self __class__ __name__ N/A self name N/A delete N/A N/A self N/A N/A N/A Delete the component.
         N/A N/A self exists Cannot delete non-existent component N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Deleting component %s N/A self name N/A N/A db DELETE FROM component WHERE name=%s N/A N/A self name N/A N/A self name N/A self _old_name None N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A insert N/A N/A self N/A N/A N/A Insert a new component.
         N/A N/A N/A self exists Cannot insert existing component N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid component name. N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log debug Creating new component '%s' N/A self name N/A N/A db INSERT INTO component (name,owner,description)
                  VALUES (%s,%s,%s)
                   N/A N/A self name N/A self owner N/A self description N/A N/A self _old_name N/A self name N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A update N/A N/A self N/A N/A N/A Update the component.
         N/A N/A self exists Cannot update non-existent component N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid component name. N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Updating component '%s' N/A self name N/A N/A db UPDATE component SET name=%s,owner=%s, description=%s
                  WHERE name=%s
                   N/A N/A self name N/A self owner N/A self description N/A self _old_name N/A N/A N/A self name N/A self _old_name N/A N/A N/A db UPDATE ticket SET component=%s WHERE component=%s N/A N/A self name N/A self _old_name N/A N/A self _old_name N/A self name N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A select N/A N/A cls env N/A N/A N/A N/A name owner description N/A N/A env db_query 
                SELECT name, owner, description FROM component ORDER BY name
                 N/A N/A component N/A cls env N/A N/A component name N/A component _old_name name N/A N/A component owner N/A owner None N/A N/A component description N/A description N/A N/A component N/A classmethod N/A MilestoneCache N/A N/A core Component N/A N/A Cache for milestone data and factory for 'milestone' resources. milestones N/A N/A self N/A N/A N/A Dictionary containing milestone data, indexed by name.

        Milestone data consist of a tuple containing the name, the
        datetime objects for due and completed dates and the
        description.
         N/A milestones N/A N/A N/A name due completed description N/A N/A N/A self env db_query 
                SELECT name, due, completed, description FROM milestone
                 N/A N/A N/A milestones N/A name N/A name N/A due N/A from_utimestamp due None N/A completed N/A from_utimestamp completed None N/A description N/A milestones N/A cached fetchone N/A N/A self name milestone N/A None N/A N/A Retrieve an existing milestone having the given `name`.

        If `milestone` is specified, fill that instance instead of creating
        a fresh one.

        :return: `None` if no such milestone exists
         N/A data N/A N/A N/A self milestones get name N/A data N/A N/A N/A N/A self factory data milestone N/A fetchall N/A N/A self N/A N/A N/A Iterator on all milestones. N/A data N/A N/A N/A self milestones itervalues N/A N/A N/A N/A N/A self factory data N/A factory N/A N/A self N/A name due completed description milestone N/A None N/A N/A Build a `Milestone` object from milestone data.

        That instance remains *private*, i.e. can't be retrieved by
        name by other processes or even by other threads in the same
        process, until its `~Milestone.insert` method gets called with
        success.
         N/A milestone N/A milestone N/A Milestone N/A self env N/A N/A milestone name name N/A N/A milestone due due N/A N/A milestone completed completed N/A N/A milestone description description N/A N/A N/A milestone checkin invalidate False N/A milestone N/A N/A Milestone N/A object N/A N/A realm milestone resource N/A N/A self N/A N/A N/A N/A Resource N/A self realm N/A self name N/A property __init__ N/A N/A self env name N/A None N/A N/A Create an undefined milestone or fetch one from the database,
        if `name` is given.

        In the latter case however, raise `~trac.resource.ResourceNotFound`
        if a milestone of that name doesn't exist yet.
         N/A N/A self env env N/A name N/A N/A N/A N/A N/A N/A self cache fetchone name self N/A N/A N/A ResourceNotFound N/A _ Milestone %(name)s does not exist. name name N/A _ Invalid milestone name. N/A N/A N/A N/A N/A self cache factory N/A None None None self N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %r> N/A N/A N/A self __class__ __name__ N/A self name N/A cache N/A N/A self N/A N/A N/A N/A MilestoneCache N/A self env N/A property N/A exists N/A property N/A N/A N/A self N/A N/A N/A N/A self _old N/A name None N/A is_completed N/A property N/A N/A N/A self N/A N/A N/A self completed None N/A is_late N/A property N/A N/A N/A self N/A N/A N/A self due N/A N/A self due N/A datetime_now utc checkin N/A N/A self invalidate N/A True N/A N/A N/A self _old N/A name due completed description N/A self name N/A self due N/A self completed N/A self description N/A invalidate N/A N/A N/A N/A self cache milestones N/A delete N/A N/A self retarget_to author N/A None None N/A N/A Delete the milestone.

        :since 1.0.2: the `retarget_to` and `author` parameters are
                      deprecated and will be removed in Trac 1.3.1. Tickets
                      should be moved to another milestone by calling
                      `move_tickets` before `delete`.
         N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Deleting milestone %s N/A self name N/A N/A db DELETE FROM milestone WHERE name=%s N/A N/A self name N/A N/A N/A Attachment delete_all N/A self env N/A self realm N/A self name N/A N/A N/A self move_tickets retarget_to author Milestone deleted N/A N/A N/A self _old N/A name None N/A N/A N/A self cache milestones N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A listener N/A N/A TicketSystem N/A self env milestone_change_listeners N/A N/A N/A N/A listener milestone_deleted self N/A insert N/A N/A self N/A N/A N/A Insert a new milestone.
         N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid milestone name. N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log debug Creating new milestone '%s' N/A self name N/A N/A db INSERT INTO milestone (name, due, completed, description)
                  VALUES (%s,%s,%s,%s)
                   N/A N/A self name N/A to_utimestamp N/A self due N/A to_utimestamp N/A self completed N/A self description N/A N/A N/A self checkin N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A listener N/A N/A TicketSystem N/A self env milestone_change_listeners N/A N/A N/A N/A listener milestone_created self N/A update N/A N/A self author N/A None N/A N/A Update the milestone.
         N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid milestone name. N/A old N/A N/A N/A self _old copy N/A N/A N/A self env db_transaction db N/A N/A N/A N/A self name N/A old N/A name N/A N/A N/A N/A self move_tickets N/A self name author Milestone renamed N/A N/A N/A Attachment reparent_all N/A self env N/A self realm N/A old N/A name N/A self realm N/A self name N/A N/A N/A N/A N/A self env log info Updating milestone '%s' N/A old N/A name N/A N/A db UPDATE milestone
                  SET name=%s, due=%s, completed=%s, description=%s
                  WHERE name=%s
                   N/A N/A self name N/A to_utimestamp N/A self due N/A to_utimestamp N/A self completed N/A self description N/A old N/A name N/A N/A N/A self checkin N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A old_values N/A dict N/A N/A k v N/A N/A k v N/A N/A old iteritems N/A N/A getattr self k v N/A listener N/A N/A TicketSystem N/A self env milestone_change_listeners N/A N/A N/A N/A listener milestone_changed self old_values N/A move_tickets N/A N/A self new_milestone author comment exclude_closed N/A None False N/A N/A Move tickets associated with this milestone to another
        milestone.

        :param new_milestone: milestone to which the tickets are moved
        :param author: author of the change
        :param comment: comment that is inserted into moved tickets. The
                        string should not be translated.
        :param exclude_closed: whether tickets with status closed should be
                               excluded

        :return: a list of ids of tickets that were moved
         N/A N/A new_milestone N/A new_milestone N/A self name N/A N/A N/A N/A N/A N/A self cache fetchone new_milestone N/A N/A N/A ResourceNotFound N/A _ Milestone %(name)s does not exist. name new_milestone N/A _ Invalid milestone name. N/A now N/A datetime_now utc N/A N/A N/A self env db_transaction db N/A N/A sql SELECT id FROM ticket WHERE milestone=%s N/A exclude_closed N/A N/A sql  AND status != 'closed' N/A tkt_ids N/A N/A int N/A row N/A 0 N/A row N/A db sql N/A N/A N/A self _old N/A name N/A tkt_ids N/A N/A N/A N/A N/A N/A self env log info Moving tickets associated with milestone '%s' to milestone '%s' N/A N/A self _old N/A name new_milestone N/A tkt_id tkt_ids N/A N/A ticket N/A Ticket N/A self env tkt_id N/A N/A ticket N/A milestone new_milestone N/A N/A N/A ticket save_changes author comment now N/A tkt_ids N/A get_num_tickets N/A N/A self exclude_closed N/A False N/A N/A Returns the number of tickets associated with the milestone.

        :param exclude_closed: whether tickets with status 'closed' should
                               be excluded from the count. Defaults to False.
         N/A sql SELECT COUNT(*) FROM ticket WHERE milestone=%s N/A exclude_closed N/A N/A sql  AND status != 'closed' N/A N/A N/A N/A N/A N/A self env db_query sql N/A N/A self name N/A 0 N/A 0 N/A select N/A N/A cls env include_completed N/A True N/A N/A milestones N/A N/A N/A MilestoneCache env fetchall N/A N/A include_completed N/A N/A milestones N/A m N/A m milestones N/A N/A m completed None milestone_order N/A N/A m N/A N/A N/A N/A N/A N/A m completed utcmax N/A N/A m due utcmax N/A embedded_numbers N/A m name N/A N/A N/A sorted milestones key milestone_order N/A classmethod N/A Report N/A object N/A N/A realm report exists N/A N/A self N/A N/A N/A N/A N/A self id None N/A property __init__ N/A N/A self env id N/A None N/A N/A N/A self env env N/A N/A self id N/A self title N/A self query N/A self description None N/A N/A id None N/A N/A id_as_int N/A as_int id None N/A N/A id_as_int None N/A N/A N/A title description query N/A N/A N/A self env db_query 
                        SELECT title, description, query FROM report
                        WHERE id=%s
                         N/A id_as_int N/A N/A N/A self id id_as_int N/A N/A self title N/A title N/A N/A self description N/A description N/A N/A self query N/A query N/A N/A N/A ResourceNotFound N/A _ Report {%(num)s} does not exist. num id N/A _ Invalid Report Number N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %r> N/A N/A N/A self __class__ __name__ N/A self id N/A delete N/A N/A self N/A N/A N/A Delete the report. N/A N/A self exists Cannot delete non-existent report N/A N/A N/A N/A self env db_transaction DELETE FROM report WHERE id=%s N/A N/A self id N/A N/A self id None N/A insert N/A N/A self N/A N/A N/A Insert a new report. N/A N/A N/A self exists Cannot insert existing report N/A N/A N/A N/A N/A self env log debug Creating new report '%s' N/A self id N/A N/A N/A self env db_transaction db N/A N/A cursor N/A N/A db cursor N/A N/A N/A cursor execute 
                INSERT INTO report (title,query,description) VALUES (%s,%s,%s)
                 N/A N/A self title N/A self query N/A self description N/A N/A self id N/A N/A db get_last_id cursor report N/A update N/A N/A self N/A N/A N/A N/A N/A N/A self env db_transaction 
            UPDATE report SET title=%s, query=%s, description=%s
            WHERE id=%s
             N/A N/A self title N/A self query N/A self description N/A self id N/A select N/A N/A cls env sort asc N/A id True N/A N/A N/A id title description query N/A N/A env db_query N/A 
                SELECT id, title, description, query
                FROM report ORDER BY %s %s
                 N/A N/A N/A sort title title id N/A asc DESC N/A N/A report N/A cls env N/A N/A report id id N/A N/A report title title N/A N/A report description description N/A N/A report query query N/A N/A report N/A classmethod N/A group_milestones N/A N/A milestones include_completed N/A N/A N/A Group milestones into "open with due date", "open with no due date",
    and possibly "completed". Return a list of (label, milestones) tuples.

    :since 1.1.3: the function has been moved to `trac.ticket.roadmap`. It
                  will be removed from `trac.ticket.model` in 1.3.1.
     trac.ticket.roadmap group_milestones N/A N/A group_milestones milestones include_completed N/A Version N/A object N/A N/A exists N/A property N/A N/A N/A self N/A N/A N/A self _old_name None __init__ N/A N/A self env name N/A None N/A N/A N/A self env env N/A N/A self name N/A self _old_name N/A self time N/A self description None N/A name N/A N/A N/A time description N/A N/A N/A self env db_query 
                    SELECT time, description FROM version WHERE name=%s
                     N/A name N/A N/A N/A self name N/A self _old_name name N/A N/A self time N/A time N/A from_utimestamp time None N/A N/A self description N/A description N/A N/A N/A N/A ResourceNotFound N/A _ Version %(name)s does not exist. name name N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %r> N/A N/A N/A self __class__ __name__ N/A self name N/A delete N/A N/A self N/A N/A N/A Delete the version.
         N/A N/A self exists Cannot delete non-existent version N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Deleting version %s N/A self name N/A N/A db DELETE FROM version WHERE name=%s N/A N/A self name N/A N/A self name N/A self _old_name None N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A insert N/A N/A self N/A N/A N/A Insert a new version.
         N/A N/A N/A self exists Cannot insert existing version N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid version name. N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log debug Creating new version '%s' N/A self name N/A N/A db INSERT INTO version (name,time,description) VALUES (%s,%s,%s) N/A N/A self name N/A to_utimestamp N/A self time N/A self description N/A N/A self _old_name N/A self name N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A update N/A N/A self N/A N/A N/A Update the version.
         N/A N/A self exists Cannot update non-existent version N/A N/A self name N/A simplify_whitespace N/A self name N/A N/A N/A self name N/A N/A N/A TracError N/A _ Invalid version name. N/A N/A N/A self env db_transaction db N/A N/A N/A N/A N/A N/A self env log info Updating version '%s' N/A self name N/A N/A db UPDATE version
                  SET name=%s, time=%s, description=%s WHERE name=%s
                   N/A N/A self name N/A to_utimestamp N/A self time N/A self description N/A self _old_name N/A N/A N/A self name N/A self _old_name N/A N/A N/A db UPDATE ticket SET version=%s WHERE version=%s N/A N/A self name N/A self _old_name N/A N/A self _old_name N/A self name N/A N/A N/A N/A TicketSystem N/A self env reset_ticket_fields N/A select N/A N/A cls env N/A N/A N/A versions N/A N/A N/A name time description N/A N/A env db_query 
                SELECT name, time, description FROM version N/A N/A version N/A cls env N/A N/A version name N/A version _old_name name N/A N/A version time N/A time N/A from_utimestamp time None N/A N/A version description N/A description N/A N/A N/A versions append version version_order N/A N/A v N/A N/A N/A N/A N/A N/A v time utcmax N/A embedded_numbers N/A v name N/A N/A N/A sorted versions key version_order reverse True N/A classmethod N/A