Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ImportFrom alias alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str orelse Assign NameStore Str TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Num If NameLoad body If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Str If CompareIs NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Slice Num AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Str orelse If CompareEq SubscriptLoad NameLoad Slice Num AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Str orelse If CompareEq SubscriptLoad NameLoad Slice Num AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Str orelse Assign NameStore Num If CompareGtE NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareEq NameLoad Num CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Str While CompareGt NameLoad Num body AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AugAssignSub NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str orelse Assign NameStore Str While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If NameLoad body AugAssignAdd NameStore NameLoad If CompareEq NameLoad Str body Break Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad Str decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad NameLoad Call NameLoad Str body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Assign NameStore NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd NameLoad NameLoad orelse Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore BinOpMult NameLoad Str If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Dict Expr Call AttributeLoad NameLoad attr NameLoad Str ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareNotIn NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareNotIn NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Dict If CompareIn NameLoad ListLoad Str Str body Return ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Expr Yield TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMult NameLoad Str If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore BinOpMult NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Num For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad If CompareIsNot NameLoad NameLoad body If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Global identifier If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd Str NameLoad TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Str ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad SubscriptLoad NameLoad Slice decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMult NameLoad Str If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore BinOpMult NameLoad Str For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str While BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad While CompareIsNot NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad Slice Num Num For NameStore NameLoad body TryExcept body TryExcept body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad Dict Call NameLoad NameLoad Assign NameStore NameLoad Break handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Pass If NameLoad body Break orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Break handlers ExceptHandler type NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore NameLoad Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body If CompareEq NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad orelse AugAssignAdd NameStore BinOpMod Str NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Return BinOpAdd BinOpAdd NameLoad NameLoad NameLoad orelse Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore BinOpSub NameLoad NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore BinOpMult NameLoad NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore BinOpDiv NameLoad NameLoad orelse Assign NameStore BinOpMod NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AugAssignAdd AttributeStore NameLoad attr Num If CompareEq NameLoad Str body AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Continue If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break AugAssignAdd NameStore NameLoad If BoolOpAnd CompareEq NameLoad NameLoad UnaryOpNot NameLoad body If BoolOpOr UnaryOpNot NameLoad BoolOpAnd CompareGtE Call NameLoad NameLoad Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num CompareNotEq SubscriptLoad NameLoad Index Num Str body Break If CompareEq NameLoad Str body Assign NameStore UnaryOpNot NameLoad orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Break If CompareIn NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Continue orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Break orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break If CompareIn NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore NameLoad orelse If BoolOpAnd CompareEq NameLoad Str CompareLt Call AttributeLoad NameLoad attr Str Num UnaryOpNot NameLoad body AugAssignAdd NameStore NameLoad orelse If BoolOpAnd CompareEq NameLoad Str CompareLt Call AttributeLoad NameLoad attr Str Num NameLoad body AugAssignAdd NameStore NameLoad orelse If BoolOpAnd CompareIn NameLoad Str CompareLt Call AttributeLoad NameLoad attr Str Num CompareLt Call AttributeLoad NameLoad attr Str Num body AugAssignAdd NameStore NameLoad Assign NameStore NameLoad orelse If BoolOpAnd NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Break Break orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr While BoolOpAnd NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Break orelse Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str While CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareNotIn NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIn NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad ListLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num While CompareIn NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Continue Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num While CompareIn NameLoad ListLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num While CompareIn NameLoad ListLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIn NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore UnaryOpUSub Call AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num While CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If CompareNotIn NameLoad ListLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Str orelse If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Str Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Break handlers ExceptHandler type NameLoad body Pass If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
This is a configuration module for Python.

This module should work under Python versions >= 2.2, and cannot be used with
earlier versions since it uses new-style classes.

Development and testing has only been carried out (so far) on Python 2.3.4 and
Python 2.4.2. See the test module (test_config.py) included in the
U{distribution<http://www.red-dove.com/python_config.html|_blank>} (follow the
download link).

A simple example - with the example configuration file::

    messages:
    [
      {
        stream : `sys.stderr`
        message: 'Welcome'
        name: 'Harry'
      }
      {
        stream : `sys.stdout`
        message: 'Welkom'
        name: 'Ruud'
      }
      {
        stream : $messages[0].stream
        message: 'Bienvenue'
        name: Yves
      }
    ]

a program to read the configuration would be::

    from config import Config

    f = file('simple.cfg')
    cfg = Config(f)
    for m in cfg.messages:
        s = '%s, %s' % (m.message, m.name)
        try:
            print >> m.stream, s
        except IOError, e:
            print e

which, when run, would yield the console output::

    Welcome, Harry
    Welkom, Ruud
    Bienvenue, Yves

