Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword NameLoad Import alias identifier finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore TupleLoad NameLoad 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 Dict Assign NameStore Dict Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Num orelse Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpOr Call NameLoad NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Global identifier Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Global identifier Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpMod Str NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Assign SubscriptStore NameLoad Slice ListLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad ListLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad NameLoad Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad Index Num NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Num Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad body If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad orelse If CompareIs NameLoad NameLoad body Return ListLoad Str AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad CompareIs NameLoad NameLoad body Return ListLoad Str Call AttributeLoad NameLoad attr Str orelse If CompareIs NameLoad NameLoad body Return ListLoad Str orelse If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return ListLoad Str BinOpAdd BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str NameLoad orelse If CompareIs NameLoad NameLoad body Return ListLoad Str AttributeLoad NameLoad attr orelse If CompareIs NameLoad NameLoad body Return ListLoad Str BoolOpOr BoolOpAnd NameLoad Str Str orelse If CompareIs NameLoad AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Return ListLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIs NameLoad AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Return ListLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Return ListLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Return ListLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return ListLoad Str Call NameLoad NameLoad orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpOr BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpOr BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Yield NameLoad For NameStore NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd BinOpMult NameLoad Num NameLoad NameLoad If NameLoad body Assign NameStore UnaryOpUSub NameLoad Return ListLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num orelse Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Return Call NameLoad SubscriptLoad NameLoad Index Num Str orelse Return Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return Call NameLoad BinOpMod Str TupleLoad BinOpMult SubscriptLoad NameLoad Index Num BinOpPow Num SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareLt NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Index Num Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assert CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str Str Return CompareEq SubscriptLoad NameLoad Index Num Str orelse Return Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assert Num Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Num For NameStore NameLoad body If Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore Num If NameLoad body Return Call NameLoad NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Return Call NameLoad NameLoad NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad Dict Dict Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If CompareNotIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Return NameLoad orelse Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareIsNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If Call NameLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareIsNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad orelse Raise Call NameLoad Str Return NameLoad decorator_list decorator_list ClassDef bases body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad orelse Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Num decorator_list decorator_list ClassDef bases body Expr Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num Num Num Num If Call NameLoad NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str For NameStore NameLoad body If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Call NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Call NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad NameLoad attr NameLoad decorator_list
N/A N/A 
S-expression-based persistence of python objects.

It does something very much like L{Pickle<pickle>}; however, pickle's main goal
seems to be efficiency (both in space and time); jelly's main goals are
security, human readability, and portability to other environments.

This is how Jelly converts various objects to s-expressions.

Boolean::
    True --> ['boolean', 'true']

Integer::
    1 --> 1

List::
    [1, 2] --> ['list', 1, 2]

String::
    "hello" --> "hello"

Float::
    2.3 --> 2.3

Dictionary::
    {'a': 1, 'b': 'c'} --> ['dictionary', ['b', 'c'], ['a', 1]]

Module::
    UserString --> ['module', 'UserString']

Class::
    UserString.UserString --> ['class', ['module', 'UserString'], 'UserString']

Function::
    string.join --> ['function', 'join', ['module', 'string']]

Instance: s is an instance of UserString.UserString, with a __dict__
{'data': 'hello'}::
    ["UserString.UserString", ['dictionary', ['data', 'hello']]]

Class Method: UserString.UserString.center::
    ['method', 'center', ['None'], ['class', ['module', 'UserString'],
     'UserString']]

Instance Method: s.center, where s is an instance of UserString.UserString::
    ['method', 'center', ['instance', ['reference', 1, ['class',
    ['module', 'UserString'], 'UserString']], ['dictionary', ['data', 'd']]],
    ['dereference', 1]]

The C{set} builtin and the C{sets.Set} class are serialized to the same
thing, and unserialized to C{set} if available, else to C{sets.Set}. It means
that there's a possibility of type switching in the serialization process. The
solution is to always use C{set} if possible, and only use C{sets.Set} under
Python 2.3; this can be accomplished by using L{twisted.python.compat.set}.

The same rule applies for C{frozenset} and C{sets.ImmutableSet}.

