copy_reg
index
/usr/lib/python2.2/copy_reg.py

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.

 
Functions
            
_reconstructor(cls, base, state)
_reduce(self)
constructor(object)
pickle(ob_type, pickle_function, constructor_ob=None)
pickle_complex(c)
 
Data
             _HEAPTYPE = 512
__all__ = ['pickle', 'constructor']
__file__ = '/usr/lib/python2.2/copy_reg.pyc'
__name__ = 'copy_reg'
dispatch_table = {<type '_sre.SRE_Pattern'>: <function _pickle>, <type 'complex'>: <function pickle_complex>, <type 'parser.st'>: <built-in function _pickler>}
safe_constructors = {<built-in function sequence2st>: 1, <function _compile>: 1, <type 'complex'>: 1}