See U{this tutorial<http://www.red-dove.com/python_config.html|_blank>} for more
information.

@version: 0.3.9

@author: Vinay Sajip

@copyright: Copyright (C) 2004-2010 Vinay Sajip. All Rights Reserved.


@var streamOpener: The default stream opener. This is a factory function which
takes a string (e.g. filename) and returns a stream suitable for reading. If
unable to open the stream, an IOError exception should be thrown.

The default value of this variable is L{defaultStreamOpener}. For an example
of how it's used, see test_config.py (search for streamOpener).
 N/A __author__ Vinay Sajip <vinay_sajip@red-dove.com> N/A __status__ alpha N/A __version__ 0.3.9 N/A __date__ 11 May 2010 types StringType UnicodeType N/A codecs N/A logging N/A os N/A sys N/A WORD a N/A NUMBER 9 N/A STRING " N/A EOF N/A LCURLY { N/A RCURLY } N/A LBRACK [ N/A LBRACK2 a[ N/A RBRACK ] N/A LPAREN ( N/A LPAREN2 (( N/A RPAREN ) N/A DOT . N/A COMMA , N/A COLON : N/A AT @ N/A PLUS + N/A MINUS - N/A STAR * N/A SLASH / N/A MOD % N/A BACKTICK ` N/A DOLLAR $ N/A TRUE True N/A FALSE False N/A NONE None N/A WORDCHARS ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_ N/A N/A N/A sys platform win32 N/A N/A NEWLINE N/A N/A N/A N/A os name mac N/A N/A NEWLINE N/A N/A NEWLINE N/A N/A N/A encodings.utf_32 N/A has_utf32 True N/A N/A N/A N/A has_utf32 False N/A N/A logging.handlers NullHandler N/A N/A N/A ImportError N/A NullHandler N/A N/A logging Handler N/A emit N/A N/A self record N/A N/A N/A N/A N/A N/A logger N/A N/A logging getLogger __name__ N/A N/A N/A logger handlers N/A N/A N/A N/A logger addHandler N/A NullHandler ConfigInputStream N/A object N/A N/A 
    An input stream which can read either ANSI files with default encoding
    or Unicode files with BOMs.

    Handles UTF-8, UTF-16LE, UTF-16BE. Could handle UTF-32 if Python had
    built-in support.
     __init__ N/A N/A self stream N/A N/A N/A 
        Initialize an instance.

        @param stream: The underlying stream to be read. Should be seekable.
        @type stream: A stream (file-like object).
         N/A encoding None N/A signature N/A N/A stream read 4 N/A used -1 N/A has_utf32 N/A N/A N/A signature N/A codecs BOM_UTF32_LE N/A N/A encoding utf-32le N/A N/A N/A signature N/A codecs BOM_UTF32_BE N/A N/A encoding utf-32be N/A N/A encoding None N/A N/A N/A N/A signature N/A 3 N/A codecs BOM_UTF8 N/A N/A used 3 N/A encoding utf-8 N/A N/A N/A N/A signature N/A 2 N/A codecs BOM_UTF16_LE N/A N/A used 2 N/A encoding utf-16le N/A N/A N/A N/A signature N/A 2 N/A codecs BOM_UTF16_BE N/A N/A used 2 N/A encoding utf-16be N/A N/A used 0 N/A N/A used 0 N/A N/A N/A N/A stream seek used N/A encoding N/A N/A reader N/A N/A codecs getreader encoding N/A stream N/A reader stream N/A N/A self stream stream N/A N/A self encoding encoding N/A read N/A N/A self size N/A N/A N/A N/A N/A size 0 N/A N/A self encoding None N/A N/A rv N/A N/A N/A self stream read size N/A N/A rv N/A N/A size 0 N/A N/A rv N/A N/A N/A self stream read 1 N/A size 1 N/A rv N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self stream close N/A readline N/A N/A self N/A N/A N/A N/A N/A self encoding None N/A N/A line N/A N/A line N/A True N/A N/A c N/A N/A N/A self stream read 1 N/A c N/A N/A line c N/A N/A c N/A N/A N/A line N/A N/A ConfigOutputStream N/A object N/A N/A 
    An output stream which can write either ANSI files with default encoding
    or Unicode files with BOMs.

    Handles UTF-8, UTF-16LE, UTF-16BE. Could handle UTF-32 if Python had
    built-in support.
     __init__ N/A N/A self stream encoding N/A None N/A N/A 
        Initialize an instance.

        @param stream: The underlying stream to be written.
        @type stream: A stream (file-like object).
        @param encoding: The desired encoding.
        @type encoding: str
         N/A N/A encoding None N/A N/A encoding N/A N/A N/A str encoding lower N/A N/A self encoding encoding N/A N/A encoding utf-8 N/A N/A N/A N/A stream write N/A codecs BOM_UTF8 N/A N/A N/A encoding utf-16be N/A N/A N/A N/A stream write N/A codecs BOM_UTF16_BE N/A N/A N/A encoding utf-16le N/A N/A N/A N/A stream write N/A codecs BOM_UTF16_LE N/A N/A N/A encoding utf-32be N/A N/A N/A N/A stream write N/A codecs BOM_UTF32_BE N/A N/A N/A encoding utf-32le N/A N/A N/A N/A stream write N/A codecs BOM_UTF32_LE N/A N/A encoding None N/A N/A writer N/A N/A codecs getwriter encoding N/A stream N/A writer stream N/A N/A self stream stream N/A write N/A N/A self data N/A N/A N/A N/A N/A N/A self stream write data N/A flush N/A N/A self N/A N/A N/A N/A N/A N/A self stream flush N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self stream close N/A N/A defaultStreamOpener N/A N/A name N/A N/A N/A 
    This function returns a read-only stream, given its name. The name passed
    in should correspond to an existing stream, otherwise an exception will be
    raised.

    This is the default value of L{streamOpener}; assign your own callable to
    streamOpener to return streams based on names. For example, you could use
    urllib2.urlopen().

    @param name: The name of a stream, most commonly a file name.
    @type name: str
    @return: A stream with the specified name.
    @rtype: A read-only stream (file-like object)
     N/A N/A ConfigInputStream N/A file name rb N/A N/A streamOpener None ConfigError N/A Exception N/A N/A 
    This is the base class of exceptions raised by this module.
     N/A N/A ConfigFormatError N/A ConfigError N/A N/A 
    This is the base class of exceptions raised due to syntax errors in
    configurations.
     N/A N/A ConfigResolutionError N/A ConfigError N/A N/A 
    This is the base class of exceptions raised due to semantic errors in
    configurations.
     N/A N/A isWord N/A N/A s N/A N/A N/A 
    See if a passed-in value is an identifier. If the value passed in is not a
    string, False is returned. An identifier consists of alphanumerics or
    underscore characters.

    Examples::

        isWord('a word') ->False
        isWord('award') -> True
        isWord(9) -> False
        isWord('a_b_c_') ->True

    @note: isWord('9abc') will return True - not exactly correct, but adequate
    for the way it's used here.

    @param s: The name to be tested
    @type s: any
    @return: True if a word, else False
    @rtype: bool
     N/A N/A N/A type s N/A type N/A N/A False N/A s N/A N/A s replace _ N/A N/A N/A s isalnum N/A makePath N/A N/A prefix suffix N/A N/A N/A 
    Make a path from a prefix and suffix.

    Examples::

        makePath('', 'suffix') -> 'suffix'
        makePath('prefix', 'suffix') -> 'prefix.suffix'
        makePath('prefix', '[1]') -> 'prefix[1]'

    @param prefix:  The prefix to use. If it evaluates as false, the suffix
                    is returned.
    @type prefix:   str
    @param suffix:  The suffix to use. It is either an identifier or an
                    index in brackets.
    @type suffix:   str
    @return:        The path concatenation of prefix and suffix, with a
                    dot if the suffix is not a bracketed index.
    @rtype:         str

     N/A N/A prefix N/A N/A rv suffix N/A N/A N/A N/A suffix N/A 0 [ N/A N/A rv N/A prefix suffix N/A N/A rv N/A N/A prefix . suffix N/A rv N/A Container N/A object N/A N/A 
    This internal class is the base class for mappings and sequences.

    @ivar path: A string which describes how to get
    to this instance from the root of the hierarchy.

    Example::

        a.list.of[1].or['more'].elements
     __init__ N/A N/A self parent N/A N/A N/A 
        Initialize an instance.

        @param parent: The parent of this instance in the hierarchy.
        @type parent: A L{Container} instance.
         N/A N/A N/A object __setattr__ self parent parent N/A setPath N/A N/A self path N/A N/A N/A 
        Set the path for this instance.
        @param path: The path - a string which describes how to get
        to this instance from the root of the hierarchy.
        @type path: str
         N/A N/A N/A object __setattr__ self path path N/A evaluate N/A N/A self item N/A N/A N/A 
        Evaluate items which are instances of L{Reference} or L{Expression}.

        L{Reference} instances are evaluated using L{Reference.resolve},
        and L{Expression} instances are evaluated using
        L{Expression.evaluate}.

        @param item: The item to be evaluated.
        @type item: any
        @return: If the item is an instance of L{Reference} or L{Expression},
        the evaluated value is returned, otherwise the item is returned
        unchanged.
         N/A N/A isinstance item Reference N/A N/A item N/A N/A item resolve self N/A N/A N/A isinstance item Expression N/A N/A item N/A N/A item evaluate self N/A item N/A writeToStream N/A N/A self stream indent container N/A N/A N/A 
        Write this instance to a stream at the specified indentation level.

        Should be redefined in subclasses.

        @param stream: The stream to write to
        @type stream: A writable stream (file-like object)
        @param indent: The indentation level
        @type indent: int
        @param container: The container of this instance
        @type container: L{Container}
        @raise NotImplementedError: If a subclass does not override this
         N/A NotImplementedError N/A writeValue N/A N/A self value stream indent N/A N/A N/A N/A isinstance self Mapping N/A N/A indstr N/A N/A indstr N/A indent N/A N/A N/A isinstance value Reference N/A isinstance value Expression N/A N/A N/A N/A stream write N/A %s%r%s N/A indstr value NEWLINE N/A N/A N/A N/A type value StringType N/A N/A value N/A repr value N/A N/A N/A stream write N/A %s%s%s N/A indstr value NEWLINE N/A N/A Mapping N/A Container N/A N/A 
    This internal class implements key-value mappings in configurations.
     __init__ N/A N/A self parent N/A None N/A N/A 
        Initialize an instance.

        @param parent: The parent of this instance in the hierarchy.
        @type parent: A L{Container} instance.
         N/A N/A N/A Container __init__ self parent N/A N/A N/A object __setattr__ self path N/A N/A N/A object __setattr__ self data N/A N/A N/A N/A object __setattr__ self order N/A N/A N/A N/A object __setattr__ self comments N/A N/A __delitem__ N/A N/A self key N/A N/A N/A 
        Remove an item
         N/A data N/A N/A object __getattribute__ self data N/A N/A key data N/A N/A N/A AttributeError key N/A order N/A N/A object __getattribute__ self order N/A comments N/A N/A object __getattribute__ self comments N/A N/A data N/A key N/A N/A N/A order remove key N/A N/A comments N/A key N/A __getitem__ N/A N/A self key N/A N/A N/A data N/A N/A object __getattribute__ self data N/A N/A key data N/A N/A N/A AttributeError key N/A rv N/A data N/A key N/A N/A N/A self evaluate rv N/A N/A __getattr__ __getitem__ __getattribute__ N/A N/A self name N/A N/A N/A N/A name __dict__ N/A N/A N/A N/A N/A name N/A __methods__ __members__ N/A N/A N/A N/A data N/A N/A object __getattribute__ self data N/A useData N/A N/A data has_key name N/A useData N/A N/A rv N/A getattr data name N/A N/A rv N/A N/A object __getattribute__ self name N/A N/A rv None N/A N/A N/A AttributeError name N/A rv N/A iteritems N/A N/A self N/A N/A N/A key N/A N/A self keys N/A N/A N/A N/A key N/A self N/A key N/A StopIteration N/A __contains__ N/A N/A self item N/A N/A N/A order N/A N/A object __getattribute__ self order N/A N/A item order N/A addMapping N/A N/A self key value comment setting N/A False N/A N/A 
        Add a key-value mapping with a comment.

        @param key: The key for the mapping.
        @type key: str
        @param value: The value for the mapping.
        @type value: any
        @param comment: The comment for the key (can be None).
        @type comment: str
        @param setting: If True, ignore clashes. This is set
        to true when called from L{__setattr__}.
        @raise ConfigFormatError: If an existing key is seen
        again and setting is False.
         N/A data N/A N/A object __getattribute__ self data N/A order N/A N/A object __getattribute__ self order N/A comments N/A N/A object __getattribute__ self comments N/A N/A data N/A key value N/A N/A key order N/A N/A N/A N/A order append key N/A N/A N/A setting N/A N/A N/A ConfigFormatError N/A repeated key: %s key N/A N/A comments N/A key comment N/A __setattr__ N/A N/A self name value N/A N/A N/A N/A N/A self addMapping name value None True N/A N/A __setitem__ __setattr__ keys N/A N/A self N/A N/A N/A 
        Return the keys in a similar way to a dictionary.
         N/A N/A N/A object __getattribute__ self order N/A get N/A N/A self key default N/A None N/A N/A 
        Allows a dictionary-style get operation.
         N/A N/A key self N/A N/A N/A self N/A key N/A default N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A N/A object __getattribute__ self data N/A __repr__ N/A N/A self N/A N/A N/A N/A repr N/A N/A object __getattribute__ self data N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A N/A object __getattribute__ self order N/A __iter__ N/A N/A self N/A N/A N/A N/A N/A self iterkeys N/A iterkeys N/A N/A self N/A N/A N/A order N/A N/A object __getattribute__ self order N/A N/A N/A order __iter__ N/A writeToStream N/A N/A self stream indent container N/A N/A N/A 
        Write this instance to a stream at the specified indentation level.

        Should be redefined in subclasses.

        @param stream: The stream to write to
        @type stream: A writable stream (file-like object)
        @param indent: The indentation level
        @type indent: int
        @param container: The container of this instance
        @type container: L{Container}
         N/A indstr N/A indent N/A N/A N/A len self 0 N/A N/A N/A N/A stream write N/A  { }%s NEWLINE N/A N/A N/A isinstance container Mapping N/A N/A N/A N/A stream write NEWLINE N/A N/A N/A stream write N/A %s{%s N/A indstr NEWLINE N/A N/A N/A self save stream N/A indent 1 N/A N/A N/A stream write N/A %s}%s N/A indstr NEWLINE N/A save N/A N/A self stream indent N/A 0 N/A N/A 
        Save this configuration to the specified stream.
        @param stream: A stream to which the configuration is written.
        @type stream: A write-only stream (file-like object).
        @param indent: The indentation level for the output.
        @type indent: int
         N/A indstr N/A indent N/A order N/A N/A object __getattribute__ self order N/A data N/A N/A object __getattribute__ self data N/A maxlen 0 N/A key order N/A N/A comment N/A N/A self comments N/A key N/A N/A isWord key N/A N/A skey key N/A N/A skey N/A repr key N/A comment N/A N/A N/A N/A stream write N/A %s#%s N/A indstr comment N/A N/A N/A stream write N/A %s%-*s : N/A indstr maxlen skey N/A value N/A data N/A key N/A N/A isinstance value Container N/A N/A N/A N/A value writeToStream stream indent self N/A N/A N/A N/A self writeValue value stream indent N/A N/A Config N/A Mapping N/A N/A 
    This class represents a configuration, and is the only one which clients
    need to interface to, under normal circumstances.
     Namespace N/A object N/A N/A 
        This internal class is used for implementing default namespaces.

        An instance acts as a namespace.
         __init__ N/A N/A self N/A N/A N/A N/A self sys sys N/A N/A self os os N/A __repr__ N/A N/A self N/A N/A N/A N/A <Namespace('%s')> N/A N/A , join N/A N/A N/A self __dict__ keys N/A N/A __init__ N/A N/A self streamOrFile parent N/A None None N/A N/A 
        Initializes an instance.

        @param streamOrFile: If specified, causes this instance to be loaded
        from the stream (by calling L{load}). If a string is provided, it is
        passed to L{streamOpener} to open a stream. Otherwise, the passed
        value is assumed to be a stream and used as is.
        @type streamOrFile: A readable stream (file-like object) or a name.
        @param parent: If specified, this becomes the parent of this instance
        in the configuration hierarchy.
        @type parent: a L{Container} instance.
         N/A N/A N/A Mapping __init__ self parent N/A N/A N/A object __setattr__ self reader N/A ConfigReader self N/A N/A N/A object __setattr__ self namespaces N/A N/A N/A Config Namespace N/A N/A N/A object __setattr__ self resolving N/A set N/A N/A streamOrFile None N/A N/A N/A N/A isinstance streamOrFile StringType N/A isinstance streamOrFile UnicodeType N/A N/A streamOpener N/A N/A streamOpener None N/A N/A streamOpener defaultStreamOpener N/A streamOrFile N/A streamOpener streamOrFile N/A load N/A N/A object __getattribute__ self load N/A N/A load streamOrFile N/A load N/A N/A self stream N/A N/A N/A 
        Load the configuration from the specified stream. Multiple streams can
        be used to populate the same instance, as long as there are no
        clashing keys. The stream is closed.
        @param stream: A stream from which the configuration is read.
        @type stream: A read-only stream (file-like object).
        @raise ConfigError: if keys in the loaded configuration clash with
        existing keys.
        @raise ConfigFormatError: if there is a syntax error in the stream.
         N/A reader N/A N/A object __getattribute__ self reader N/A N/A N/A reader load stream N/A N/A N/A stream close N/A addNamespace N/A N/A self ns name N/A None N/A N/A 
        Add a namespace to this configuration which can be used to evaluate
        (resolve) dotted-identifier expressions.
        @param ns: The namespace to be added.
        @type ns: A module or other namespace suitable for passing as an
        argument to vars().
        @param name: A name for the namespace, which, if specified, provides
        an additional level of indirection.
        @type name: str
         N/A namespaces N/A N/A object __getattribute__ self namespaces N/A N/A name None N/A N/A N/A N/A namespaces append ns N/A N/A N/A setattr N/A namespaces N/A 0 name ns N/A removeNamespace N/A N/A self ns name N/A None N/A N/A 
        Remove a namespace added with L{addNamespace}.
        @param ns: The namespace to be removed.
        @param name: The name which was specified when L{addNamespace} was
        called.
        @type name: str
         N/A namespaces N/A N/A object __getattribute__ self namespaces N/A N/A name None N/A N/A N/A N/A namespaces remove ns N/A N/A N/A delattr N/A namespaces N/A 0 name N/A save N/A N/A self stream indent N/A 0 N/A N/A 
        Save this configuration to the specified stream. The stream is
        closed if this is the top-level configuration in the hierarchy.
        L{Mapping.save} is called to do all the work.
        @param stream: A stream to which the configuration is written.
        @type stream: A write-only stream (file-like object).
        @param indent: The indentation level for the output.
        @type indent: int
         N/A N/A N/A Mapping save self stream indent N/A N/A indent 0 N/A N/A N/A N/A stream close N/A getByPath N/A N/A self path N/A N/A N/A 
        Obtain a value in the configuration via its path.
        @param path: The path of the required value
        @type path: str
        @return the value at the specified path.
        @rtype: any
        @raise ConfigError: If the path is invalid
         N/A s N/A self. path N/A N/A N/A N/A eval s N/A N/A N/A Exception N/A e N/A N/A N/A ConfigError N/A str e N/A N/A Sequence N/A Container N/A N/A 
    This internal class implements a value which is a sequence of other values.
     SeqIter N/A object N/A N/A 
        This internal class implements an iterator for a L{Sequence} instance.
         __init__ N/A N/A self seq N/A N/A N/A N/A self seq seq N/A N/A self limit N/A len N/A N/A object __getattribute__ seq data N/A N/A self index 0 N/A __iter__ N/A N/A self N/A N/A N/A self N/A next N/A N/A self N/A N/A N/A N/A N/A self index N/A self limit N/A N/A StopIteration N/A rv N/A N/A self seq N/A N/A self index N/A N/A self index 1 N/A rv N/A N/A __init__ N/A N/A self parent N/A None N/A N/A 
        Initialize an instance.

        @param parent: The parent of this instance in the hierarchy.
        @type parent: A L{Container} instance.
         N/A N/A N/A Container __init__ self parent N/A N/A N/A object __setattr__ self data N/A N/A N/A N/A object __setattr__ self comments N/A N/A append N/A N/A self item comment N/A N/A N/A 
        Add an item to the sequence.

        @param item: The item to add.
        @type item: any
        @param comment: A comment for the item.
        @type comment: str
         N/A data N/A N/A object __getattribute__ self data N/A comments N/A N/A object __getattribute__ self comments N/A N/A N/A data append item N/A N/A N/A comments append comment N/A __getitem__ N/A N/A self index N/A N/A N/A data N/A N/A object __getattribute__ self data N/A N/A N/A rv N/A data N/A index N/A N/A N/A N/A IndexError KeyError TypeError N/A N/A N/A ConfigResolutionError N/A %r is not a valid index for %r N/A index N/A N/A object __getattribute__ self path N/A N/A N/A isinstance rv list N/A N/A rv N/A N/A self evaluate rv N/A N/A result N/A N/A a rv N/A N/A N/A N/A result append N/A N/A self evaluate a N/A rv result N/A rv N/A __iter__ N/A N/A self N/A N/A N/A N/A N/A Sequence SeqIter self N/A __repr__ N/A N/A self N/A N/A N/A N/A repr N/A N/A object __getattribute__ self data N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A self N/A N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A N/A object __getattribute__ self data N/A writeToStream N/A N/A self stream indent container N/A N/A N/A 
        Write this instance to a stream at the specified indentation level.

        Should be redefined in subclasses.

        @param stream: The stream to write to
        @type stream: A writable stream (file-like object)
        @param indent: The indentation level
        @type indent: int
        @param container: The container of this instance
        @type container: L{Container}
         N/A indstr N/A indent N/A N/A N/A len self 0 N/A N/A N/A N/A stream write N/A  [ ]%s NEWLINE N/A N/A N/A isinstance container Mapping N/A N/A N/A N/A stream write NEWLINE N/A N/A N/A stream write N/A %s[%s N/A indstr NEWLINE N/A N/A N/A self save stream N/A indent 1 N/A N/A N/A stream write N/A %s]%s N/A indstr NEWLINE N/A save N/A N/A self stream indent N/A N/A N/A 
        Save this instance to the specified stream.
        @param stream: A stream to which the configuration is written.
        @type stream: A write-only stream (file-like object).
        @param indent: The indentation level for the output, > 0
        @type indent: int
         N/A N/A indent 0 N/A N/A N/A ConfigError sequence cannot be saved as a top-level item N/A data N/A N/A object __getattribute__ self data N/A comments N/A N/A object __getattribute__ self comments N/A indstr N/A indent N/A i N/A xrange 0 N/A len data N/A N/A value N/A data N/A i N/A comment N/A comments N/A i N/A comment N/A N/A N/A N/A stream write N/A %s#%s N/A indstr comment N/A N/A isinstance value Container N/A N/A N/A N/A value writeToStream stream indent self N/A N/A N/A N/A self writeValue value stream indent N/A N/A Reference N/A object N/A N/A 
    This internal class implements a value which is a reference to another value.
     __init__ N/A N/A self config type ident N/A N/A N/A 
        Initialize an instance.

        @param config: The configuration which contains this reference.
        @type config: A L{Config} instance.
        @param type: The type of reference.
        @type type: BACKTICK or DOLLAR
        @param ident: The identifier which starts the reference.
        @type ident: str
         N/A N/A self config config N/A N/A self type type N/A N/A self elements N/A ident N/A addElement N/A N/A self type ident N/A N/A N/A 
        Add an element to the reference.

        @param type: The type of reference.
        @type type: BACKTICK or DOLLAR
        @param ident: The identifier which continues the reference.
        @type ident: str
         N/A N/A N/A N/A self elements append N/A type ident N/A findConfig N/A N/A self container N/A N/A N/A 
        Find the closest enclosing configuration to the specified container.

        @param container: The container to start from.
        @type container: L{Container}
        @return: The closest enclosing configuration, or None.
        @rtype: L{Config}
         N/A N/A N/A container None N/A N/A isinstance container Config N/A N/A container N/A N/A object __getattribute__ container parent N/A container N/A resolve N/A N/A self container N/A N/A N/A 
        Resolve this instance in the context of a container.

        @param container: The container to resolve from.
        @type container: L{Container}
        @return: The resolved value.
        @rtype: any
        @raise ConfigResolutionError: If resolution fails.
         N/A rv None N/A path N/A N/A object __getattribute__ container path N/A current N/A N/A self findConfig container N/A N/A current None N/A N/A N/A N/A self type BACKTICK N/A N/A namespaces N/A N/A object __getattribute__ current namespaces N/A found False N/A s N/A N/A str self N/A 1 -1 N/A ns namespaces N/A N/A N/A N/A N/A N/A rv N/A eval s N/A vars ns N/A N/A N/A TypeError N/A N/A rv N/A eval s N/A N/A vars ns N/A found True N/A N/A N/A N/A N/A N/A N/A logger debug unable to resolve %r in %r s ns N/A N/A found N/A N/A N/A N/A firstkey N/A N/A self elements N/A 0 N/A N/A firstkey N/A current resolving N/A N/A N/A N/A N/A current resolving remove firstkey N/A N/A ConfigResolutionError N/A Circular reference: %r firstkey N/A N/A N/A N/A current resolving add firstkey N/A key firstkey N/A N/A N/A rv N/A current N/A key N/A item N/A N/A self elements N/A 1 N/A N/A key N/A item N/A 1 N/A rv N/A rv N/A key N/A N/A N/A N/A current resolving remove firstkey N/A N/A N/A N/A ConfigResolutionError N/A N/A N/A N/A N/A N/A N/A logger debug Unable to resolve %r: %s key N/A N/A N/A sys exc_info N/A 1 N/A rv None N/A N/A N/A N/A N/A current resolving discard firstkey N/A current N/A N/A self findConfig N/A N/A object __getattribute__ current parent N/A N/A current None N/A N/A N/A ConfigResolutionError N/A unable to evaluate %r in the configuration %s N/A self path N/A rv N/A __str__ N/A N/A self N/A N/A N/A s N/A N/A self elements N/A 0 N/A N/A tt tv N/A N/A self elements N/A 1 N/A N/A N/A tt DOT N/A N/A s N/A .%s tv N/A N/A s N/A [%r] tv N/A N/A N/A self type BACKTICK N/A N/A N/A N/A BACKTICK s BACKTICK N/A N/A N/A DOLLAR s N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A self __str__ N/A N/A Expression N/A object N/A N/A 
    This internal class implements a value which is obtained by evaluating an expression.
     __init__ N/A N/A self op lhs rhs N/A N/A N/A 
        Initialize an instance.

        @param op: the operation expressed in the expression.
        @type op: PLUS, MINUS, STAR, SLASH, MOD
        @param lhs: the left-hand-side operand of the expression.
        @type lhs: any Expression or primary value.
        @param rhs: the right-hand-side operand of the expression.
        @type rhs: any Expression or primary value.
         N/A N/A self op op N/A N/A self lhs lhs N/A N/A self rhs rhs N/A __str__ N/A N/A self N/A N/A N/A N/A %r %s %r N/A N/A self lhs N/A self op N/A self rhs N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A self __str__ N/A evaluate N/A N/A self container N/A N/A N/A 
        Evaluate this instance in the context of a container.

        @param container: The container to evaluate in from.
        @type container: L{Container}
        @return: The evaluated value.
        @rtype: any
        @raise ConfigResolutionError: If evaluation fails.
        @raise ZeroDivideError: If division by zero occurs.
        @raise TypeError: If the operation is invalid, e.g.
        subtracting one string from another.
         N/A lhs N/A self lhs N/A N/A isinstance lhs Reference N/A N/A lhs N/A N/A lhs resolve container N/A N/A N/A isinstance lhs Expression N/A N/A lhs N/A N/A lhs evaluate container N/A rhs N/A self rhs N/A N/A isinstance rhs Reference N/A N/A rhs N/A N/A rhs resolve container N/A N/A N/A isinstance rhs Expression N/A N/A rhs N/A N/A rhs evaluate container N/A op N/A self op N/A N/A op PLUS N/A N/A rv N/A lhs rhs N/A N/A N/A op MINUS N/A N/A rv N/A lhs rhs N/A N/A N/A op STAR N/A N/A rv N/A lhs rhs N/A N/A N/A op SLASH N/A N/A rv N/A lhs rhs N/A N/A rv N/A lhs rhs N/A rv N/A N/A ConfigReader N/A object N/A N/A 
    This internal class implements a parser for configurations.
     __init__ N/A N/A self config N/A N/A N/A N/A self filename None N/A N/A self config config N/A N/A self lineno 0 N/A N/A self colno 0 N/A N/A self lastc None N/A N/A self last_token None N/A N/A self commentchars # N/A N/A self whitespace N/A N/A self quotes '" N/A N/A self punct :-+*/%,.{}[]()@`$ N/A N/A self digits 0123456789 N/A N/A self wordchars N/A %s WORDCHARS N/A N/A self identchars N/A N/A self wordchars N/A self digits N/A N/A self pbchars N/A N/A N/A self pbtokens N/A N/A N/A self comment None N/A location N/A N/A self N/A N/A N/A 
        Return the current location (filename, line, column) in the stream
        as a string.

        Used when printing error messages,

        @return: A string representing a location in the stream being read.
        @rtype: str
         N/A N/A %s(%d,%d) N/A N/A self filename N/A self lineno N/A self colno N/A getChar N/A N/A self N/A N/A N/A 
        Get the next char from the stream. Update line and column numbers
        appropriately.

        @return: The next character from the stream.
        @rtype: str
         N/A N/A self pbchars N/A N/A c N/A N/A N/A self pbchars pop N/A N/A c N/A N/A N/A self stream read 1 N/A N/A self colno 1 N/A N/A c N/A N/A N/A self lineno 1 N/A N/A self colno 1 N/A c N/A __repr__ N/A N/A self N/A N/A N/A N/A <ConfigReader at 0x%08x> N/A id self N/A N/A __str__ __repr__ getToken N/A N/A self N/A N/A N/A 
        Get a token from the stream. String values are returned in a form
        where you need to eval() the returned value to get the actual
        string. The return value is (token_type, token_value).

        Multiline string tokenizing is thanks to David Janes (BlogMatrix)

        @return: The next token.
        @rtype: A token tuple.
         N/A N/A self pbtokens N/A N/A N/A N/A N/A self pbtokens pop N/A stream N/A self stream N/A N/A self comment None N/A token N/A tt EOF N/A True N/A N/A c N/A N/A self getChar N/A N/A c N/A N/A N/A N/A N/A c # N/A N/A N/A self comment N/A N/A stream readline N/A N/A self lineno 1 N/A N/A N/A c N/A self quotes N/A N/A token c N/A quote c N/A tt STRING N/A escaped False N/A multiline False N/A c1 N/A N/A self getChar N/A N/A c1 quote N/A N/A c2 N/A N/A self getChar N/A N/A c2 quote N/A N/A multiline True N/A token quote N/A token quote N/A N/A N/A N/A N/A self pbchars append c2 N/A N/A N/A N/A self pbchars append c1 N/A N/A N/A N/A N/A self pbchars append c1 N/A True N/A N/A c N/A N/A self getChar N/A N/A c N/A N/A N/A token c N/A N/A N/A c quote N/A escaped N/A N/A N/A N/A multiline N/A N/A N/A len token 6 N/A N/A token endswith N/A token N/A 3 N/A N/A token N/A -4 \ N/A N/A N/A N/A c \ N/A N/A escaped N/A escaped N/A N/A escaped False N/A N/A c N/A N/A N/A ConfigFormatError N/A %s: Unterminated quoted string: %r, %r N/A N/A N/A self location token c N/A N/A N/A c N/A self whitespace N/A N/A N/A self lastc c N/A N/A N/A N/A c N/A self punct N/A N/A token c N/A tt c N/A N/A N/A N/A self lastc ] N/A N/A self lastc N/A self identchars N/A N/A N/A c [ N/A N/A tt LBRACK2 N/A N/A N/A c ( N/A N/A tt LPAREN2 N/A N/A N/A N/A c N/A self digits N/A N/A token c N/A tt NUMBER N/A in_exponent False N/A True N/A N/A c N/A N/A self getChar N/A N/A c N/A N/A N/A N/A c N/A self digits N/A N/A token c N/A N/A N/A N/A c . N/A N/A N/A token find . 0 N/A in_exponent N/A N/A token c N/A N/A N/A N/A c - N/A N/A N/A token find - 0 in_exponent N/A N/A token c N/A N/A N/A N/A c eE N/A N/A N/A token find e 0 N/A N/A N/A token find E 0 N/A N/A token c N/A in_exponent True N/A N/A N/A c N/A c N/A self whitespace N/A N/A N/A N/A N/A self pbchars append c N/A N/A N/A N/A N/A c N/A self wordchars N/A N/A token c N/A tt WORD N/A c N/A N/A self getChar N/A N/A c N/A c N/A self identchars N/A N/A token c N/A c N/A N/A self getChar N/A c N/A N/A N/A N/A N/A self pbchars append c N/A N/A token True N/A N/A tt TRUE N/A N/A N/A token False N/A N/A tt FALSE N/A N/A N/A token None N/A N/A tt NONE N/A N/A N/A N/A ConfigFormatError N/A %s: Unexpected character: %r N/A N/A N/A self location c N/A token N/A N/A N/A self lastc N/A token N/A -1 N/A N/A N/A self lastc None N/A N/A self last_token tt N/A N/A tt token N/A load N/A N/A self stream parent suffix N/A None None N/A N/A 
        Load the configuration from the specified stream.

        @param stream: A stream from which to load the configuration.
        @type stream: A stream (file-like object).
        @param parent: The parent of the configuration (to which this reader
        belongs) in the hierarchy. Specified when the configuration is
        included in another one.
        @type parent: A L{Container} instance.
        @param suffix: The suffix of this configuration in the parent
        configuration. Should be specified whenever the parent is not None.
        @raise ConfigError: If parent is specified but suffix is not.
        @raise ConfigFormatError: If there are syntax errors in the stream.
         N/A N/A parent None N/A N/A N/A suffix None N/A N/A N/A ConfigError internal error: load called with parent but no suffix N/A N/A N/A N/A self config setPath N/A makePath N/A N/A object __getattribute__ parent path suffix N/A N/A N/A self setStream stream N/A N/A self token N/A N/A self getToken N/A N/A N/A self parseMappingBody N/A self config N/A N/A N/A N/A self token N/A 0 EOF N/A N/A N/A ConfigFormatError N/A %s: expecting EOF, found %r N/A N/A N/A self location N/A N/A self token N/A 1 N/A setStream N/A N/A self stream N/A N/A N/A 
        Set the stream to the specified value, and prepare to read from it.

        @param stream: A stream from which to load the configuration.
        @type stream: A stream (file-like object).
         N/A N/A self stream stream N/A N/A hasattr stream name N/A N/A filename N/A stream name N/A N/A filename ? N/A N/A self filename filename N/A N/A self lineno 1 N/A N/A self colno 1 N/A match N/A N/A self t N/A N/A N/A 
        Ensure that the current token type matches the specified value, and
        advance to the next token.

        @param t: The token type to match.
        @type t: A valid token type.
        @return: The token which was last read from the stream before this
        function is called.
        @rtype: a token tuple - see L{getToken}.
        @raise ConfigFormatError: If the token does not match what's expected.
         N/A N/A N/A N/A self token N/A 0 t N/A N/A N/A ConfigFormatError N/A %s: expecting %s, found %r N/A N/A N/A self location t N/A N/A self token N/A 1 N/A rv N/A self token N/A N/A self token N/A N/A self getToken N/A rv N/A parseMappingBody N/A N/A self parent N/A N/A N/A 
        Parse the internals of a mapping, and add entries to the provided
        L{Mapping}.

        @param parent: The mapping to add entries to.
        @type parent: A L{Mapping} instance.
         N/A N/A N/A N/A self token N/A 0 N/A WORD STRING N/A N/A N/A N/A self parseKeyValuePair parent N/A parseKeyValuePair N/A N/A self parent N/A N/A N/A 
        Parse a key-value pair, and add it to the provided L{Mapping}.

        @param parent: The mapping to add entries to.
        @type parent: A L{Mapping} instance.
        @raise ConfigFormatError: if a syntax error is found.
         N/A comment N/A self comment N/A N/A tt tv N/A self token N/A N/A tt WORD N/A N/A key tv N/A suffix tv N/A N/A N/A tt STRING N/A N/A key N/A eval tv N/A suffix N/A [%s] tv N/A N/A msg %s: expecting word or string, found %r N/A N/A ConfigFormatError N/A msg N/A N/A N/A self location tv N/A N/A self token N/A N/A self getToken N/A N/A N/A N/A self token N/A 0 COLON N/A N/A N/A self token N/A N/A self getToken N/A value N/A N/A self parseValue parent suffix N/A N/A value True N/A N/A N/A N/A N/A parent addMapping key value comment N/A N/A N/A Exception N/A e N/A N/A N/A ConfigFormatError N/A %s: %s, %r N/A N/A N/A self location e N/A N/A self token N/A 1 N/A tt N/A N/A self token N/A 0 N/A N/A tt N/A EOF WORD STRING RCURLY COMMA N/A N/A msg %s: expecting one of EOF, WORD, STRING,RCURLY, COMMA, found %r N/A N/A ConfigFormatError N/A msg N/A N/A N/A self location N/A N/A self token N/A 1 N/A N/A tt COMMA N/A N/A N/A self token N/A N/A self getToken N/A parseValue N/A N/A self parent suffix N/A N/A N/A 
        Parse a value.

        @param parent: The container to which the value will be added.
        @type parent: A L{Container} instance.
        @param suffix: The suffix for the value.
        @type suffix: str
        @return: The value
        @rtype: any
        @raise ConfigFormatError: if a syntax error is found.
         N/A tt N/A N/A self token N/A 0 N/A N/A tt N/A STRING WORD NUMBER LPAREN DOLLAR TRUE FALSE NONE BACKTICK MINUS N/A N/A rv N/A N/A self parseScalar N/A N/A N/A tt LBRACK N/A N/A rv N/A N/A self parseSequence parent suffix N/A N/A N/A tt N/A LCURLY AT N/A N/A rv N/A N/A self parseMapping parent suffix N/A N/A N/A ConfigFormatError N/A %s: unexpected input: %r N/A N/A N/A self location N/A N/A self token N/A 1 N/A rv N/A parseSequence N/A N/A self parent suffix N/A N/A N/A 
        Parse a sequence.

        @param parent: The container to which the sequence will be added.
        @type parent: A L{Container} instance.
        @param suffix: The suffix for the value.
        @type suffix: str
        @return: a L{Sequence} instance representing the sequence.
        @rtype: L{Sequence}
        @raise ConfigFormatError: if a syntax error is found.
         N/A rv N/A Sequence parent N/A N/A N/A rv setPath N/A makePath N/A N/A object __getattribute__ parent path suffix N/A N/A N/A self match LBRACK N/A comment N/A self comment N/A tt N/A N/A self token N/A 0 N/A N/A tt N/A STRING WORD NUMBER LCURLY LBRACK LPAREN DOLLAR TRUE FALSE NONE BACKTICK MINUS N/A N/A suffix N/A [%d] N/A len rv N/A value N/A N/A self parseValue parent suffix N/A N/A N/A rv append value comment N/A tt N/A N/A self token N/A 0 N/A comment N/A self comment N/A N/A tt COMMA N/A N/A N/A N/A self match COMMA N/A tt N/A N/A self token N/A 0 N/A comment N/A self comment N/A N/A N/A N/A self match RBRACK N/A rv N/A parseMapping N/A N/A self parent suffix N/A N/A N/A 
        Parse a mapping.

        @param parent: The container to which the mapping will be added.
        @type parent: A L{Container} instance.
        @param suffix: The suffix for the value.
        @type suffix: str
        @return: a L{Mapping} instance representing the mapping.
        @rtype: L{Mapping}
        @raise ConfigFormatError: if a syntax error is found.
         N/A N/A N/A N/A self token N/A 0 LCURLY N/A N/A N/A N/A self match LCURLY N/A rv N/A Mapping parent N/A N/A N/A rv setPath N/A makePath N/A N/A object __getattribute__ parent path suffix N/A N/A N/A self parseMappingBody rv N/A N/A N/A self match RCURLY N/A N/A N/A N/A self match AT N/A N/A tt fn N/A N/A self match STRING N/A rv N/A Config N/A eval fn parent N/A rv N/A parseScalar N/A N/A self N/A N/A N/A 
        Parse a scalar - a terminal value such as a string or number, or
        an L{Expression} or L{Reference}.

        @return: the parsed scalar
        @rtype: any scalar
        @raise ConfigFormatError: if a syntax error is found.
         N/A lhs N/A N/A self parseTerm N/A tt N/A N/A self token N/A 0 N/A N/A tt N/A PLUS MINUS N/A N/A N/A N/A self match tt N/A rhs N/A N/A self parseTerm N/A lhs N/A Expression tt lhs rhs N/A tt N/A N/A self token N/A 0 N/A lhs N/A parseTerm N/A N/A self N/A N/A N/A 
        Parse a term in an additive expression (a + b, a - b)

        @return: the parsed term
        @rtype: any scalar
        @raise ConfigFormatError: if a syntax error is found.
         N/A lhs N/A N/A self parseFactor N/A tt N/A N/A self token N/A 0 N/A N/A tt N/A STAR SLASH MOD N/A N/A N/A N/A self match tt N/A rhs N/A N/A self parseFactor N/A lhs N/A Expression tt lhs rhs N/A tt N/A N/A self token N/A 0 N/A lhs N/A parseFactor N/A N/A self N/A N/A N/A 
        Parse a factor in an multiplicative expression (a * b, a / b, a % b)

        @return: the parsed factor
        @rtype: any scalar
        @raise ConfigFormatError: if a syntax error is found.
         N/A tt N/A N/A self token N/A 0 N/A N/A tt N/A NUMBER WORD STRING TRUE FALSE NONE N/A N/A rv N/A N/A self token N/A 1 N/A N/A tt WORD N/A N/A rv N/A eval rv N/A N/A N/A self match tt N/A N/A N/A tt LPAREN N/A N/A N/A N/A self match LPAREN N/A rv N/A N/A self parseScalar N/A N/A N/A self match RPAREN N/A N/A N/A tt DOLLAR N/A N/A N/A N/A self match DOLLAR N/A rv N/A N/A self parseReference DOLLAR N/A N/A N/A tt BACKTICK N/A N/A N/A N/A self match BACKTICK N/A rv N/A N/A self parseReference BACKTICK N/A N/A N/A self match BACKTICK N/A N/A N/A tt MINUS N/A N/A N/A N/A self match MINUS N/A rv N/A N/A N/A self parseScalar N/A N/A N/A ConfigFormatError N/A %s: unexpected input: %r N/A N/A N/A self location N/A N/A self token N/A 1 N/A rv N/A parseReference N/A N/A self type N/A N/A N/A 
        Parse a reference.

        @return: the parsed reference
        @rtype: L{Reference}
        @raise ConfigFormatError: if a syntax error is found.
         N/A word N/A N/A self match WORD N/A rv N/A Reference N/A self config type N/A word N/A 1 N/A N/A N/A N/A self token N/A 0 N/A DOT LBRACK2 N/A N/A N/A N/A self parseSuffix rv N/A rv N/A parseSuffix N/A N/A self ref N/A N/A N/A 
        Parse a reference suffix.

        @param ref: The reference of which this suffix is a part.
        @type ref: L{Reference}.
        @raise ConfigFormatError: if a syntax error is found.
         N/A tt N/A N/A self token N/A 0 N/A N/A tt DOT N/A N/A N/A N/A self match DOT N/A word N/A N/A self match WORD N/A N/A N/A ref addElement DOT N/A word N/A 1 N/A N/A N/A N/A self match LBRACK2 N/A N/A tt tv N/A self token N/A N/A tt N/A NUMBER STRING N/A N/A N/A ConfigFormatError N/A %s: expected number or string, found %r N/A N/A N/A self location tv N/A N/A self token N/A N/A self getToken N/A tv N/A eval tv N/A N/A N/A self match RBRACK N/A N/A N/A ref addElement LBRACK tv N/A N/A defaultMergeResolve N/A N/A map1 map2 key N/A N/A N/A 
    A default resolver for merge conflicts. Returns a string
    indicating what action to take to resolve the conflict.

    @param map1: The map being merged into.
    @type map1: L{Mapping}.
    @param map2: The map being used as the merge operand.
    @type map2: L{Mapping}.
    @param key: The key in map2 (which also exists in map1).
    @type key: str
    @return: One of "merge", "append", "mismatch" or "overwrite"
             indicating what action should be taken. This should
             be appropriate to the objects being merged - e.g.
             there is no point returning "merge" if the two objects
             are instances of L{Sequence}.
    @rtype: str
     N/A obj1 N/A map1 N/A key N/A obj2 N/A map2 N/A key N/A N/A N/A isinstance obj1 Mapping N/A isinstance obj2 Mapping N/A N/A rv merge N/A N/A N/A N/A isinstance obj1 Sequence N/A isinstance obj2 Sequence N/A N/A rv append N/A N/A rv mismatch N/A rv N/A overwriteMergeResolve N/A N/A map1 map2 key N/A N/A N/A 
    An overwriting resolver for merge conflicts. Calls L{defaultMergeResolve},
    but where a "mismatch" is detected, returns "overwrite" instead.

    @param map1: The map being merged into.
    @type map1: L{Mapping}.
    @param map2: The map being used as the merge operand.
    @type map2: L{Mapping}.
    @param key: The key in map2 (which also exists in map1).
    @type key: str
     N/A rv N/A defaultMergeResolve map1 map2 key N/A N/A rv mismatch N/A N/A rv overwrite N/A rv N/A ConfigMerger N/A object N/A N/A 
    This class is used for merging two configurations. If a key exists in the
    merge operand but not the merge target, then the entry is copied from the
    merge operand to the merge target. If a key exists in both configurations,
    then a resolver (a callable) is called to decide how to handle the
    conflict.
     __init__ N/A N/A self resolver N/A defaultMergeResolve N/A N/A 
        Initialise an instance.

        @param resolver:
        @type resolver: A callable which takes the argument list
        (map1, map2, key) where map1 is the mapping being merged into,
        map2 is the merge operand and key is the clashing key. The callable
        should return a string indicating how the conflict should be resolved.
        For possible return values, see L{defaultMergeResolve}. The default
        value preserves the old behaviour
         N/A N/A self resolver resolver N/A merge N/A N/A self merged mergee N/A N/A N/A 
        Merge two configurations. The second configuration is unchanged,
        and the first is changed to reflect the results of the merge.

        @param merged: The configuration to merge into.
        @type merged: L{Config}.
        @param mergee: The configuration to merge.
        @type mergee: L{Config}.
         N/A N/A N/A self mergeMapping merged mergee N/A mergeMapping N/A N/A self map1 map2 N/A N/A N/A 
        Merge two mappings recursively. The second mapping is unchanged,
        and the first is changed to reflect the results of the merge.

        @param map1: The mapping to merge into.
        @type map1: L{Mapping}.
        @param map2: The mapping to merge.
        @type map2: L{Mapping}.
         N/A keys N/A N/A map1 keys N/A key N/A N/A map2 keys N/A N/A N/A key keys N/A N/A N/A map1 N/A key N/A map2 N/A key N/A N/A obj1 N/A map1 N/A key N/A obj2 N/A map2 N/A key N/A decision N/A N/A self resolver map1 map2 key N/A N/A decision merge N/A N/A N/A N/A self mergeMapping obj1 obj2 N/A N/A N/A decision append N/A N/A N/A N/A self mergeSequence obj1 obj2 N/A N/A N/A decision overwrite N/A N/A N/A map1 N/A key obj2 N/A N/A N/A decision mismatch N/A N/A N/A N/A self handleMismatch obj1 obj2 N/A N/A msg unable to merge: don't know how to implement %r N/A N/A ValueError N/A msg decision N/A mergeSequence N/A N/A self seq1 seq2 N/A N/A N/A 
        Merge two sequences. The second sequence is unchanged,
        and the first is changed to have the elements of the second
        appended to it.

        @param seq1: The sequence to merge into.
        @type seq1: L{Sequence}.
        @param seq2: The sequence to merge.
        @type seq2: L{Sequence}.
         N/A data1 N/A N/A object __getattribute__ seq1 data N/A data2 N/A N/A object __getattribute__ seq2 data N/A obj data2 N/A N/A N/A N/A data1 append obj N/A comment1 N/A N/A object __getattribute__ seq1 comments N/A comment2 N/A N/A object __getattribute__ seq2 comments N/A obj comment2 N/A N/A N/A N/A comment1 append obj N/A handleMismatch N/A N/A self obj1 obj2 N/A N/A N/A 
        Handle a mismatch between two objects.

        @param obj1: The object to merge into.
        @type obj1: any
        @param obj2: The object to merge.
        @type obj2: any
         N/A N/A ConfigError N/A unable to merge %r with %r N/A obj1 obj2 N/A N/A ConfigList N/A list N/A N/A 
    This class implements an ordered list of configurations and allows you
    to try getting the configuration from each entry in turn, returning
    the first successfully obtained value.
     getByPath N/A N/A self path N/A N/A N/A 
        Obtain a value from the first configuration in the list which defines
        it.

        @param path: The path of the value to retrieve.
        @type path: str
        @return: The value from the earliest configuration in the list which
        defines it.
        @rtype: any
        @raise ConfigError: If no configuration in the list has an entry with
        the specified path.
         N/A found False N/A rv None N/A entry self N/A N/A N/A N/A rv N/A N/A entry getByPath path N/A found True N/A N/A N/A N/A ConfigError N/A N/A N/A N/A found N/A N/A N/A ConfigError N/A unable to resolve %r path N/A rv N/A N/A