copy_reg
index
/usr/local/lib/python2.3/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
       
__newobj__(cls, *args)
add_extension(module, name, code)
Register an extension code.
clear_extension_cache()
constructor(object)
pickle(ob_type, pickle_function, constructor_ob=None)
pickle_complex(c)
remove_extension(module, name, code)
Unregister an extension code.  For testing only.

 
Data
        __all__ = ['pickle', 'constructor', 'add_extension', 'remove_extension', 'clear_extension_cache']
dispatch_table = {<type 'code'>: <function pickle_code>, <type '_sre.SRE_Pattern'>: <function _pickle>, <type 'complex'>: <function pickle_complex>, <type 'posix.stat_result'>: <function _pickle_stat_result>, <type 'posix.statvfs_result'>: <function _pickle_statvfs_result>, <type 'parser.st'>: <built-in function _pickler>}