Module Expr Str ImportFrom alias identifier Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Pass orelse FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Expr Call NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore BinOpLShift Num Num FunctionDef arguments args NameParam NameParam defaults body Assert CompareLt NameLoad Num For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot BinOpBitAnd AttributeLoad NameLoad attr NameLoad body Break orelse Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Raise NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If Call NameLoad NameLoad Str NameLoad body Raise Call NameLoad Str TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad If NameLoad body Return TupleLoad NameLoad NameLoad NameLoad orelse Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore ListLoad If UnaryOpNot Call NameLoad NameLoad Str body Pass orelse For NameStore AttributeLoad NameLoad attr body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad For NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body Continue orelse If BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If UnaryOpNot CompareLtELtE Num NameLoad Num body Raise NameLoad Str Assign NameStore TupleLoad NameLoad NameLoad If BoolOpAnd CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad body Return If CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore TupleLoad NameLoad NameLoad If BoolOpOr CompareNotEq Call AttributeLoad NameLoad attr NameLoad NameLoad CompareNotEq Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Delete SubscriptDel NameLoad Index NameLoad Delete SubscriptDel NameLoad Index NameLoad If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A Helper to provide extensibility for pickle/cPickle.

This is only useful to add pickle support for extension types defined in
C, not for instances of user-defined classes.
 types ClassType _ClassType N/A __all__ N/A pickle constructor add_extension remove_extension clear_extension_cache N/A dispatch_table N/A pickle N/A N/A ob_type pickle_function constructor_ob N/A None N/A N/A N/A N/A type ob_type _ClassType N/A N/A N/A TypeError copy_reg is not intended for use with classes N/A N/A N/A hasattr pickle_function __call__ N/A N/A N/A TypeError reduction functions must be callable N/A N/A dispatch_table N/A ob_type pickle_function N/A N/A constructor_ob None N/A N/A N/A constructor constructor_ob N/A constructor N/A N/A object N/A N/A N/A N/A N/A hasattr object __call__ N/A N/A N/A TypeError constructors must be callable N/A N/A N/A N/A complex N/A N/A N/A NameError N/A N/A N/A pickle_complex N/A N/A c N/A N/A N/A N/A complex N/A N/A c real N/A c imag N/A N/A N/A pickle complex pickle_complex complex _reconstructor N/A N/A cls base state N/A N/A N/A N/A base object N/A N/A obj N/A N/A object __new__ cls N/A N/A obj N/A N/A base __new__ cls state N/A N/A N/A base __init__ N/A object __init__ N/A N/A N/A N/A base __init__ obj state N/A obj N/A N/A _HEAPTYPE N/A 1 9 _reduce_ex N/A N/A self proto N/A N/A N/A N/A proto 2 N/A base N/A N/A self __class__ __mro__ N/A N/A N/A N/A hasattr base __flags__ N/A N/A N/A base __flags__ _HEAPTYPE N/A N/A N/A N/A base object N/A N/A base object N/A N/A state None N/A N/A N/A base N/A self __class__ N/A N/A TypeError N/A can't pickle %s objects N/A base __name__ N/A state N/A base self N/A args N/A N/A self __class__ base state N/A N/A N/A getstate N/A self __getstate__ N/A N/A N/A AttributeError N/A N/A N/A getattr self __slots__ None N/A N/A N/A TypeError a class that defines __slots__ without defining __getstate__ cannot be pickled N/A N/A N/A dict N/A self __dict__ N/A N/A N/A AttributeError N/A N/A dict None N/A N/A dict N/A getstate N/A dict N/A N/A N/A _reconstructor args dict N/A N/A N/A _reconstructor args N/A __newobj__ N/A N/A cls N/A args N/A N/A N/A N/A cls __new__ cls args N/A _slotnames N/A N/A cls N/A N/A N/A Return a list of slot names for a given class.

    This needs to find slots defined by the class and its bases, so we
    can't simply return the __slots__ attribute.  We must walk down
    the Method Resolution Order and concatenate the __slots__ of each
    class found there.  (This assumes classes don't modify their
    __slots__ attribute to misrepresent their slots after the class is
    defined.)
     N/A names N/A N/A N/A cls __dict__ get __slotnames__ N/A N/A names None N/A N/A names N/A names N/A N/A N/A N/A hasattr cls __slots__ N/A N/A N/A N/A c N/A cls __mro__ N/A N/A N/A __slots__ N/A c __dict__ N/A N/A slots N/A N/A c __dict__ N/A __slots__ N/A N/A isinstance slots basestring N/A N/A slots N/A slots N/A name slots N/A N/A N/A name N/A __dict__ __weakref__ N/A N/A N/A N/A N/A N/A N/A name startswith __ N/A N/A N/A name endswith __ N/A N/A N/A N/A names append N/A _%s%s N/A N/A c __name__ name N/A N/A N/A N/A names append name N/A N/A N/A N/A cls __slotnames__ names N/A N/A N/A N/A N/A names N/A N/A _extension_registry N/A N/A _inverted_registry N/A N/A _extension_cache N/A add_extension N/A N/A module name code N/A N/A N/A Register an extension code. N/A code N/A int code N/A N/A N/A 1 code 2147483647 N/A N/A ValueError code out of range N/A key N/A module name N/A N/A N/A N/A N/A _extension_registry get key code N/A N/A N/A _inverted_registry get code key N/A N/A N/A N/A key _extension_registry N/A N/A N/A ValueError N/A key %s is already registered with code %s N/A key N/A _extension_registry N/A key N/A N/A code _inverted_registry N/A N/A N/A ValueError N/A code %s is already in use for key %s N/A code N/A _inverted_registry N/A code N/A N/A _extension_registry N/A key code N/A N/A _inverted_registry N/A code key N/A remove_extension N/A N/A module name code N/A N/A N/A Unregister an extension code.  For testing only. N/A key N/A module name N/A N/A N/A N/A N/A _extension_registry get key code N/A N/A N/A _inverted_registry get code key N/A N/A N/A ValueError N/A key %s is not registered with code %s N/A key code N/A N/A _extension_registry N/A key N/A N/A _inverted_registry N/A code N/A N/A code _extension_cache N/A N/A N/A _extension_cache N/A code N/A clear_extension_cache N/A N/A N/A N/A N/A N/A N/A _extension_cache clear N/A