@author: Glyph Lefkowitz
 N/A pickle N/A types N/A warnings types StringType types UnicodeType types IntType types TupleType types ListType types LongType types FloatType types FunctionType types MethodType types ModuleType types DictionaryType types InstanceType types NoneType types ClassType N/A copy N/A datetime types BooleanType N/A N/A N/A decimal N/A N/A N/A ImportError N/A N/A decimal None N/A N/A N/A _set set N/A N/A N/A NameError N/A N/A _set None N/A N/A N/A N/A N/A warnings filterwarnings ignore category DeprecationWarning message the sets module is deprecated append True N/A sets _sets N/A N/A N/A N/A N/A warnings filters pop zope.interface implements twisted.python.reflect namedObject qual twisted.persisted.crefutil NotKnown _Tuple _InstanceMethod twisted.persisted.crefutil _DictKeyAndValue _Dereference twisted.persisted.crefutil _Container twisted.python.compat reduce twisted.spread.interfaces IJellyable IUnjellyable N/A DictTypes N/A DictionaryType N/A None_atom None N/A class_atom class N/A module_atom module N/A function_atom function N/A dereference_atom dereference N/A persistent_atom persistent N/A reference_atom reference N/A dictionary_atom dictionary N/A list_atom list N/A set_atom set N/A tuple_atom tuple N/A instance_atom instance N/A frozenset_atom frozenset N/A unpersistable_atom unpersistable N/A unjellyableRegistry N/A N/A unjellyableFactoryRegistry N/A N/A _NO_STATE N/A object _newInstance N/A N/A cls state N/A _NO_STATE N/A N/A 
    Make a new instance of a class without calling its __init__ method.
    Supports both new- and old-style classes.

    @param state: A C{dict} used to update C{inst.__dict__} or C{_NO_STATE}
        to skip this part of initialization.

    @return: A new instance of C{cls}.
     N/A N/A N/A isinstance cls N/A types ClassType N/A N/A inst N/A N/A cls __new__ cls N/A N/A state _NO_STATE N/A N/A N/A N/A N/A inst __dict__ update state N/A N/A N/A state _NO_STATE N/A N/A inst N/A InstanceType cls state N/A N/A inst N/A InstanceType cls N/A inst N/A _maybeClass N/A N/A classnamep N/A N/A N/A N/A N/A object N/A N/A N/A NameError N/A N/A isObject 0 N/A N/A isObject N/A isinstance classnamep type N/A N/A N/A isinstance classnamep ClassType isObject N/A N/A N/A qual classnamep N/A classnamep N/A setUnjellyableForClass N/A N/A classname unjellyable N/A N/A N/A 
    Set which local class will represent a remote type.

    If you have written a Copyable class that you expect your client to be
    receiving, write a local "copy" class to represent it, then call::

        jellier.setUnjellyableForClass('module.package.Class', MyCopier).

    Call this at the module level immediately after its class
    definition. MyCopier should be a subclass of RemoteCopy.

    The classname may be a special tag returned by
    'Copyable.getTypeToCopyFor' rather than an actual classname.

    This call is also for cached classes, since there will be no
    overlap.  The rules are the same.
     N/A unjellyableRegistry N/A classname N/A _maybeClass classname N/A N/A unjellyableRegistry N/A classname unjellyable N/A N/A N/A globalSecurity allowTypes classname N/A setUnjellyableFactoryForClass N/A N/A classname copyFactory N/A N/A N/A 
    Set the factory to construct a remote instance of a type::

      jellier.setUnjellyableFactoryForClass('module.package.Class', MyFactory)

    Call this at the module level immediately after its class definition.
    C{copyFactory} should return an instance or subclass of
    L{RemoteCopy<pb.RemoteCopy>}.

    Similar to L{setUnjellyableForClass} except it uses a factory instead
    of creating an instance.
     N/A unjellyableFactoryRegistry N/A classname N/A _maybeClass classname N/A N/A unjellyableFactoryRegistry N/A classname copyFactory N/A N/A N/A globalSecurity allowTypes classname N/A setUnjellyableForClassTree N/A N/A module baseClass prefix N/A None N/A N/A 
    Set all classes in a module derived from C{baseClass} as copiers for
    a corresponding remote class.

    When you have a heirarchy of Copyable (or Cacheable) classes on one
    side, and a mirror structure of Copied (or RemoteCache) classes on the
    other, use this to setUnjellyableForClass all your Copieds for the
    Copyables.

    Each copyTag (the "classname" argument to getTypeToCopyFor, and
    what the Copyable's getTypeToCopyFor returns) is formed from
    adding a prefix to the Copied's class name.  The prefix defaults
    to module.__name__.  If you wish the copy tag to consist of solely
    the classname, pass the empty string ''.

    @param module: a module object from which to pull the Copied classes.
        (passing sys.modules[__name__] might be useful)

    @param baseClass: the base class from which all your Copied classes derive.

    @param prefix: the string prefixed to classnames to form the
        unjellyableRegistry.
     N/A N/A prefix None N/A N/A prefix N/A module __name__ N/A prefix N/A N/A prefix N/A %s. prefix N/A i N/A dir module N/A N/A i_ N/A getattr module i N/A N/A N/A type i_ N/A types ClassType N/A N/A N/A issubclass i_ baseClass N/A N/A N/A setUnjellyableForClass N/A %s%s N/A prefix i i_ N/A getInstanceState N/A N/A inst jellier N/A N/A N/A 
    Utility method to default to 'normal' state rules in serialization.
     N/A N/A hasattr inst __getstate__ N/A N/A state N/A N/A inst __getstate__ N/A N/A state N/A inst __dict__ N/A sxp N/A N/A jellier prepare inst N/A N/A N/A sxp extend N/A N/A qual N/A inst __class__ N/A N/A jellier jelly state N/A N/A N/A jellier preserve inst sxp N/A setInstanceState N/A N/A inst unjellier jellyList N/A N/A N/A 
    Utility method to default to 'normal' state rules in unserialization.
     N/A state N/A N/A unjellier unjelly N/A jellyList N/A 1 N/A N/A hasattr inst __setstate__ N/A N/A N/A N/A inst __setstate__ state N/A N/A N/A inst __dict__ state N/A inst N/A Unpersistable N/A N/A N/A 
    This is an instance of a class that comes back when something couldn't be
    unpersisted.
     __init__ N/A N/A self reason N/A N/A N/A 
        Initialize an unpersistable object with a descriptive C{reason} string.
         N/A N/A self reason reason N/A __repr__ N/A N/A self N/A N/A N/A N/A Unpersistable(%s) N/A repr N/A self reason N/A N/A Jellyable N/A N/A N/A 
    Inherit from me to Jelly yourself directly with the `getStateFor'
    convenience method.
     N/A N/A implements IJellyable getStateFor N/A N/A self jellier N/A N/A N/A N/A self __dict__ N/A jellyFor N/A N/A self jellier N/A N/A N/A 
        @see: L{twisted.spread.interfaces.IJellyable.jellyFor}
         N/A sxp N/A N/A jellier prepare self N/A N/A N/A sxp extend N/A N/A qual N/A self __class__ N/A N/A jellier jelly N/A N/A self getStateFor jellier N/A N/A N/A jellier preserve self sxp N/A N/A Unjellyable N/A N/A N/A 
    Inherit from me to Unjelly yourself directly with the
    C{setStateFor} convenience method.
     N/A N/A implements IUnjellyable setStateFor N/A N/A self unjellier state N/A N/A N/A N/A self __dict__ state N/A unjellyFor N/A N/A self unjellier jellyList N/A N/A N/A 
        Perform the inverse operation of L{Jellyable.jellyFor}.

        @see: L{twisted.spread.interfaces.IUnjellyable.unjellyFor}
         N/A state N/A N/A unjellier unjelly N/A jellyList N/A 1 N/A N/A N/A self setStateFor unjellier state N/A self N/A N/A _Jellier N/A N/A N/A 
    (Internal) This class manages state for a call to jelly()
     __init__ N/A N/A self taster persistentStore invoker N/A N/A N/A 
        Initialize.
         N/A N/A self taster taster N/A N/A self preserved N/A N/A N/A self cooked N/A N/A N/A self cooker N/A N/A N/A self _ref_id 1 N/A N/A self persistentStore persistentStore N/A N/A self invoker invoker N/A _cook N/A N/A self object N/A N/A N/A 
        (internal) Backreference an object.

        Notes on this method for the hapless future maintainer: If I've already
        gone through the prepare/preserve cycle on the specified object (it is
        being referenced after the serializer is "done with" it, e.g. this
        reference is NOT circular), the copy-in-place of aList is relevant,
        since the list being modified is the actual, pre-existing jelly
        expression that was returned for that object. If not, it's technically
        superfluous, since the value in self.preserved didn't need to be set,
        but the invariant that self.preserved[id(object)] is a list is
        convenient because that means we don't have to test and create it or
        not create it here, creating fewer code-paths.  that's why
        self.preserved is always set to a list.

        Sorry that this code is so hard to follow, but Python objects are
        tricky to persist correctly. -glyph
         N/A aList N/A N/A self preserved N/A N/A id object N/A newList N/A N/A copy copy aList N/A refid N/A self _ref_id N/A N/A self _ref_id N/A N/A self _ref_id 1 N/A N/A aList N/A N/A reference_atom refid newList N/A N/A N/A self cooked N/A N/A id object N/A dereference_atom refid N/A aList N/A prepare N/A N/A self object N/A N/A N/A 
        (internal) Create a list for persisting an object to.  This will allow
        backreferences to be made internal to the object. (circular
        references).

        The reason this needs to happen is that we don't generate an ID for
        every object, so we won't necessarily know which ID the object will
        have in the future.  When it is 'cooked' ( see _cook ), it will be
        assigned an ID, and the temporary placeholder list created here will be
        modified in-place to create an expression that gives this object an ID:
        [reference id# [object-jelly]].
         N/A N/A N/A self preserved N/A N/A id object N/A N/A N/A N/A self cooker N/A N/A id object object N/A N/A N/A preserve N/A N/A self object sexp N/A N/A N/A 
        (internal) Mark an object's persistent list for later referral.
         N/A N/A N/A id object N/A self cooked N/A N/A N/A N/A N/A self preserved N/A N/A id object N/A 2 sexp N/A sexp N/A N/A self preserved N/A N/A id object N/A N/A N/A N/A self preserved N/A N/A id object sexp N/A sexp N/A N/A constantTypes N/A N/A types StringType N/A types IntType N/A types FloatType N/A types LongType 1 1 1 1 _checkMutable N/A N/A self obj N/A N/A N/A objId N/A id obj N/A N/A objId N/A self cooked N/A N/A N/A N/A self cooked N/A objId N/A N/A objId N/A self preserved N/A N/A N/A N/A self _cook obj N/A N/A N/A self cooked N/A objId N/A jelly N/A N/A self obj N/A N/A N/A N/A isinstance obj Jellyable N/A N/A preRef N/A N/A self _checkMutable obj N/A preRef N/A N/A preRef N/A N/A N/A obj jellyFor self N/A objType N/A type obj N/A N/A N/A N/A self taster isTypeAllowed N/A qual objType N/A N/A N/A N/A objType StringType N/A objType IntType N/A objType LongType N/A objType FloatType N/A N/A obj N/A N/A N/A objType MethodType N/A N/A N/A method N/A N/A obj im_func __name__ N/A N/A self jelly N/A obj im_self N/A N/A self jelly N/A obj im_class N/A N/A N/A UnicodeType N/A objType UnicodeType N/A N/A N/A unicode N/A N/A obj encode UTF-8 N/A N/A N/A objType NoneType N/A N/A N/A None N/A N/A N/A objType FunctionType N/A N/A name N/A obj __name__ N/A N/A function N/A N/A N/A str N/A N/A pickle whichmodule obj N/A obj __name__ . name N/A N/A N/A objType ModuleType N/A N/A N/A module N/A obj __name__ N/A N/A N/A objType BooleanType N/A N/A N/A boolean N/A N/A obj true false N/A N/A N/A objType N/A datetime datetime N/A N/A N/A obj tzinfo N/A N/A N/A NotImplementedError Currently can't jelly datetime objects with tzinfo N/A N/A datetime N/A %s %s %s %s %s %s %s N/A N/A obj year N/A obj month N/A obj day N/A obj hour N/A obj minute N/A obj second N/A obj microsecond N/A N/A N/A objType N/A datetime time N/A N/A N/A obj tzinfo N/A N/A N/A NotImplementedError Currently can't jelly datetime objects with tzinfo N/A N/A time N/A %s %s %s %s N/A N/A obj hour N/A obj minute N/A obj second N/A obj microsecond N/A N/A N/A objType N/A datetime date N/A N/A N/A date N/A %s %s %s N/A N/A obj year N/A obj month N/A obj day N/A N/A N/A objType N/A datetime timedelta N/A N/A N/A timedelta N/A %s %s %s N/A N/A obj days N/A obj seconds N/A obj microseconds N/A N/A N/A N/A objType ClassType N/A issubclass objType type N/A N/A N/A class N/A qual obj N/A N/A N/A N/A decimal None N/A objType N/A decimal Decimal N/A N/A N/A N/A self jelly_decimal obj N/A N/A preRef N/A N/A self _checkMutable obj N/A preRef N/A N/A preRef N/A sxp N/A N/A self prepare obj N/A N/A objType ListType N/A N/A N/A N/A sxp extend N/A N/A self _jellyIterable list_atom obj N/A N/A N/A objType TupleType N/A N/A N/A N/A sxp extend N/A N/A self _jellyIterable tuple_atom obj N/A N/A N/A objType DictTypes N/A N/A N/A N/A sxp append dictionary_atom N/A N/A key val N/A N/A obj items N/A N/A N/A N/A sxp append N/A N/A N/A self jelly key N/A N/A self jelly val N/A N/A N/A N/A N/A _set None N/A objType set N/A objType N/A _sets Set N/A N/A N/A N/A sxp extend N/A N/A self _jellyIterable set_atom obj N/A N/A N/A N/A N/A _set None N/A objType frozenset N/A objType N/A _sets ImmutableSet N/A N/A N/A N/A sxp extend N/A N/A self _jellyIterable frozenset_atom obj N/A N/A className N/A qual N/A obj __class__ N/A persistent None N/A N/A self persistentStore N/A N/A persistent N/A N/A self persistentStore obj self N/A N/A persistent None N/A N/A N/A N/A sxp append persistent_atom N/A N/A N/A sxp append persistent N/A N/A N/A N/A N/A self taster isClassAllowed N/A obj __class__ N/A N/A N/A N/A sxp append className N/A N/A hasattr obj __getstate__ N/A N/A state N/A N/A obj __getstate__ N/A N/A state N/A obj __dict__ N/A N/A N/A sxp append N/A N/A self jelly state N/A N/A N/A N/A self unpersistable N/A instance of class %s deemed insecure N/A qual N/A obj __class__ sxp N/A N/A N/A self preserve obj sxp N/A N/A N/A objType InstanceType N/A N/A N/A InsecureJelly N/A Class not allowed for instance: %s %s N/A N/A obj __class__ obj N/A N/A InsecureJelly N/A Type not allowed for object: %s %s N/A objType obj N/A _jellyIterable N/A N/A self atom obj N/A N/A N/A 
        Jelly an iterable object.

        @param atom: the identifier atom of the object.
        @type atom: C{str}

        @param obj: any iterable object.
        @type obj: C{iterable}

        @return: a generator of jellied data.
        @rtype: C{generator}
         N/A N/A atom N/A item obj N/A N/A N/A N/A N/A self jelly item N/A jelly_decimal N/A N/A self d N/A N/A N/A 
        Jelly a decimal object.

        @param d: a decimal object to serialize.
        @type d: C{decimal.Decimal}

        @return: jelly for the decimal object.
        @rtype: C{list}
         N/A N/A sign guts exponent N/A N/A d as_tuple N/A value N/A reduce N/A N/A N/A left right N/A N/A N/A left 10 right guts N/A sign N/A N/A value N/A value N/A N/A decimal value exponent N/A unpersistable N/A N/A self reason sxp N/A None N/A N/A 
        (internal) Returns an sexp: (unpersistable "reason").  Utility method
        for making note that a particular object could not be serialized.
         N/A N/A sxp None N/A N/A sxp N/A N/A N/A N/A sxp append unpersistable_atom N/A N/A N/A sxp append reason N/A sxp N/A N/A _Unjellier N/A N/A __init__ N/A N/A self taster persistentLoad invoker N/A N/A N/A N/A self taster taster N/A N/A self persistentLoad persistentLoad N/A N/A self references N/A N/A N/A self postCallbacks N/A N/A N/A self invoker invoker N/A unjellyFull N/A N/A self obj N/A N/A N/A o N/A N/A self unjelly obj N/A m N/A self postCallbacks N/A N/A N/A m N/A o N/A unjelly N/A N/A self obj N/A N/A N/A N/A N/A type obj N/A types ListType N/A N/A obj N/A jelType N/A obj N/A 0 N/A N/A N/A N/A N/A self taster isTypeAllowed jelType N/A N/A N/A InsecureJelly jelType N/A regClass N/A N/A unjellyableRegistry get jelType N/A N/A regClass None N/A N/A N/A isinstance regClass ClassType N/A N/A inst N/A _Dummy N/A N/A inst __class__ regClass N/A method N/A inst unjellyFor N/A N/A N/A isinstance regClass type N/A N/A inst N/A N/A regClass __new__ regClass N/A method N/A inst unjellyFor N/A N/A method regClass N/A val N/A method self obj N/A N/A hasattr val postUnjelly N/A N/A N/A N/A N/A self postCallbacks append N/A inst postUnjelly N/A val N/A regFactory N/A N/A unjellyableFactoryRegistry get jelType N/A N/A regFactory None N/A N/A state N/A N/A self unjelly N/A obj N/A 1 N/A inst N/A regFactory state N/A N/A hasattr inst postUnjelly N/A N/A N/A N/A N/A self postCallbacks append N/A inst postUnjelly N/A inst N/A thunk N/A getattr self N/A _unjelly_%s jelType None N/A N/A thunk None N/A N/A ret N/A thunk N/A obj N/A 1 N/A N/A nameSplit N/A N/A jelType split . N/A modName N/A N/A . join N/A nameSplit N/A -1 N/A N/A N/A N/A N/A self taster isModuleAllowed modName N/A N/A N/A InsecureJelly N/A Module %s not allowed (in type %s). N/A modName jelType N/A clz N/A namedObject jelType N/A N/A N/A N/A N/A self taster isClassAllowed clz N/A N/A N/A InsecureJelly N/A Class %s not allowed. jelType N/A N/A hasattr clz __setstate__ N/A N/A ret N/A _newInstance clz N/A state N/A N/A self unjelly N/A obj N/A 1 N/A N/A N/A ret __setstate__ state N/A N/A state N/A N/A self unjelly N/A obj N/A 1 N/A ret N/A _newInstance clz state N/A N/A hasattr clz postUnjelly N/A N/A N/A N/A N/A self postCallbacks append N/A ret postUnjelly N/A ret N/A _unjelly_None N/A N/A self exp N/A N/A N/A None N/A _unjelly_unicode N/A N/A self exp N/A N/A N/A UnicodeType N/A N/A N/A unicode N/A exp N/A 0 UTF-8 N/A N/A N/A Unpersistable N/A Could not unpersist unicode: %s N/A N/A exp N/A 0 N/A _unjelly_decimal N/A N/A self exp N/A N/A N/A 
        Unjelly decimal objects, if decimal is available. If not, return a
        L{Unpersistable} object instead.
         N/A N/A decimal None N/A N/A N/A Unpersistable N/A Could not unpersist decimal: %s N/A N/A N/A exp N/A 0 N/A 10 N/A exp N/A 1 N/A value N/A exp N/A 0 N/A exponent N/A exp N/A 1 N/A N/A value 0 N/A N/A sign 1 N/A N/A sign 0 N/A guts N/A N/A N/A N/A N/A decimal Decimal value as_tuple N/A 1 N/A N/A N/A decimal Decimal N/A sign guts exponent N/A _unjelly_boolean N/A N/A self exp N/A N/A N/A BooleanType N/A N/A N/A N/A exp N/A 0 N/A true false N/A N/A N/A exp N/A 0 true N/A N/A N/A Unpersistable N/A Could not unpersist boolean: %s N/A N/A exp N/A 0 N/A _unjelly_datetime N/A N/A self exp N/A N/A N/A N/A N/A datetime datetime N/A map int N/A N/A N/A exp N/A 0 split N/A _unjelly_date N/A N/A self exp N/A N/A N/A N/A N/A datetime date N/A map int N/A N/A N/A exp N/A 0 split N/A _unjelly_time N/A N/A self exp N/A N/A N/A N/A N/A datetime time N/A map int N/A N/A N/A exp N/A 0 split N/A _unjelly_timedelta N/A N/A self exp N/A N/A N/A N/A days seconds microseconds N/A map int N/A N/A N/A exp N/A 0 split N/A N/A N/A datetime timedelta days days seconds seconds microseconds microseconds N/A unjellyInto N/A N/A self obj loc jel N/A N/A N/A o N/A N/A self unjelly jel N/A N/A isinstance o NotKnown N/A N/A N/A N/A o addDependant obj loc N/A N/A obj N/A loc o N/A o N/A _unjelly_dereference N/A N/A self lst N/A N/A N/A refid N/A lst N/A 0 N/A x N/A N/A N/A self references get refid N/A N/A x None N/A N/A x N/A der N/A _Dereference refid N/A N/A N/A self references N/A refid der N/A der N/A _unjelly_reference N/A N/A self lst N/A N/A N/A refid N/A lst N/A 0 N/A exp N/A lst N/A 1 N/A o N/A N/A self unjelly exp N/A ref N/A N/A N/A self references get refid N/A N/A ref None N/A N/A N/A N/A self references N/A refid o N/A N/A N/A isinstance ref NotKnown N/A N/A N/A N/A ref resolveDependants o N/A N/A N/A self references N/A refid o N/A N/A 0 Multiple references with same ID! N/A o N/A _unjelly_tuple N/A N/A self lst N/A N/A N/A l N/A range N/A len lst N/A finished 1 N/A elem l N/A N/A N/A isinstance N/A N/A self unjellyInto l elem N/A lst N/A elem NotKnown N/A N/A finished 0 N/A finished N/A N/A N/A tuple l N/A N/A N/A _Tuple l N/A _unjelly_list N/A N/A self lst N/A N/A N/A l N/A range N/A len lst N/A elem l N/A N/A N/A N/A self unjellyInto l elem N/A lst N/A elem N/A l N/A _unjellySetOrFrozenset N/A N/A self lst containerType N/A N/A N/A 
        Helper method to unjelly set or frozenset.

        @param lst: the content of the set.
        @type lst: C{list}

        @param containerType: the type of C{set} to use.
         N/A l N/A range N/A len lst N/A finished True N/A elem l N/A N/A data N/A N/A self unjellyInto l elem N/A lst N/A elem N/A N/A isinstance data NotKnown N/A N/A finished False N/A N/A finished N/A N/A N/A _Container l containerType N/A N/A N/A containerType l N/A _unjelly_set N/A N/A self lst N/A N/A N/A 
        Unjelly set using either the C{set} builtin if available, or
        C{sets.Set} as fallback.
         N/A N/A _set None N/A N/A containerType set N/A N/A containerType N/A _sets Set N/A N/A N/A self _unjellySetOrFrozenset lst containerType N/A _unjelly_frozenset N/A N/A self lst N/A N/A N/A 
        Unjelly frozenset using either the C{frozenset} builtin if available,
        or C{sets.ImmutableSet} as fallback.
         N/A N/A _set None N/A N/A containerType frozenset N/A N/A containerType N/A _sets ImmutableSet N/A N/A N/A self _unjellySetOrFrozenset lst containerType N/A _unjelly_dictionary N/A N/A self lst N/A N/A N/A d N/A N/A N/A k v lst N/A N/A kvd N/A _DictKeyAndValue d N/A N/A N/A self unjellyInto kvd 0 k N/A N/A N/A self unjellyInto kvd 1 v N/A d N/A _unjelly_module N/A N/A self rest N/A N/A N/A moduleName N/A rest N/A 0 N/A N/A N/A type moduleName N/A types StringType N/A N/A N/A InsecureJelly Attempted to unjelly a module with a non-string name. N/A N/A N/A N/A N/A self taster isModuleAllowed moduleName N/A N/A N/A InsecureJelly N/A Attempted to unjelly module named %r N/A moduleName N/A mod N/A __import__ moduleName N/A N/A x N/A mod N/A _unjelly_class N/A N/A self rest N/A N/A N/A clist N/A N/A N/A rest N/A 0 split . N/A modName N/A N/A . join N/A clist N/A -1 N/A N/A N/A N/A N/A self taster isModuleAllowed modName N/A N/A N/A InsecureJelly N/A module %s not allowed modName N/A klaus N/A namedObject N/A rest N/A 0 N/A objType N/A type klaus N/A N/A objType N/A N/A types ClassType N/A types TypeType N/A N/A N/A InsecureJelly N/A class %r unjellied to something that isn't a class: %r N/A N/A rest N/A 0 klaus N/A N/A N/A N/A N/A self taster isClassAllowed klaus N/A N/A N/A InsecureJelly N/A class not allowed: %s N/A qual klaus N/A klaus N/A _unjelly_function N/A N/A self rest N/A N/A N/A modSplit N/A N/A N/A rest N/A 0 split . N/A modName N/A N/A . join N/A modSplit N/A -1 N/A N/A N/A N/A N/A self taster isModuleAllowed modName N/A N/A N/A InsecureJelly N/A Module not allowed: %s modName N/A function N/A namedObject N/A rest N/A 0 N/A function N/A _unjelly_persistent N/A N/A self rest N/A N/A N/A N/A self persistentLoad N/A N/A pload N/A N/A self persistentLoad N/A rest N/A 0 self N/A pload N/A N/A N/A Unpersistable Persistent callback not found N/A _unjelly_instance N/A N/A self rest N/A N/A N/A clz N/A N/A self unjelly N/A rest N/A 0 N/A N/A N/A type clz N/A types ClassType N/A N/A N/A InsecureJelly Instance found with non-class class. N/A N/A hasattr clz __setstate__ N/A N/A inst N/A _newInstance clz N/A N/A state N/A N/A self unjelly N/A rest N/A 1 N/A N/A N/A inst __setstate__ state N/A N/A state N/A N/A self unjelly N/A rest N/A 1 N/A inst N/A _newInstance clz state N/A N/A hasattr clz postUnjelly N/A N/A N/A N/A N/A self postCallbacks append N/A inst postUnjelly N/A inst N/A _unjelly_unpersistable N/A N/A self rest N/A N/A N/A N/A Unpersistable N/A Unpersistable data: %s N/A N/A rest N/A 0 N/A _unjelly_method N/A N/A self rest N/A N/A N/A 
        (internal) Unjelly a method.
         N/A im_name N/A rest N/A 0 N/A im_self N/A N/A self unjelly N/A rest N/A 1 N/A im_class N/A N/A self unjelly N/A rest N/A 2 N/A N/A N/A type im_class N/A types ClassType N/A N/A N/A InsecureJelly Method found with non-class class. N/A N/A im_name N/A im_class __dict__ N/A N/A N/A im_self None N/A N/A im N/A getattr im_class im_name N/A N/A N/A isinstance im_self NotKnown N/A N/A im N/A _InstanceMethod im_name im_self im_class N/A N/A im N/A MethodType N/A N/A im_class __dict__ N/A im_name im_self im_class N/A N/A N/A TypeError instance method changed N/A im N/A N/A _Dummy N/A N/A N/A 
    (Internal) Dummy class, used for unserializing instances.
     N/A _DummyNewStyle N/A object N/A N/A 
    (Internal) Dummy class, used for unserializing instances of new-style
    classes.
     N/A _newDummyLike N/A N/A instance N/A N/A N/A 
    Create a new instance like C{instance}.

    The new instance has the same class and instance dictionary as the given
    instance.

    @return: The new instance.
     N/A N/A isinstance N/A instance __class__ type N/A N/A dummy N/A _DummyNewStyle N/A N/A dummy N/A _Dummy N/A N/A dummy __class__ N/A instance __class__ N/A N/A dummy __dict__ N/A instance __dict__ N/A dummy N/A InsecureJelly N/A Exception N/A N/A 
    This exception will be raised when a jelly is deemed `insecure'; e.g. it
    contains a type, class, or module disallowed by the specified `taster'
     N/A DummySecurityOptions N/A N/A N/A 
    DummySecurityOptions() -> insecure security options
    Dummy security options -- this class will allow anything.
     isModuleAllowed N/A N/A self moduleName N/A N/A N/A 
        DummySecurityOptions.isModuleAllowed(moduleName) -> boolean
        returns 1 if a module by that name is allowed, 0 otherwise
         N/A 1 N/A isClassAllowed N/A N/A self klass N/A N/A N/A 
        DummySecurityOptions.isClassAllowed(class) -> boolean
        Assumes the module has already been allowed.  Returns 1 if the given
        class is allowed, 0 otherwise.
         N/A 1 N/A isTypeAllowed N/A N/A self typeName N/A N/A N/A 
        DummySecurityOptions.isTypeAllowed(typeName) -> boolean
        Returns 1 if the given type is allowed, 0 otherwise.
         N/A 1 N/A N/A SecurityOptions N/A N/A N/A 
    This will by default disallow everything, except for 'none'.
     N/A basicTypes N/A dictionary list tuple reference dereference unpersistable persistent long_int long dict __init__ N/A N/A self N/A N/A N/A 
        SecurityOptions() initialize.
         N/A N/A self allowedTypes N/A None bool boolean string str int float datetime time date timedelta NoneType 1 1 1 1 1 1 1 1 1 1 1 1 N/A N/A hasattr types UnicodeType N/A N/A N/A N/A self allowedTypes N/A unicode 1 N/A N/A decimal None N/A N/A N/A N/A self allowedTypes N/A decimal 1 N/A N/A N/A self allowedTypes N/A set 1 N/A N/A N/A self allowedTypes N/A frozenset 1 N/A N/A self allowedModules N/A N/A N/A self allowedClasses N/A N/A allowBasicTypes N/A N/A self N/A N/A N/A 
        Allow all `basic' types.  (Dictionary and list.  Int, string, and float
        are implicitly allowed.)
         N/A N/A N/A self allowTypes N/A self basicTypes N/A allowTypes N/A N/A self N/A types N/A N/A 
        SecurityOptions.allowTypes(typeString): Allow a particular type, by its
        name.
         N/A typ types N/A N/A N/A N/A isinstance typ str N/A N/A typ N/A qual typ N/A N/A N/A self allowedTypes N/A typ 1 N/A allowInstancesOf N/A N/A self N/A classes N/A N/A 
        SecurityOptions.allowInstances(klass, klass, ...): allow instances
        of the specified classes

        This will also allow the 'instance', 'class' (renamed 'classobj' in
        Python 2.3), and 'module' types, as well as basic types.
         N/A N/A N/A self allowBasicTypes N/A N/A N/A self allowTypes instance class classobj module N/A klass classes N/A N/A N/A N/A self allowTypes N/A qual klass N/A N/A N/A self allowModules N/A klass __module__ N/A N/A N/A self allowedClasses N/A klass 1 N/A allowModules N/A N/A self N/A modules N/A N/A 
        SecurityOptions.allowModules(module, module, ...): allow modules by
        name. This will also allow the 'module' type.
         N/A module modules N/A N/A N/A N/A type module N/A types ModuleType N/A N/A module N/A module __name__ N/A N/A N/A self allowedModules N/A module 1 N/A isModuleAllowed N/A N/A self moduleName N/A N/A N/A 
        SecurityOptions.isModuleAllowed(moduleName) -> boolean
        returns 1 if a module by that name is allowed, 0 otherwise
         N/A N/A moduleName N/A self allowedModules N/A isClassAllowed N/A N/A self klass N/A N/A N/A 
        SecurityOptions.isClassAllowed(class) -> boolean
        Assumes the module has already been allowed.  Returns 1 if the given
        class is allowed, 0 otherwise.
         N/A N/A klass N/A self allowedClasses N/A isTypeAllowed N/A N/A self typeName N/A N/A N/A 
        SecurityOptions.isTypeAllowed(typeName) -> boolean
        Returns 1 if the given type is allowed, 0 otherwise.
         N/A N/A N/A typeName N/A self allowedTypes N/A . typeName N/A N/A N/A globalSecurity N/A SecurityOptions N/A N/A N/A globalSecurity allowBasicTypes jelly N/A N/A object taster persistentStore invoker N/A N/A DummySecurityOptions None None N/A N/A 
    Serialize to s-expression.

    Returns a list which is the serialized representation of an object.  An
    optional 'taster' argument takes a SecurityOptions and will mark any
    insecure objects as unpersistable rather than serializing them.
     N/A N/A N/A N/A _Jellier taster persistentStore invoker jelly object N/A unjelly N/A N/A sexp taster persistentLoad invoker N/A N/A DummySecurityOptions None None N/A N/A 
    Unserialize from s-expression.

    Takes an list that was the result from a call to jelly() and unserializes
    an arbitrary object from it.  The optional 'taster' argument, an instance
    of SecurityOptions, will cause an InsecureJelly exception to be raised if a
    disallowed type, module, or class attempted to unserialize.
     N/A N/A N/A N/A _Unjellier taster persistentLoad invoker unjellyFull sexp N/A