def register_pickle():
 def pickle_dumps(obj, dumper=pickle.dumps):
  return dumper(obj, protocol=pickle_protocol)
 registry.register('pickle', pickle_dumps, unpickle, content_type='application/x-python-serialize', content_encoding='binary')

def register_pickle ( ) : def pickle_dumps ( obj , dumper = pickle . dumps ) : return dumper ( obj , protocol = pickle_protocol ) registry . register ( 'pickle' , pickle_dumps , unpickle , content_type = 'application/x-python-serialize' , content_encoding = 'binary' )
the fastest serialization method .